12-19-2006 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?
12-19-2006 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.
12-19-2006 10:07 AM
12-19-2006 10:09 AM
Hi
Are you looking for FM: <b>RS_REPORTSELECTIONS_INFO</b>???
Kind Regards
Eswar
12-19-2006 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.