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 loop

Former Member
0 Likes
325

hi

how can i make nested loops and read contents from both the internal tables

2 REPLIES 2
Read only

Former Member
0 Likes
302

Hi

U should be more clear:

LOOP AT ITAB WHERE

    LOOP AT ITAB2 WHERE FIELD1 = ITAB-FIELD1.
           WRITE: ITAB, ITAB2.

Max

Read only

Former Member
0 Likes
302

Hi Varalakshmi,

You can use as follows.

Loop at ITAB1.

Loop at ITAB2.

Write: ITAB1-FIELD, ITAB2-FIELD.

EndLoop.

EndLoop.

Rewards points if helped.

Best Regards

Renjan