Application Development 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: 

Report Display

Former Member
0 Kudos

Hi All,

I got a requirement that i need to display all 40 fields using ALV grid but i am unable to display all the fileds in output.

could any one suggested how to handle this.

thanks & regards

NSK

1 ACCEPTED SOLUTION

vinod_vemuru2
Active Contributor
0 Kudos

Hi Shashikanth,

This must be problem with REPORT statement.

Increase the LINE-SIZE to accomodate max. width of ur grid display.

eg: If ur output width is 350 characters then give below statement.

REPORT zxxx(Ur report name) LINE-SIZE 350 MESSAGE ID zxx.

It will definitely works.

For better readability set the attribute col_width_optimize = 'X'/

Thanks,

Vinod.

5 REPLIES 5

Former Member
0 Kudos

Hi;

In GRID display there should be no problem in displaying the fields.

1. check the program (report attribute "LINE-SIZE").

2. check fidlcat for "NO_OUT" = X is set for the fields

Still not able to fix then take the help from SE11....

Regadrs,

Prabhu Rajesh

Former Member
0 Kudos

Hi,

Once you get the output, there is an option "change layout" in the application tool bar. Click on that you can select the fields to be displayed on output.

Thanks

Vikranth

Clemenss
Active Contributor
0 Kudos

Hi shashikanth,

why not?

Regards,

Clemens

vinod_vemuru2
Active Contributor
0 Kudos

Hi Shashikanth,

This must be problem with REPORT statement.

Increase the LINE-SIZE to accomodate max. width of ur grid display.

eg: If ur output width is 350 characters then give below statement.

REPORT zxxx(Ur report name) LINE-SIZE 350 MESSAGE ID zxx.

It will definitely works.

For better readability set the attribute col_width_optimize = 'X'/

Thanks,

Vinod.

former_member69765
Contributor
0 Kudos

Hi..

You really need not complicate with all this ...

How will you handle if tomorrow your requirement changes to display 80 fields ?? With the above approach you will have to change the report code again !!

The solution is with OO ABAP ALV. Write the ALV report with ABAP Objects.

In this case if there are many fields that do not fit into screen, the system will automatically add a scroll bar. So problem solved. You don't have to worry if in future you want to display 80 fields in the same ALV.

In case you want to know how to create a ALV report with ABAP Objects check out the tutorial / example code on:

http://www.abaplearning.com/index.php?option=com_content&view=section&id=2&Itemid=14

(Probably you need to log in - as the section is for members only)

Cheers.