Hi Gurus. Please check where is the error taking place. See code below:
DEFINITION OF THE INTERMEDIARY DATASET *
FIELD-GROUPS : HEADER, DATA,
When i run the program, I have a runtime error that says:
ABAP runtime errors INSERT_INTO_LOCKED_FIELD_GROUP
Occurred on 01/30/2008 at 18:11:55
With field groups, INSERT is not supported after EXTRACT.
The current ABAP/4 program "RFEBBECODA00 " had to be terminated because
one of the statements could not be executed.
This is probably due to an error in the ABAP/4 program.
The current ABAP/4 program "RFEBBECODA00 " uses field groups and
Extracts consist of records of different types where the structure
of each record type is described by a field group.
If there is a field group HEADER, this prefixes each record.
Although an extract dataset can contain different record types,
each individual record type must be consistent in its structure.
This means that you cannot modify a field group once the first
record of that type has been extracted.
This program attempts to place a new field "H-ACCNR" in the field group
after a record of type "IT_688" has been extracted.
Helpful answers will be rewarded.