ABAP Keyword Documentation → ABAP − Reference → ABAP RESTful Programming Model → Entity Manipulation Language → ABAP EML - MODIFY ENTITIES
ABAP EML - MODIFY ENTITY
Other versions:
7.31 | 7.40 | 7.54
Syntax
MODIFY
ENTITY entity_name
CREATE FROM instance_create
CREATE BY \assoc_name FROM it_instance_cba
UPDATE FROM it_instance_u
DELETE FROM it_instance_d
EXECUTE action_name FROM it_instance_a
[RESULT it_result_a | DATA(result_action)]
[FAILED it_failed | DATA(it_failed)]
[MAPPED it_mapped | DATA(it_mapped)]
[REPORTED it_reported | DATA(it_reported)].
Effect
The short form MODIFY ENTITY is intended for the special case where only a single entity is operated on. In this case, access via the business object (the root entity root_name) is not necessary.
The following points apply for the syntax of the statement MODIFY ENTITY:
- The ENTITY entity_name is specified once.
- An alias of the entity cannot be used since no context of the business object is known.
- This is followed by a list of the change operations, grouped by entity (schema):
MODIFY ENTITY entity_name
operation
[operation ...]
For more information on syntax elements, see MODIFY ENTITIES.