Ansicht
Dokumentation

ABAPEML_FIELDS_TAB - EML FIELDS TAB

ABAPEML_FIELDS_TAB - EML FIELDS TAB

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

- fields_tab

Internal table that is typed with the required BDEF derived type (TYPE TABLE FOR ...) containing specific components for the communication between a RAP BO provider and RAP BO consumer. The components are determined by the context in which the internal table is used, i. e. the use and number of the components of the internal table to be specified, for example, for a delete or create operation differ. See the details of the type (TYPE TABLE FOR) and components (Components of Derived Types) in the respective documentation.

The internal table can be constructed in an operand position using constructor expressions, for example with the value operator (VALUE) and other constructor operators to fill the internal table with instances as input parameters after the respective keyword (for example, FROM).

Notes

  • If a field of a parent or child entity is marked as readonly in the BDEF, it cannot be changed and assigned a new value with any of the modify operations. A modification can only be done using the addition IN LOCAL MODE. See more details in the documentation for IN LOCAL MODE.

Example

The following code example shows an internal table that is explicitly declared with a BDEF derived type. It is then used in a MODIFY statement (assuming that create_root contains values). This is also true for the second example. Yet, the internal table following the statement CREATE SET FIELDS WITH is declared inline using the value operator.

...
DATA create_root TYPE TABLE FOR CREATE demo_managed_root.
MODIFY ENTITY demo_managed_root
    CREATE SET FIELDS WITH create_root.
...
MODIFY ENTITY demo_managed_root
    CREATE SET FIELDS WITH VALUE
      #( ( %cid = 'cid1' key_field = '1' data_field1_root = 'aaa'
           data_field2_root = 'bbb')
         ( %cid = 'cid2' key_field = '2' data_field1_root = 'ccc'
           data_field2_root = 'ddd')
       ).
...






TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3413 Date: 20240616 Time: 121551     sap01-206 ( 50 ms )