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: 

FM for getting select-options for use in ALV header

Former Member
0 Kudos
150

Hi All,

Our customer wants the choosen selection options in the report header (ALV). I'm looking for a FM that gets all select-options and puts them in (end-user) readable form.

Anyone experience with this? Or has created such functionality before?

Any help would be appriciated,

Kind regards from a cloude Holland,

Bert Hokojoku

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos
84

Use the fm: PRINT_SELECTIONS

you can also use this:

CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'

EXPORTING

CURR_REPORT = sy-repid

TABLES

SELECTION_TABLE = IT_VARI_TAB

EXCEPTIONS

NOT_FOUND = 1

NO_REPORT = 2

OTHERS = 3.

Regards,

ravi

Message was edited by:

Ravi Kanth Talagana

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos
85

Use the fm: PRINT_SELECTIONS

you can also use this:

CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'

EXPORTING

CURR_REPORT = sy-repid

TABLES

SELECTION_TABLE = IT_VARI_TAB

EXCEPTIONS

NOT_FOUND = 1

NO_REPORT = 2

OTHERS = 3.

Regards,

ravi

Message was edited by:

Ravi Kanth Talagana

0 Kudos
84

Hi Ravi,

Thx for the quick reply. It pointed us to the right direction.

Eventually we ended up using:

RS_COVERPAGE_SELECTIONS

Regards