Internal Table "EXTRACT" (View Cluster)
Definition
The table "EXTRACT" is the data display work table. At runtime it contains all the data which was selected from the table "TOTAL" in the view cluster maintenance. The selection is made by the user by selecting an entry in view cluster navigation and calling functions in the individual dialog, such as, All selected entries, or All changed entries. The data is sorted in ascending order.
You can access the table "EXTRACT" for a view cluster subobject via the field symbol <VCL_EXTRACT>, if the routine VCL_SET_TABLE_ACCESS_FOR_OBJ has been called previously for this subobject.
Structure
For views or tables without a text table, The internal table has the structure of the view or table, and also a processing and selection flag.
For tables with a text table, connected via the foreign key relationship TEXT, the structure of the table consists of the structure of the entity table, text table, and also two processing flags and a selection flag.
DATA = ext_wa (1000) type C,
eflag type vcl_flag_type.
FIELD SYMBOLS: <ext_wa_struc> type ´konkreter View´,
<fldval> type any,
<ext_wax> type x,
<ext_action> type vcl_flag_type.
PERFORM vcl_set_table_access_for_obj using ´konkreter View´
changing eflag.
ASSIGN: ext_wa to <ext_wa_struc> casting component fieldname
of structure <ext_wa_struc> to <fldval>,
ext_wa to <ext_wax> casting,
<ext_wax> + <vcl_header> - after_tabc to <ext_action>
casting.
LOOP at <vcl_extract> into ext_wa.
CHECK <vcl_action> = ´n´.
MOVE <fldval> to ...
ENDLOOP.
Processing and Selection Flags
Each record in the table "EXTRACT" contains processing and selection flags. They can be found in a loop for each record in the table.