Symptom
MDR process gets failed when the multiple users are scheduling the MDR simultaneously.
Error - Cancelled manually or by the system
Environment
SAP Cloud Application Studio
SAP Cloud For Customer
SAP Business ByDesign
Reproducing the Issue
Steps to reproduce may vary as per the custom implementation done by you.
Example steps to reproduce -
-
Login to frontend system with the user X.
- Open custom workcentre view.
- Click on New MDR.
- Schedule MDR.
- At the same time login with the user Y and schedule the same MDR.
- MDR schedule fails with the error message Cancelled manually or by the system.
Cause
When two MDRO jobs are scheduled at the same time, one of them will acquire a lock for the MDRO and the BO. Since, the second job cannot acquire a lock it will fail with the message “Cancelled manually or by the system”.
Resolution
There is no option for the same MDRO to execute simultaneously.
If you want the second job to execute after the first job finishes, there is an option ("schedule after job") and it can be done on the UI.
See Also
https://launchpad.support.sap.com/#/notes/2690152
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 , Problem