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

Submit to program RKO7KO8G

Former Member
0 Likes
928

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.

3 REPLIES 3
Read only

rvinod1982
Contributor
0 Likes
754

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

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
754

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

Read only

Former Member
0 Likes
754

Closed