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: 

How to schedule a job after finished previous job with same variant

SBLSVRamana
Explorer
0 Kudos
364

Hi,

I need to schedule a report B after the report A job got finished and need to pass the variant of Report A to Report B while scheduling the job programmatically in ABAP.

i.e ReportA scheduled with VariantA with JobA Step1.

Once the above JOBA STEP1 got finished then I need to schedule ReportB with VariantA(same as above which is passed to ReportA) with JobA Step2.

Kindly suggest me how to achieve this functionality.

Regards,

Ramana.

2 REPLIES 2

DoanManhQuynh
Active Contributor
0 Kudos
269

You can submit report B with selection-set = variantA at the end of report A.

one more way is using event to trigger job:

https://wiki.scn.sap.com/wiki/display/ABAP/Scheduling+background+job+by+triggering+an+event

kiran_k8
Active Contributor
0 Kudos
269

Ramana,

Use JOB WIZARD in SM36.

It is the best and simple step by step process to schedule a job with multiple steps.

K.Kiran.