What does an extract statement do in the ABAP program?
Answer / 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 |
what is the need of set parameter-id in reports.
What is an interface? In what scenario we use interface? What is the difference between abstract class and interface?
how to change output option of table control?
How do you display a data in a detail list?
What are components of layout in scripts?
How do you read the data from clusters
What are different ways in which data upload can be done using LSMW?
what next in SAP-ABAP/4 is it going to be change?
how to create a button in selection screen?
I need the coding for BDC program to upload Purchase orders of known vendor (ME21) in Material Management
Is it possible to include two transactions with one group name in one program in session method ?
if i login in english then top-of page will display in english.if i login in german then it will display in german as on .. abap report how.........