2006 May 18 12:37 PM
how can I dynamically set selection-options and parameters for the execute report using this function module? Is there a documentation how to use this module?
thanks
Gerd
2006 May 18 12:39 PM
Hai Gerd
identify report and variant
PARAMETER: APPCLASS LIKE RKB1D-APPLCLASS,
SUBCLASS LIKE RKB1D-SUBCLASS,
REPID LIKE RKB1D-REPID,
TABNAME LIKE RKB1D-TABNAME,
VARIANT LIKE RKB1D-VARIANTE.
CALL FUNCTION 'RKD_REPORT_START'
EXPORTING
APPLCLASS = APPCLASS
FUNCTION = 'EXEC'
REPID = REPID
I_VARIANT = VARIANT
RSTI_CALL = ' '
SMODUS = 'N'
SUBCLASS = SUBCLASS
TABNAME = TABNAME
I_INFOMODE = 'V'.
Thanks & regards
Sreeni.
2006 May 18 12:56 PM
Thanks for the answer. I know how to use this module, but I don't know how to preset select-options and parameter using this module. I can't use a variant because there is an interactive selection in the calling report. How can I use P_VARTAB, E_TECHTAB and C_TS_VRANGE?
Thanks & regards
Gerd
2006 May 18 12:45 PM
2006 May 18 12:49 PM
Try this FM:
CALL FUNCTION 'EDITOR_PROGRAM'
EXPORTING
display = 'X'
program = report_name
EXCEPTIONS
OTHERS = 1.