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

Reporting....

Former Member
0 Likes
516

Hi experts,

i have two problems relating to reporting techniques...

1) how to reduce data redundancy for one report (means i dont want to display the same data as many time in one page...like for the customer 1000 i have records like kunnr,name1,ort01,vbeln,erdat,netwr...in this kunnr,name1 and ort01 are same so these fields display one time to a page)????????

2)I want to solve resolution problem to endusers PC(means in my PC i set a page for 35 lines but i dont know the endusers PC and his resolution ..but this report display as fit to his screen without overflowing )??????

Please send me code for the two problems ...if it is helpful i will give u 10 points.

Thanks in advance..........

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

Hi Rajesh,

you can use following syantax to delete dublicate record from internal table.

" DELETE ADJACENT DUPLICATES FROM itab. "

3 REPLIES 3
Read only

Former Member
0 Likes
498

If you r using alv report,you can use SORT for those fields that keep repeating thereby making the layout clear!

Regards,

Reema,.

Read only

Former Member
0 Likes
499

Hi Rajesh,

you can use following syantax to delete dublicate record from internal table.

" DELETE ADJACENT DUPLICATES FROM itab. "

Read only

varma_narayana
Active Contributor
0 Likes
498

Hi...

Solutions for the First:

Loop at it_kna1 into wa_kna1.

AT NEW KUNNR.

WRITE:/ wa-kunnr.

ENDAT.

WRITE:/ WA-NAME1.....

Endloop.

Solutions for the Second:

REPORT ZZREPORT LINE-COUNT 35.

Here line-count means the No of lines per page in the Output.

This setting need not be changed for each users PC.

But if u want to dynamically set this option use.

NEW-PAGE LINE-COUNT 20.

<b>Reward if Helpful.</b>