What does an extract statement do in the ABAP program?

Answer Posted / sapna

A field group does not reserve storage space for the
fields, but contains pointers to existing fields.> Internal
take up memory. Depending on how much memory your system
has . 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 ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define batch input session?

754


A function module can be called from a transaction screen outside an abap/4 program. State true or false. : abap modularization

733


What is off cycle payroll run

1982


Does the call transaction method allow multiple transactions to be processed by sap?

740


Have you set up a back ground job? How to create a background job without a variant ? : abap bdc

755






What is the difference between skip and new-line?

984


foreign key enforcement?

1817


Explain the different types of screen keywords?

750


Which FM do you use to find out who is reporting to whom

5411


What is repository info. Systems? : abap data dictionary

746


How do you retrieve the data for repetitive structures ? : abap hr

834


What is the transaction for recording bdc ? : abap bdc

764


Polymorphism real time scenario

1207


How to give programe name as input in BDC report of abap ?

1971


How to debug a script in abap?

797