cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP CPI - OData Batch processing - Update multiple different entitytypes in one batch

tomvanrooijen
Participant
0 Likes
6,298

Hi all,

I wonder if it is possible in SAP CPI to update multiple different entitytypes in once single OData batch file.

For instance for the cloud marketing contacts API I need to use both the ContactOriginData and the AdditionalID entitytype.
Payload examples from SAP show that this can be done in a single OData batch file.

However the CPI UI does not seem to allow this. Specifically in the OData 'Processing' Tab I can only select one entity at the time.

I could manually edit the generated XSD and add the second entitytype, but I am still doubtful as to whether the OData connector will allow this.
If not then I think this batch functionality is not correctly implemented in CPI.

Does anyone have experience with using multiple entitytypes in the same batch?

Thanks!

Tom

Accepted Solutions (1)

Accepted Solutions (1)

sunny_kapoor
Product and Topic Expert
Product and Topic Expert
0 Likes
tomvanrooijen
Participant
0 Likes

Hi Sunny,

Thanks! the answer to my issue 🙂

Batch-mode it is..


Regards

Tom

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Likes

Hello Tom,

Yes its limitation from adapter side.For batch request having multiple entities you have to create XSDs manually .You can follow below blog to see how you can do that same.Also you can raise influence request for above mentioned enahancement to query modeler.

https://blogs.sap.com/2017/11/08/batch-request-with-multiple-operations-on-multiple-entity-sets-in-s...

Regards,

Sriprasad Shivaram Bhat