Skip to Content
0
Mar 16, 2010 at 08:43 AM

Deep Structure - Append and Reading

415 Views

Hi.....

1) I need Deep Structure Syntax for Appending and Reading..

2) I want append data following Deep Structure...

DATA : BEGIN OF itab1 OCCURS 0,

v1 TYPE i,

v2 TYPE i,

END OF itab1.

TYPES : BEGIN OF stru1,

v1 TYPE i,

v2 TYPE i,

END OF stru1.

DATA itab2 TYPE SORTED TABLE OF stru1 WITH HEADER LINE WITH UNIQUE KEY v1.

DATA : BEGIN OF stru2,

v1 TYPE i,

v2 LIKE TABLE OF itab2,

END OF stru2.

DATA itab3 LIKE STANDARD TABLE OF stru2 WITH HEADER LINE.

DATA : BEGIN OF main,

v1 TYPE i,

v2 TYPE stru1,

v3 LIKE TABLE OF itab1,

v4 LIKE STANDARD TABLE OF itab2, "------> *Here CAN WE SPECIFIES AS SORTED TABLE ..IS IT POSSIBLE?

v4 LIKE SORTED TABLE OF itab2*

v5 LIKE STANDARD TABLE OF itab3,

END OF main.

"main-v1 = 11.

"main-v2-v2 = 21.

thanx....

Edited by: B C Ganesh on Mar 16, 2010 9:44 AM