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 |
Can you use if then else, perform ..etc statements in sap script?
how to transfer a specific record of a table from one system( eg:test system) to other system (eg: production system )?
How do you get the number of lines in an internal table? How to use a specific number occurs statement?
How to compare the two tables between the two systems? what is the process if anyone tell me please give me the answer?
what is the role of extended syntax check in performance tuning?
What happens if a function module runs in an update task?
What is the difference between report and script?
ALV's?
How can we upload a text file having delimiters in to legacy system? : abap bdc
In Table Maintaince Generator for a table i need some fields to be filled default,like date from sy-datum.........when the displays initailly....HOw
what is the model dialog box?
1 Answers Bristle Cone, Cap Gemini, HP, Satyam, Wipro,
How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul