Symptom
The mass data runs execution fails when multiple users are scheduling the mass data run simultaneously.
- Cancelled manually or by the system
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
- SAP Cloud Applications Studio
- SAP Cloud For Customer
- SAP Business ByDesign
Reproducing the Issue
- Login to frontend system with the user XYZ.
- Open Mass Data Run Custom Work Center view.
- Click on New Mass Data Run.
- Schedule Mass Data Run.
- At the same time login with the user ABC and schedule the same Mass Data Run.
- Mass Data Run execution will fail.
Cause
When two mass data run jobs are scheduled at the same time, one of them will acquire a lock for the mass data run and the business object. Since the second job execution cannot acquire a lock, it will fail with the message "Cancelled manually or by the system".
Resolution
There is no option for the same mass data run to be executed simultaneously. If you want the second job to execute after the first job finishes, there is an option called "Schedule After Job" to be used when scheduling mass data run executions.
See Also
Keywords
SDK, MDR, Cloud application studio, Cancelled manually or by the system, PDIhttps://launchpad.support.sap.com/#/notes/2690152 , KBA , mass data run , AP-RC-BDS-MDR , ByDesign Studio Mass Data Run , How To