cancel
Showing results for 
Search instead for 
Did you mean: 

Commit and Rollback in Odata batch processing

former_member655824
Participant
0 Kudos
1,842

Hi experts,

When the records are created or update with batch processing through the OData v2 in scpi.

At that time, I would like to know does the commit and rollback process work one time per one record or one time per all records/operations.

Best regards,

Nyein

Accepted Solutions (1)

Accepted Solutions (1)

former_member666312
Active Participant
0 Kudos

Hi,

As I understood, you want to know whether it is successful or failed. If yes then you have do post the records 1 per change set , you so that you will know what happened for each record. if you put all in one change record , if any error occurred for any record then the whole bactch will be reverted back.

Pls refer

https://blogs.sap.com/2018/11/22/sap-cloud-platform-integration-odata-service-in-batch-mode/

https://blogs.sap.com/2017/05/10/batch-operation-in-odata-v2-adapter-in-sap-cloud-platform-integrati...

Thanks,

Vijay.

former_member655824
Participant
0 Kudos

Hi Vijay,

I understood. Thanks for your answer and it really helps me.

Best regards,

Nyein.

Answers (0)