Ansicht
Dokumentation

ABAPHANDLER_METH_NUMBERING - HANDLER METH NUMBERING

ABAPHANDLER_METH_NUMBERING - HANDLER METH NUMBERING

Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

FOR NUMBERING

Handler method definition:

METHODS meth $[FINAL$]
   FOR NUMBERING
   $[IMPORTING$] ${ REFERENCE(im_par_num) $| im_par_num $}
   FOR CREATE bdef
   $[CHANGING ${ $[failed TYPE data$] $[reported TYPE data$] $[mapped TYPE data$] $}$].


Effect

Handler method that is used for the early numbering. 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

  • im_par_num: Includes RAP BO instances for which early numbering should be executed. It is an internal table of type TYPE TABLE FOR CREATE. The parameter can also be passed by reference (see REFERENCE).

  • The CHANGING parameters failed, reported and mapped are implicitly available. They are used to return information on failures, messages or mapping information. It is possible to specify the parameters with the predefined names failed, reported and mapped explicitly following the ABAP word CHANGING. In this case, the generic type DATA is used. At runtime, the typed parameters implicitly have the BDEF derived type TYPE RESPONSE FOR.

BDEF Requirements

See the required BDEF notations for both variants in the topic CDS BDL - early numbering.

Examples

Example for a RAP handler method definition. Find demonstrations of method implementations in the executable examples further down.

METHODS earlynumbering_create FOR NUMBERING
    IMPORTING entities FOR CREATE bdef.

Example for RAP Handler Methods: Demonstrates this RAP handler method within a RAP handler class using a simple unmanaged RAP BO that is draft-enabled.






ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 4517 Date: 20240623 Time: 201835     sap01-206 ( 53 ms )