Ansicht
Dokumentation
ABAPMODIFY_ENTITIES_LONG - MODIFY ENTITIES LONG
Addresses (Business Address Services) RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
MODIFY ENTITIES, Long Form
MODIFY ENTITIES OF bdef $[IN LOCAL MODE$|PRIVILEGED$]
ENTITY bdef1 operations
$[ENTITY bdef2 operations$]
$[...$]
$[response_param$].
Additions
1. ... IN LOCAL MODE
2. ... PRIVILEGED
3. ... response_param.
Effect
The long form of the MODIFY statement is used for executing multiple modify operations (operations) on multiple entities of a RAP BO. However, it can also be used for a single operation on a single RAP BO.
bdef must be a root entity followed by a list of operations grouped by individual entities. bdef1, bdef2, and so on, must be entities contained in the composition tree of the root entity bdef. If specified in the BDEF, alias names should be used for bdef1, bdef2, and so on. The root entity itself can also be inserted in the position of bdef1, for example. Each part of the list of operations specified after MODIFY ENTITIES OF bdef has the same syntax as the short form. At least one entry (ENTITY bdef/bdef1/... with an operation) must be specified. The same entity can be specified after ENTITY repeatedly, however, the same operation in that combination is allowed only once.
Note
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_MODIFY
demonstrates an EML MODIFY ENTITIES OF statement that includes CREATE, UPDATE and create-by-association operations.
Example
The root entity name in the position of the first statement, MODIFY ENTITIES OF bdef, must be the full entity name. bdef1, and so on, should be the entity alias names if provided in the BDEF. Using the full entity name will cause a warning. If the root entity is used in the list of operations, its alias name, if defined in the BDEF, should be used as well.
For example, an alias name is specified for root and child entity as in the BDEF
DEMO_RAP_MANAGED_GROUP. A statement with MODIFY ENTITIES OF could be as follows:
- The example - MODIFY, Variants demonstrates this MODIFY variant with a simple managed RAP BO.
- For more examples on MODIFY operations in general, see Examples for ABAP EML MODIFY.
rdisp/max_wprun_time - Maximum work process run time Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 4459 Date: 20240420 Time: 053711 sap01-206 ( 58 ms )