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: 

using function module 'RKD_REPORT_START'

Former Member
0 Kudos
284

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

4 REPLIES 4

Former Member
0 Kudos
88

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.

0 Kudos
88

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

Former Member
0 Kudos
88

hi gerd,

check this thread

hope this helps,

priya.

LucianoBentiveg
Active Contributor
0 Kudos
88

Try this FM:

CALL FUNCTION 'EDITOR_PROGRAM'

EXPORTING

display = 'X'

program = report_name

EXCEPTIONS

OTHERS = 1.