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

Concept regarding Performance

Former Member
0 Likes
357

Hello Experts,

I want to print 7-8 columns in my reports.All capture in different internal table.

Can anybody suggest how to print these columns.

Is it better performance wise to take all columns in one internal table or print directly from diff internal tables.

Plz suggest.

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
336

Hi,

print by moving all the columns into one internal table. While moving all internal tables data into one table, don't use loop inside loop, use read table statement with binary search .

regards,

sankar

3 REPLIES 3
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
336

Hi,

Take the fields to be printed in a single internal table from existing internal tables and then use:-


loop at <itab> 
  .... 
endloop.

Hope this helps you.

Regards,

Tarun

Read only

Former Member
0 Likes
336

Printing from one common internal table will give the desired results. Us joins n tables with unique primary keys. also check before the internal table whether it is not initial before "for all entries".

Regards,

Mansi.

Read only

Former Member
0 Likes
337

Hi,

print by moving all the columns into one internal table. While moving all internal tables data into one table, don't use loop inside loop, use read table statement with binary search .

regards,

sankar