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

alv grid

Former Member
0 Likes
385

Can anyone tell me abt Achieving Page Breaks using ALV Grid?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
363

Hi Riya

In order to achieve the Page Breaks, we need to fill in the sort catalog structure, LVC_S_SORT, as follows:

FS_SORT-SPOS = '1'. “ Sort order position

FS_SORT-FIELDNAME = 'CARRID'. “ Field name on which page break need to be triggered. Whenever this field changes, page break will trigger

FS_SORT-GROUP = ''. “ This has 2 options. ‘’ for page breaks and ‘U’ for underlines.

FS_SORT-OBLIGATORY = 'UL'. “ If you need to retail these page breaks through out, we need to set this as obligatory. Otherwise, if the end user selects any other field and presses SORT, then page breaks would disappear.

APPEND FS_SORT TO T_SORT.

Can anyone tell me abt Achieving Page Breaks using ALV Grid?

1 REPLY 1
Read only

Former Member
0 Likes
364

Hi Riya

In order to achieve the Page Breaks, we need to fill in the sort catalog structure, LVC_S_SORT, as follows:

FS_SORT-SPOS = '1'. “ Sort order position

FS_SORT-FIELDNAME = 'CARRID'. “ Field name on which page break need to be triggered. Whenever this field changes, page break will trigger

FS_SORT-GROUP = ''. “ This has 2 options. ‘’ for page breaks and ‘U’ for underlines.

FS_SORT-OBLIGATORY = 'UL'. “ If you need to retail these page breaks through out, we need to set this as obligatory. Otherwise, if the end user selects any other field and presses SORT, then page breaks would disappear.

APPEND FS_SORT TO T_SORT.