After successful execution of application log, Mass Data Run job is not Creating/Updating the custom object instances.
SAP Business ByDesign; Cloud for Customer Addins.
Reproducing the Issue
- Go to Custom WC MDRO XXXX ( XXXX stands for custom work center name)
- Open Mass data Run YYYY run ID ( YYYY stands for custom MDR run ID)
- Schedule the job as immediately
- We see that application log is successful but the instances are not being updated to custom object.
The reason why the data is not getting updated in the Custom Business Object is because the instances are queried using the Query.ExecuteDataOnly() function.
The ExecuteDataOnly function provides for the same parameters for selection and sorting as the Execute function.However, ExecuteDataOnly function returns a collection of business object node data instead of the business object nodes themselves.
You must explicitly retrieve the business object nodes, kindly either execute the Query using the Execute() function, or use the Retrieve() function to retrieve each instance individually so that their modifications will be saved accordingly.
Please refer to SAP Cloud Application Studio help documenation for more details.
MDRO not updating; Custom Object not updating; Application log successful. , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem