SAP HANDLER METH DET ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• FOR DETERMINE ON MODIFY METHODS
• FOR DETERMINE ON SAVE METHODS

FOR DETERMINE, RAP Handler Method

ABAP_SYNTAX
Handler method definition:
METHODS meth $[ FINAL$]
FOR DETERMINE ON ${ SAVE $| MODIFY $}
$[ IMPORTING$] ${ REFERENCE (im_par_det) $| im_par_det $}
FOR bdef~det
$[CHANGING reported TYPE data $] .

ABAP_VARIANTS:
1 ... SAVE ...
2 ... MODIFY ...

What does it do?
Handler methods that are used for determinations. They 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. det is the name of a determination specified in the BDEF.

Method Parameters
IMPORTING parameter:
im_par_det: Includes the keys of RAP BO instances for which a determination should be executed. It is an internal table of type TYPE TABLE FOR DETERMINATION.
The parameter can also be passed by reference (see REFERENCE). The use of the ABAP word IMPORTING is optional.
CHANGING parameter: