Ansicht
Dokumentation

ABAPREAD_ENTITY_ENTITIES - READ ENTITY ENTITIES

ABAPREAD_ENTITY_ENTITIES - READ ENTITY ENTITIES

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

READ ENTITY, ENTITIES

READ ENTITY, Short Form

1. READ ENTITY $[IN LOCAL MODE$|PRIVILEGED$] bdef operations $[response_param$].

READ ENTITIES, Long Form

2. READ ENTITIES OF bdef$[IN LOCAL MODE$|PRIVILEGED$]
         ENTITY bdef1 operations
        $[ENTITY bdef2 operations$]
        $[...$]
        $[response_param$].


READ ENTITIES OPERATIONS, Dynamic Form

3. READ ENTITIES $[IN LOCAL MODE$| PRIVILEGED$] OPERATIONS op_tab $[response_param$].

Effect

Used to perform read-only operations on RAP BO instances. Read operations always return a result and can be carried out on RAP BO entities by default (excluding the implementation type abstract) provided that the entities are part of a behavior definition after a declaration with define behavior for.

The following variants of the READ statement can be used to read from RAP BO entities:

The short form of the READ statement allows reading multiple instances of a single entity.
The long form of the READ statement allows reading multiple instances of multiple entities.
The dynamic form of the READ statement allows collecting multiple instances to be read in multiple entities in one READ statement.

Note

is used to read RAP BO node instances. From a RAP BO consumer perspective, the returned data of read operations include the current transactional image, i. e. the currently persisted values in the database and, additionally, the still unsaved changes from the current LUW.

  • The example - READ, Variants demonstrates the different variants with a simple managed RAP BO.





General Data in Customer Master   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4422 Date: 20240419 Time: 130416     sap01-206 ( 27 ms )