cancel
Showing results for 
Search instead for 
Did you mean: 

what is use of Batch opertions in ODATA services? how to implement it?

former_member492119
Discoverer
0 Kudos

Hi Experts,

I am beginner to learn ODATA SERVICE

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi ,

Batch operation is used to do all the crud operation in one single call .E.g if i want to insert multiple records ,and delete any one record which is already exits then in one call itself we can operation both operation.

To implement we have two ways :

1) implement all the entity (entity ,entity_set,create,delete,update) and also redefine changeset_begin and changeset_end method in dpc_ext class.

go through below link

https://blogs.sap.com/2017/12/17/implementing-batch-operations-in-odata/

2) Don't implement the entity just implement the changeset_begin, changeset_end and changeset_process.

https://sapbazar.com/articles/item/4063-batch-call-processing-in-sap-netweaver-gateway