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

Is it possible to pass data to and from include programs explicitly? : abap modularization

740


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

1729


What are system fields for secondary lists?

605


What is the difference between the exits created in M.M and S&D?

1609


Name a few data dictionary objects?

642






What should be the approach for writing a bdc program? : abap bdc

577


What is the difference between abap and hr abap? : abap hr

611


What is the difference between call transaction method and the session method? : abap bdc

530


Which infotype records can not be deleted ? : abap hr

606


What is the difference between Classic badi and Kernal badi ?

1785


What are the names of the function modules that will be generated upon activation of a lock object?

546


What are the different buffering methods?

580


List some of the many different ways that the sap standard functionality can be changed by a customer?

548


What is static attribute

1079


Business scenarios related to your objects( In my case -Rulebook and Pricing work flow)

837