Quantcast
Viewing all articles
Browse latest Browse all 8533

Re: Odata function import - input as complex type

Hello Lukasz,

 

Comments as per my knowledge :

 

1. Converting your table parameters as string and converting that back to your internal table in DPC is not a standard approach i feel.

2. Accomplishing this GET operation through an Modifying request (CUD - POST PUT DELETE) is also not a part of standard i feel.

 

U can use BATCH :

 

How To Batch Multiple Operations Into A Single Request

 

Each operation inside your body/payload is considered as separate individual operations in a single request. For each operation the same logic is called.

Say If u have 5 entries in your table, then your logic is called 5 times rather than calling once ( like how it happens in our FM).This also u need to consider should i go with BATCH as there is a trade off when it comes to performance in fetching data.

This is s standard approach and this is how BATCH works.

 

There would be separate response for each of your table of inputs u send inside a payload and u will have to capture all that which will constitute the complete response for the data u sent as a payload.

 

Regards,

Ashwin


Viewing all articles
Browse latest Browse all 8533

Trending Articles