Need multiple steps in one SAP Job; not multiple Jobs in SAP

Document ID : KB000089888
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Need multiple steps in one SAP Job; not multiple Jobs in SAP
Resolution:
Detailed Description and Symptoms

Scenario:

1. You wish to create a SAP_ABAP job that has 5 steps. 
2. Each step does this: 
 
R3_ACTIVATE_REPORT VARIANT="TJ1",REPORT="RLLL07SE"
3. Each step does a different report and variant.
 
The problem being encountered is in the SAP system, the Automic job creates 5 separate Jobs instead of 1 job with 5 steps.
 

Investigation

If the forms tab is correct, then it should look similar to this:

R3_ACTIVATE_REPORT VARIANT="XXX",REPORT="L07SE"
R3_ACTIVATE_REPORT VARIANT="XXX",REPORT="L06SE"
R3_ACTIVATE_REPORT VARIANT="XXX",REPORT="L05SE"
R3_ACTIVATE_REPORT VARIANT="XXX",REPORT="L04SE"
R3_ACTIVATE_REPORT VARIANT="XXX",REPORT="L01SE"


Solution

Activate "Combine Job steps" option on the "Interfaces" tab (Connection object>"Remote Function Call" Tab)