What does an extract statement do in the ABAP program?
Answer Posted / tech3
Once you have declared the possible record types as field
groups and defined their structure, you can fill the extract
dataset using the following statements: EXTRACT. When the
first EXTRACT statement occurs in a program, the system
creates the extract dataset and adds the first extract
record to it. In each subsequent EXTRACT statement, the new
extract record is added to the dataset EXTRACT HEADER. When
you extract the data, the record is filled with the current
values of the corresponding fields. As soon as the system
has processed the first EXTRACT statement for a field group
, the structure of the corresponding extract record in the
extract dataset is fixed. You can no longer insert new
fields into the field groups and HEADER. If you try to
modify one of the field groups afterwards and use it in
another EXTRACT statement, a runtime error occurs. By
processing EXTRACT statements several times using different
field groups, you fill the extract dataset with records of
different length and structure. Since you can modify field
groups dynamically up to their first usage in an EXTRACT
statement, extract datasets provide the advantage that you
need not determine the structure at the beginning of the
program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is conversion of data types done between abap/4 & external level? : abap data dictionary
What is structure?
Explain what are the events used for logical database?
Mention some important events in abap programming.
Explain about the tables exists in a data dictionary and what are they? : abap data dictionary
What are the fields in a bdc_tab table? : abap bdc
What is off cycle payroll run
what comes in Timkein written test I hope some body can tell me at this id plz tell it before 9 pm 19 march
What is erp? : sap abap hr
What is the difference between select statement and provide statement ? : abap hr
how to see the tables of 200 in client 100?
Explain the disadvantages of logical databases?
hi frends this is bala raju from pune.i want to know diff between 4.7ee and ecc 5.0.if possible give me brief explanation.this question was asked in EDS(tele interview) in pune bye.
What are the kinds of foreign key fields?
What are the different attributes that can be assigned to a variant?