Best Practice to schedule SAP agent Wobs on ESP
search cancel

Best Practice to schedule SAP agent Wobs on ESP

book

Article ID: 107869

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

When setting up SAP jobs to run in ESP Workload Automation system - is it better to set up a single ABAP program and variant per SAP job, and run each job in sequence in the ESP application? Or set up the SAP job to run numerous programs and variants, and have ESP run a single SAP job in the application? We are currently doing it both ways and would like to pick one or the other.

Environment

Component: ESP Workload Automation 
Release: ALL

Resolution

Each of the methods have their own pros and cons, and there is no official best practice suggestions:
- Set up a single ABAP program and variant per SAP job:
Pros: The ABAP programs can have different/flexible relationships with each other. And when one fails, ESP can resubmit only the failed one.
Cons: More SAP_JOB definitions in ESP. Note: to reduce the redundant work, you can set up a TEMPLATE and then use it for the job definitions.

- Set up the SAP job to run numerous programs and variants, and have ESP run a single SAP job in the application
Pros: very simple SAP_JOB definition in ESP.
Cons: Can't change the sequence or relationship between the ABAP programs in ESP. And when one ABAP program fails, ESP will rerun it from the very first ABAP.