Ansicht
Dokumentation

ABAPDERIVED_TYPES_PRE - DERIVED TYPES PRE

ABAPDERIVED_TYPES_PRE - DERIVED TYPES PRE

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

%pre

%pre is a component group in BDEF derived types. It contains %tmp and %pid as components and is used in the RAP save sequence within the adjust_numbers method. The component group is only available in late numbering scenarios and relevant for the mapped parameter to map preliminary to final key values or assign final key values to %key respectively.

Use of keys and RAP BO instance identifiers in a nutshell

  • MAPPED LATE

Example

The following source code section taken from the BP_DEMO_UMANAGED_ROOT_LATE_NU3CCIMP of the global class of the behavior pool BP_DEMO_UMANAGED_ROOT_LATE_NU3 demonstrates the component %pre in the context of an adjust_numbers method that is responsible for assigning the final keys. See the executable program for this example further down.

...
APPEND VALUE #( %pre = VALUE #( %pid = <fs>-pid
                                %tmp-key_field = <fs>-tmp_key )
                %key-key_field = final_key
              ) TO mapped-demo_umanaged_root_late_num3.
...

The example Using %pre / %tmp demonstrates the use of %pre with an unmanaged RAP BO in a late numbering scenario.






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

Length: 3186 Date: 20240614 Time: 055506     sap01-206 ( 42 ms )