Hi Kishore,
I will try to explain in detail.
User opens the UI5 applicaiton:
1) Opens the transaction.
2) Updates Header information - For ex: Description and date
3) Adds an item
4) Updates an existing item.
5) Clicks Save.
If I have separate entities for Header and Item - I need to create a batch request that has a)Put request for header, b) Post request for an item, c) Put request for an item.
I need to have them all in one changeset - correct?
My real question is - Put request #(a) creates a lock on the transaction - updates header -releases the lock, Post request (b) creates the lock - adds an item - releases the lock. and Put request(c) creates the lock - Updates the item - releases the lock.
I'm trying to know if there is a better way of handling this. Would there be a way to submit all updates in one request and call update API only once(ex-CRM_ORDER_MAINTAIN or BAPI for sales order change) so that I'm not trying to open the transaction in edit mode three times.
Regards,
Seetharam