We are tryiing to use the "BAPI_ALM_ORDER_MAINTAIN" for creation of maintenance order and updating the object list in maintenance order header with multiple assemblies.
The BAPI works fine when there is only one record is maintained in the object list IT_OBJECTLIST, but if we maintain more than one record in IT_OBJECTLIST, then also only first entry gets updated after execution of the BAPI. remaining entries from the object list does not get updated in the maintenance order.
The operations from the IT_OPERATION does gets populated correctly into the order.
Has any one come acrooss this issue earlier. I am not sure if there is any specific setting in it_method or update table which is missing here ?
In IT_METHODS table we are maintaining entries for creation of header as well as creation of object list and then the save entry.
In IT_OBJECTLIST_UP we are maintaining the "processing indicator" check box for all entries in IT_OBJECTLIST table.
You valuable inuts are expected.
Thanks and Reagrds,