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

Function Module

Former Member
0 Likes
447

Is there a function module to which we can export the program name and import the select options or selection criteria for it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
398

Hi,

Use FM PRINT_SELECTIONS

TYPES: BEGIN OF t_varinfo,

flag TYPE c,

olength TYPE x,

line LIKE raldb-infoline,

END OF t_varinfo.

DATA: it_varinfo TYPE t_varinfo OCCURS 0 WITH HEADER LINE.

*-- Get selection screen options

CALL FUNCTION 'PRINT_SELECTIONS'

EXPORTING

mode = ' '

rname = sy-cprog

rvariante = ''

TABLES

infotab = it_varinfo.

Award points iff it helps!

Regards,

GSR.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
398

Try RPY_PROGRAM_READ.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
398

Hi

Are you looking for FM: <b>RS_REPORTSELECTIONS_INFO</b>???

Kind Regards

Eswar

Read only

Former Member
0 Likes
399

Hi,

Use FM PRINT_SELECTIONS

TYPES: BEGIN OF t_varinfo,

flag TYPE c,

olength TYPE x,

line LIKE raldb-infoline,

END OF t_varinfo.

DATA: it_varinfo TYPE t_varinfo OCCURS 0 WITH HEADER LINE.

*-- Get selection screen options

CALL FUNCTION 'PRINT_SELECTIONS'

EXPORTING

mode = ' '

rname = sy-cprog

rvariante = ''

TABLES

infotab = it_varinfo.

Award points iff it helps!

Regards,

GSR.