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

using function module 'RKD_REPORT_START'

Former Member
0 Likes
923

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
Read only

Former Member
0 Likes
727

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.

Read only

0 Likes
727

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

Read only

Former Member
0 Likes
727

hi gerd,

check this thread

hope this helps,

priya.

Read only

LucianoBentiveg
Active Contributor
0 Likes
727

Try this FM:

CALL FUNCTION 'EDITOR_PROGRAM'

EXPORTING

display = 'X'

program = report_name

EXCEPTIONS

OTHERS = 1.