Request clarification before answering.
Hi Burak,
You should use $batch operations in order to send multiple items to the same OData service. Your service must provide support for batch operations. Check this blog for UI5 details on how to implement this.
Regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Burak,
Deep entity will post a nested structure (i.e: header and line items) in a single run. It also reduces the number of Odata calls, but it implies you are using an Odata with $expand feature. If this is your case, than you should be using NW Gateway as you OData provider to be able to implement this feature.
Batch operations will send multiple Odata operations on a single run. Suppose your app has a hierarchy table grouped by header an line items at the 2nd level of each header. You edit some of the line items on multiple headers and now you need to send them to your Odata service in a single run to update the table. You could call the OData service multiple times (one for each header) using the deep entity creation, but you want to do it in a single run. That's where the $batch request will aid you. You could send multiple deep entity calls on a single batch request.
Regards,
Ivan
Hi ivan.mirisola again,
I have a question for about batch operation.
Example;
I have a table with 10 row. I am using batch operation and each one goest to createSet.(10 row.)
Bapi works for every line.(It actually needs to work once for all lines.)
Because I have to take the result of each line and process according to the result.(commit , rollback..)
I can't do because batch data is sent one by one.Can you please help me ?
Is this what you are looking for?
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.