Ansicht
Dokumentation

ABAPEML_RESPONSES_DYN - EML RESPONSES DYN

ABAPEML_RESPONSES_DYN - EML RESPONSES DYN

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

response_param, Dynamic Forms of Statements

... $[FAILED failed_resp$]
    $[MAPPED mapped_resp$]
    $[REPORTED reported_resp$] ...


Effect

Used to specify response parameters to get information on failures, mapping information and to send error messages. All variants can be used together where possible. In the context of the following dynamic forms of statements, the parameters failed_resp, mapped_resp and reported_resp after the respective ABAP word must be an internal table typed with ABP_BEHV_RESPONSE_TAB:

The internal table can be constructed inline using the declaration operators DATA and FINAL. It contains deep structures of type ABP_BEHV_RESPONSE for each entity for which entries are available in the response. These structures include the following components:

Component Details Type
root_name Specifies the name of the root entity of entity entity_name for which entries are available in the response. ABP_ROOT_ENTITY_NAME
entity_name Specifies the entity's name for which entries are available in the response. This can be the root entity or associated and child entities of the root entity. ABP_ENTITY_NAME
entries Internal table containing the entries for which information is available. REF TO DATA

Notes

  • If an instance is already locked in parallel in the context of a SET LOCKS statement, information with the cause of a failure, IF_ABAP_BHEV-LOCKED, is returned in the FAILED response parameter of SET LOCKS. See the interface IF_ABAP_BEHV.

The example ABAP EML - Responses (Dynamic Forms of ABAP EML Statements demonstrates the response parameters with the dynamic forms of read and modify operations in the context of a simple managed RAP BO.






CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.

Length: 3785 Date: 20240419 Time: 133425     sap01-206 ( 47 ms )