Skip to Content
0
Sep 03, 2009 at 08:11 AM

call t-code pt_qta10 without showing selection screen and execute it.

86 Views

i have to call tcode pt_qta10 and pass the values for

TIMR4 (UP TO TODAY) RADION BUTTON,

PENNONEL NUMBER,

DEDUCTION PERIOD,

KEY DATE FOR DEDUCTION , AND

KEY DATE FOR ENTITLEMENT

without showing selection screen and produce output(through standard program).

i have written this code:

data : text TYPE c LENGTH 10,

prog_tab TYPE TABLE OF rsparams,

prog_line LIKE LINE OF prog_tab,

range_tab LIKE RANGE OF text,

range_line LIKE LINE OF range_tab.

prog_line-selname = 'DESTA'.

prog_line-kind = 'S'.

prog_line-sign = 'I'.

prog_line-option = 'BT'.

prog_line-low = '18000101'.

prog_line-high = '99991231'.

APPEND prog_line TO prog_tab.

SUBMIT RPMENUSTART00 " RPTQTA10

WITH SELECTION-TABLE prog_tab.

but this code is not working for radio button and standard program RPMENUSTART00(for tcode pt_qta10) is giving error so i am using another standard progarm with same selection screen RPTQTA10. Help me out.