10-17-2007 8:09 AM
10-17-2007 8:12 AM
EXTRACT [ header | field_group ].
<b>Effect</b>
This statement links the current content of the fields, which were until then included in the field group header resp. field_group via the statement INSERT , to the extract dataset of the program. If there is no field group specified after EXTRACT, then the field group header is implicitly added.
This example continues the example under INSERT. If the executable program is linked to a fitting logical data base, the fields of the field groups flight_info and flight_date are attached to the extract dataset during the GET-events.
REPORT demo_extract.
NODES: spfli, sflight.
FIELD-GROUPS: header, flight_info, flight_date.
START-OF-SELECTION.
INSERT: spfli-carrid spfli-connid sflight-fldate
INTO header,
spfli-cityfrom spfli-cityto
INTO flight_info.
GET spfli.
EXTRACT flight_info.
GET sflight.
EXTRACT flight_date.
10-17-2007 8:13 AM
Hi manish,
I don't think this is a keyword in ABAP.
Sorry, just checked. It is used with logical DB.
Regards,
Atish
Message was edited by:
Atish Sarda