Ansicht
Dokumentation

ABAPREAD_ENTITY_SHORT - READ ENTITY SHORT

ABAPREAD_ENTITY_SHORT - READ ENTITY SHORT

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

READ ENTITY, Short Form

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

Additions

1. ... IN LOCAL MODE ...

2. ... PRIVILEGED ...

3. ... response_param.

Effect

The short form of the READ statement is used for read operations (operations) from a single RAP BO entity only. The entity name (bdef) can be specified directly, that is, reading from a child entity can also be done directly and not via the root entity of a RAP BO. In this case, bdef must be the full entity name and cannot be an alias name because the context of a RAP BO is unknown. It is possible to include all three read options in one operation per entity bdef: read operation, read-by-association operation and an operation executing a function, but only one of each kind within the same READ ENTITY statement.

Addition 1

... IN LOCAL MODE ...

Effect

Addition 2

... PRIVILEGED ...

Effect

Addition 3

... response_param.

Effect

Example

The following source code section taken from DEMO_RAP_EML_READ demonstrates an EML READ ENTITY statement.

  • The example - READ, Variants demonstrates this READ variant with a simple managed RAP BO.





rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3021 Date: 20240420 Time: 054609     sap01-206 ( 50 ms )