Ansicht
Dokumentation

ABAPTYPE_RESPONSE_FOR - TYPE RESPONSE FOR

ABAPTYPE_RESPONSE_FOR - TYPE RESPONSE FOR

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

TYPE RESPONSE FOR

... RESPONSE FOR ${ FAILED
                 $| MAPPED
                 $| REPORTED
                   ${ $[EARLY $| LATE$] $}
                   bdef $} ...

Effect

ABAP type used to create a structured data type for specifying response parameters for statements to get information on failures (FAILED) and error messages (REPORTED), or to retrieve mapping information (MAPPED). All variants can be used together where possible. bdef is the BDEF name.

A variable typed with the respective structured data type represents a deep structure. The deep structure contains one internal table as nested component for each entity of the RAP BO (see the Further Information section further down). Therefore, all information on all entities of a RAP BO can be retrieved at once.

See further information and rules on response parameters in implementations of the RAP BO provider in the Development guide for the ABAP RESTful Application Programming Model, section General RAP BO Implementation Contract.

  • The example ABAP EML - TYPE RESPONSE FOR demonstrates the response parameters with a simple managed RAP BO. To show content for the responses, errors are intentionally produced in the context of an MODIFY statement trying to create new instances.
  • The example ABAP EML - Responses demonstrates the response parameters using modify operations to change a simple managed RAP BO.





General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.

Length: 2353 Date: 20240420 Time: 040227     sap01-206 ( 32 ms )