Ansicht
Dokumentation
ABAPDERIVED_TYPES_TMP - DERIVED TYPES TMP
General Material Data PERFORM Short ReferenceThis documentation is copyright by SAP AG.
%tmp
%tmp is a component group in BDEF derived types. It contains the preliminary key values and is used in the RAP save sequence within the adjust_numbers method and, thus, only available in late numbering scenarios. It is relevant for the mapped parameter to map preliminary to final key values in %key, especially in case %key is used to contain preliminary keys instead of %pid during the RAP interaction phase.
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 %tmp in the context of an adjust_numbers method that assigns 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 %tmp with an unmanaged RAP BO in a late numbering scenario.
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 3315 Date: 20240427 Time: 032902 sap01-206 ( 41 ms )