INSERT - Insert into a field group
Basic form
INSERT f1 f2 ... INTO fg.
Effect
Inserts one or more fields into the field group
fg (see FIELD-GROUPS ).
Notes
This basic form of INSERT is not a declarative,
but an operational, statement, i.e. it must be executed at runtime.
A field group can only accept global data objects, not data objects
which have been defined locally in a FORM or FUNCTION .
The actual data transport is performed by
EXTRACT .
As soon as the first dataset for a field group has been extracted
with EXTRACT , the field group can no longer
be extended with INSERT . The field group HEADER cannot be
extended at all after the first EXTRACT
(regardless of the field group).
Note
Runtime errors
-
EXTRACT_INSERT_LOCAL_DATA : Attempt to insert local data
objects into a field group.
-
INSERT_INTO_LOCKED_FIELD_GROUP : INSERT into field group
after records of this type had already been extracted with
EXTRACT .
Index
© SAP AG 1996