Hi,
While going through the Advanced ABAP document, I found that we can declare a line type using the TYPES statement and using this line type we can declare a local table type.
TYPES:
BEGIN OF gty_ekbe, "Data from EKBE.
matnr TYPE ekbe-matnr,
werks TYPE ekbe-werks,
bwart TYPE ekbe-bwart, "Movement type
bpwes TYPE ekbe-bpwes, "Blocked stock
END OF gty_ekbe.
TYPES: gtty_ekbe TYPE STANDARD TABLE OF gty_ekbe
WITH NON-UNIQUE KEY matnr werks.
DATA:
gt_ekbe_s TYPE STANDARD TABLE OF gty_ekbe
WITH NON-UNIQUE KEY matnr werks,
gt_ekbe_tty TYPE gtty_ekbe.
My Query:
What is the significance of this..? I can declare a internal table using the Line type, then what extra we are achieving by declaring a local table type?
Please provide your opinions.
Regards
s@k