2006 Dec 19 10:05 AM
Is there a function module to which we can export the program name and import the select options or selection criteria for it?
2006 Dec 19 10:09 AM
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.
Try RPY_PROGRAM_READ.
Regards,
Amit
Reward all helpful replies.
2006 Dec 19 10:07 AM
2006 Dec 19 10:09 AM
Hi
Are you looking for FM: <b>RS_REPORTSELECTIONS_INFO</b>???
Kind Regards
Eswar
2006 Dec 19 10:09 AM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |