Thursday, July 22, 2010

Back to Basic : Internal Tables

Below is how to declare internal table using local structures type

'' Declaring local structures
TYPES: BEGIN OF struc_sflight,
carried like sflight-carrid,
connection LIKE sflight-connid,
END OF struc_sflight.


"Declare internal tables
" New declaration techniques dont have header line.
DATA : itabflight TYPE struc_sflight.

" Using work area to process data
DATA: wa_flight LIKE LINE OF itabflight.

No comments:

Post a Comment