SAP HANDLER METH GLOBAL FEATURES ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• FOR GLOBAL FEATURES METHODS
• REQUEST FOR GLOBAL FEATURES
• RESULT FOR GLOBAL FEATURES

FOR GLOBAL FEATURES, RAP Handler Method

ABAP_SYNTAX
Handler method definition:
METHODS meth $[ FINAL$]
FOR GLOBAL FEATURES
$[ IMPORTING$] REQUEST ${ REFERENCE(req_gl_feat) $| req_gl_feat $}
FOR bdef
RESULT ${ REFERENCE (res_gl_feat) $| res_gl_feat $}
$[CHANGING reported TYPE data $] .

What does it do?
Handler method that is used for the global feature control of RAP BO entities. It must be defined and implemented in a handler class of an ABAP behavior pool. The method name meth can be chosen freely. bdef is the name or the alias of the BDEF.

Method Parameters
IMPORTING parameters:
req_gl_feat: Request parameter on which the information retrieval for global feature control is based on. It is a structure of type TYPE STRUCTURE FOR GLOBAL FEATURES REQUEST bdef.
The parameter can also be passed by reference (see REFERENCE). The use of the ABAP word IMPORTING is optional.
CHANGING parameters:
res_gl_feat: Used to store the result of the information retrieval. It is a structure of type TYPE STRUCTURE FOR GLOBAL FEATURES RESULT bdef. The parameter can also be passed by reference.