04-14-2007 3:51 PM
frends please let me know the different ways of defining standard tables.provide me the diff syntaxes.
04-14-2007 4:01 PM
Hi,
Please check this.
TYPES: BEGIN OF deepline,
field TYPE c,
table1 TYPE vector,
table2 TYPE itab,
END OF deepline.
TYPES deeptable TYPE STANDARD TABLE OF deepline
WITH DEFAULT KEY.
The structure deepline contains the internal table as a component. The table type deeptable has the row type deepline. Therefore, the elements of this internal table are themselves internal tables. The key is the default key - in this case the column field. The key is non-unique, since the table is a standard table
Regards,
Ferry Lianto
04-14-2007 4:01 PM
Hi,
Please check this.
TYPES: BEGIN OF deepline,
field TYPE c,
table1 TYPE vector,
table2 TYPE itab,
END OF deepline.
TYPES deeptable TYPE STANDARD TABLE OF deepline
WITH DEFAULT KEY.
The structure deepline contains the internal table as a component. The table type deeptable has the row type deepline. Therefore, the elements of this internal table are themselves internal tables. The key is the default key - in this case the column field. The key is non-unique, since the table is a standard table
Regards,
Ferry Lianto