Ansicht
Dokumentation

ABAPMODIFY_ENTITIES_OPERATIONS_DYN - MODIFY ENTITIES OPERATIONS DYN

ABAPMODIFY_ENTITIES_OPERATIONS_DYN - MODIFY ENTITIES OPERATIONS DYN

Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

MODIFY ENTITIES OPERATIONS, Dynamic Form

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

Additions

1. ... IN LOCAL MODE ...

2. ... PRIVILEGED ...

3. ... response_param.

Effect

The dynamic version of the MODIFY ENTITIES statement executes multiple modify operations for multiple RAP BOs in one MODIFY statement.

op_tab must be a table of type ABP_BEHV_CHANGES_TAB. This table has specific components:

Component Details
op It is a mandatory component specifying the operation to be executed. It can be set with the defined constants, for example, op-m-create, of interface IF_ABAP_BEHV or just the predefined value for the operation in the interface, for example 'C' for a create operation (op = 'C').
entity_name It is a mandatory component and specifies the name of the BO entity for which the operation is executed. The name must be provided using capital letters.
sub_name Optional component. It is only relevant for specifying association names in case of create-by-association operations or for actions. The name must be provided using capital letters. In case of create-by-association operations, when using the constant if_abap_behv=>op-m-create_ba, the alias name for the association must be provided in uppercase.
instances It is a mandatory component specifying the instances in an internal table. The table is a reference variable with static type DATA.
request It is an optional component specifying an internal table for requests. The table is a reference variable with static type DATA.
results It is an optional component storing results of an action. The table is a reference variable with static type DATA.

Note

Addition 1

... IN LOCAL MODE

Effect

Addition 2

... PRIVILEGED ...

Effect

Addition 3

... response_param.

Effect

The addition response_param represents the response parameters that can be specified. Used in the context of the dynamic form of the statement, the parameters must be internal tables typed with ABP_BEHV_RESPONSE_TAB.

Example

The following source code section taken from DEMO_RAP_EML_MODIFY demonstrates an EML MODIFY ENTITIES OPERATIONS statement that includes CREATE, UPDATE and DELETE operations.

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





BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4994 Date: 20240418 Time: 092204     sap01-206 ( 66 ms )