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

HOw To Pass Data

ram_sahoo
Participant
0 Likes
508

Hi,

I have a ALV report program there five loops are using based on vbak and vbap table.So my requirement is after second loop if when third loop is not reading the records then earlier two loops data should come in main internal table.in third loop lips and likp data is reading so whose sales order line items delivery having blank it should show blank of delivery column.So how to pass first two loops data to main internal table if third internal table is not reading data.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
486

Hi Ram

Try sort the third itab3 by order and item.

Then in your second loop 'READ TABLE itab3 WITH key...BINARY SEARCH'. to judge the delivery column....

regards,

Archer.

Hi,

I have a ALV report program there five loops are using based on vbak and vbap table.So my requirement is after second loop if when third loop is not reading the records then earlier two loops data should come in main internal table.in third loop lips and likp data is reading so whose sales order line items delivery having blank it should show blank of delivery column.So how to pass first two loops data to main internal table if third internal table is not reading data.

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
487

Hi Ram

Try sort the third itab3 by order and item.

Then in your second loop 'READ TABLE itab3 WITH key...BINARY SEARCH'. to judge the delivery column....

regards,

Archer.

Read only

matt
Active Contributor
0 Likes
486

Are you two related: