cancel
Showing results for 
Search instead for 
Did you mean: 

vertical scroll bar,row grouping and column grouping in webdynpro abap alv table.

Former Member
0 Kudos

Hi Experts,

How to add vertical scroll bar, row grouping and column grouping in alv table in webdynpro abap.

Thanks & Regards.

Krishna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Krishna,

Vertical scroll will come whenever there are more number of records than those displayed in table.

For Row grouping refer to this thread which gives the code:

http://scn.sap.com/thread/1298629

Column grouping in ALV is probably not supported. Please read the thread for further info.

http://scn.sap.com/message/5381385#5381385

Former Member
0 Kudos

Hi Khushboo,

Thanks for the mail, i need scroll bar at right side of the the alv table is there any interface for that because the scroll bar is not displaying in the alv table,And for the column grouping in alv which you have given for me is not working for me please can u send the document for me.

Column grouping in ALV is probably not supported. Please read the thread for further info.

http://scn.sap.com/message/5381385#5381385 (this is not working for me ).

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242b...].(this is not working for me ).

http://help.sap.com/saphelp_nw70/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm|http://

( this is not working for me ).

Thanks & Regards.

Krishna.

Former Member
0 Kudos

For the scroll, as i said, when u have more number of records, it will display automatically.

This means, for e.g. Say your ALV table displays 5 records at a time, when you have more than 5 rows in your context node, the ALV will show Scroll Bar automatically. You do not need to code for that...

For Column grouping, i am guessing you are not able to open the thread link that i posted before. The important part of information in that thread is posted by Thomas Jung. He says -

"

I will save you the trouble of reading the entire online help (as suggest by one of the other posters).  You have the ability to create such a group header with the normal Table UI element. However there is no such functionality in the ALV API.  You can create a table header area as suggested, but I believe you are asking for a group header. 

I believe the reason this isn't exposed directly in the ALV is because it is used internally when you do a grouped sort.  The ALV automatically buids group headers to explain the grouped sort/sum. 

Depending upon your requirements if you must have the group header and aren't using much else in the ALV, you might be better off using the plain old table. Here is a link to how to do group headers in the table UI element:

[http://help.sap.com/saphelp_nw70/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm|http://h...]

Look for the section about 1/2 way through the page called Header Group.

"

Former Member
0 Kudos

Hi Khushboo,

Thanks for the mail,here i have a requriment on table scroll bar,i have used WDTABLENAVIGATION.Its working now when the user scroll then 5 records should be add to the table (editable )

Requriment is:

I have 5 records in the table editable,and now when the user scroll the table 5 records should be add to the table and the 5th record should be on the top of the table following by 6th,7th,8th,9th records.and when user scroll up the 1st record should be on the top followed by  2nd,3rd,4th,5th records.

Please provided me the helpfull information.

Thanks & Regards.

Krishna.