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: 

SM37 Background Job with Program RSBDCBTC

Former Member
0 Kudos

Hello everyone ,

I have 5 sessions created out of LSMW namely by A1, A2, A3, A4 ,A5 and every session has an individual session ID. My requirement is to process all the sessions one after other.

I have created 5 variants with unique ID's in program RSBDCBTC and made it as 5 steps in my job so that it can be executed one after another . When i see the job log i could see only first step is getting executed and the job status is finished and rest of the steps are not executed.

Any advise on how to get this done to get the rest of the steps executed as soon as the previous step is done ?

Thanks,

AJ.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

RSBDCBTC uses some system commands that "break" current transaction/job so not suitable to keep control.

Hint: Better build a wrapper report, that will submite RSBDCSUB (so execution in another job) in sequence and then wait until BDC status changed (APQI-QSTATE, 'F' finished or 'E' error) or APQI record get deleted)

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

RSBDCBTC uses some system commands that "break" current transaction/job so not suitable to keep control.

Hint: Better build a wrapper report, that will submite RSBDCSUB (so execution in another job) in sequence and then wait until BDC status changed (APQI-QSTATE, 'F' finished or 'E' error) or APQI record get deleted)

Regards,

Raymond

0 Kudos

Thanks Raymond , I will give it a try on this now.