Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Nested Structures

Former Member
0 Likes
514

Hello Friends,

How to declare itab which consists Nested structures

2 REPLIES 2
Read only

Former Member
0 Likes
487

Hi, Just specify the component type as your nested structure (structure, table or table type). See WLF_AGENCY_DATA_NAST in SE11 for an example.

Read only

Former Member
0 Likes
487

Hi BVS,

Nested structure definition.

TYPES: BEGIN OF struct1,

col1 TYPE i,

BEGIN OF struct2,

col1 TYPE i,

col2 TYPE i,

END OF struct2,

END OF struct1.

Internal table declaration as follows:

DATA ITAB TYPE STANDARD TABLE OF STRUCT1 WITH HEADER LINE.

Thanks,

Vinay