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: 

ALV horizontal scrolling in output

Former Member
0 Kudos

Hi all,

can anybody help me out from this below problem.

In my ALV output screen i'm not able to do horizontal scrolling. I have totally 27 fields but its displaying upto 14 fields and the remaining fields should be come by scrolling but horizontal scroll bar is not comming. Can anybody guess what might be the fault?

Thanks in advance

g.s.naidu

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Try to "unfreeze" the columns. I suppose some fields are seen as "key fields" so their column is frozen, and if the field is outside of first columns display, you wont be able to scroll horizontally.

Regards

16 REPLIES 16

Former Member
0 Kudos

HI,

If you are using the Container...please check the Container attibute.

Former Member
0 Kudos

Hi,

[http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/BCSRVALV/BCSRVALV.pdf]

Former Member
0 Kudos

Hi avinash

Thanks for the reply. There i'm not using any container. i'm not using any class.

Thank you

g.s.naidu

0 Kudos

hi

check page-size at the top of the code, increase that to 500.

program progname page-size 500.

manoj

Former Member
0 Kudos

yes just check for the page-number at starting statement .

and increment and once again check it you can get it..

Thanks'

GSANA

raymond_giuseppi
Active Contributor
0 Kudos

Try to "unfreeze" the columns. I suppose some fields are seen as "key fields" so their column is frozen, and if the field is outside of first columns display, you wont be able to scroll horizontally.

Regards

0 Kudos

Hi raymond,

Can you explain me little bit clearly please. How can we un freeze the columns.

Thanks

g.s.naidu

0 Kudos

Run your report, when the ALV is displayed, select all columns, right click on the header line and choose "Unfreeze columns", if the horizontal bar appears, i was right.

Regards

0 Kudos

Hi Raymond,

Yes you are absolutley right. After doing unfreezen i'm able to see the horizontal scroll bar. but how to save that. can you tell me what should i do now?

Thanks

0 Kudos

You may use one of the following solution

- Save the display variant and use it as a default variant without keys frozen

- Remove the "Key" attributes in the field catalog (fieldcat-key)

- Use the layout (layout-no_keyfix)

Regards

0 Kudos

Hi Raymond,

Thank you verymuch. Now its working fine.

This is rewardable.

g.s.naidu

Former Member
0 Kudos

Sorry no use with this statement

" no standard page heading

line-size 500 ".

Actually i have two radio buttons. when i was selecting the 1st RB i'm getting scrolling but when i'm selecting the second RB i'm not getting the horizontal scrolling.

so please let me know the solution for this.

thanks

g.s.naidu

Former Member
0 Kudos

Hi Naidu,

In the in the field catlog column lock option is there.

pass parameter to it, u can see the all columns.

Regards,

Flavya

0 Kudos

Hi Flavya,

I tried to find out the column lock option but i couldn't. can you guide me where should i find that.

I f you have any code please post it for me.

Thank you

g.s.naidu

Former Member

Former Member
0 Kudos

It has been answered by raymond