Ansicht
Dokumentation

ABAPDERIVED_TYPES_PATH - DERIVED TYPES PATH

ABAPDERIVED_TYPES_PATH - DERIVED TYPES PATH

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

%path

%path is a component of BDEF derived types. It is used as a component of the reported response parameter.

%path can only be used for child entities. The component maps a child entity to its parent. If there is a business object with multiple child entities, %path is extended to map the child entity to its parent and the business object root. The component must be filled for all child entities of a root entity to explicitly map child entities to the parents.

Type

Structure whose components are nested structures named according to the child entities. The components of these structures are %key and, if relevant and depending on the context, other % components like %pid.

  • REPORTED [EARLY$|LATE]

See more details on message handling in the Development Guide for the ABAP RESTful Application Programming Model, section Messages.

Example

The following source code section taken from the BP_DEMO_MANAGED_ROOT_REPORTED=CCIMP of the global class of the behavior pool BP_DEMO_MANAGED_ROOT_REPORTED demonstrates the component %path in the context of a method implementation for a validation that checks field values of RAP BO instances before saving. See the executable program for this example further down.

The example Example for Message-Related BDEF Derived Type Components demonstrates the use of various BDEF derived type components including %path with a managed RAP BO.






CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2679 Date: 20240419 Time: 123208     sap01-206 ( 42 ms )