‎2009 Sep 11 4:34 PM
Hi ,
Iam sumitting the data from a program to sap standatd program RKO7KO8G
SUBMIT rko7ko8g USING SELECTION-SCREEN '1000'
WITH SELECTION-TABLE t_rsparams
WITH KOKRS EQ 'A001'
WITH variant EQ 'TEST1'
WITH PERIO EQ '008'
WITH GJAHR EQ '2009'
WITH VAART EQ ''1'
WITH ausf EQ 'X'
VIA JOB v_jobname NUMBER v_jcnt
AND RETURN.
while i run the program in the foreground(debugging mode) the value in the variant is correct with value'TEST1'.
but while i run the program in the background the value in the variant is taken as default value like 'TESTDEFAULT'
Please help me out how to solve this issue.
‎2009 Sep 12 8:25 AM
Hi Srinivas,
Check the background job. Under STEP option where you specify the program name and varaint
what is the default variant name. It may be TESTDEFAULT.
Regards,
Vinod
‎2009 Sep 12 8:45 AM
Hi
SUBMIT rko7ko8g USING SELECTION-SCREEN '1000'
WITH SELECTION-TABLE t_rsparams
WITH KOKRS EQ 'A001'
WITH variant EQ 'TEST1'
WITH PERIO EQ '008'
WITH GJAHR EQ '2009'
WITH VAART EQ ''1'
WITH ausf EQ 'X'
VIA JOB v_jobname NUMBER v_jcnt
AND RETURN.
In your Job itself maintained the required Varaint.
Regards,
Sreeram
‎2009 Oct 26 9:58 PM