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: 

JOB_SUBMTI Variant

Former Member
0 Kudos

HI Gurus,

I am scheduling report in background using

JOB_OPEN

JOB_SUBMIT

Job_close

CALL FUNCTION 'JOB_SUBMIT'

EXPORTING

jobname = rdd_jobname

jobcount = rdd_jobcount

authcknam = rdd_username

report = rdd_report

variant = rdd_variant -


I need it to capture Runtime

EXCEPTIONS

bad_priparams = 1

bad_xpgflags = 2

invalid_jobdata = 3

jobname_missing = 4

job_notex = 5

job_submit_failed = 6

lock_failed = 7

program_missing = 8

prog_abap_and_extpg_set = 9

OTHERS = 10.

The value that user entered at selection screen , every time report schedule those parametre only

3 REPLIES 3

Former Member
0 Kudos

Hi

system field Sy-SLSET hold the user selected variant.

Former Member
0 Kudos

Hii

Use BAPI_XBP_VARIANT_INFO_GET to get the variants of the report and pass it on ..

thanks and regards

chandu reddy sunkari

Former Member
0 Kudos

solve it