on 02-27-2015 4:16 PM
Hi All,
How to update multiple records in a POST method ?
I have an internal table coming from UI5 , I need to update this table using the POST method via ODATA .
Please provide me direction or solution to update multiple records using POST method via ODATA.
P.S.
I am creating an ODATA service for HR Renewals , and I need to update the form details using the FM HRASR_PROCESS_EXECUTE in ODATA service.
Thanks in advance .
Chandra.
You need to use batch operation for such cases. Here is a document on Batch using Gateway
Here is the UI5 snippet to achieve batch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atanu is right when you want to update multiple rows into the table.
But if all you need to do is update the process container of one single process, then may not require multiple record update. At the Gateway level, it can be a flat structure, thus you POST only one record to the gateway service, and within the gateway service's DPC_EXT class, you convert this flat structure into Process Container table and call the FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.