for a customer project I have to update serveral service order and create confirmations within one session.
The update of the service order is done with BAPI_ALM_ORDER_MAINTAIN (mainly adding partners), each call is done with a SAVE in IT_METHODS; with respect to SAP note 770626 also with DESTINATION 'NONE'.
Quite strange is, that e.g. the second call of the BAPI gives me success messages about the successfull creation of the first and the second order(?!). The third call gives success messages about the first, second and third order and so on...
When I then commit the transaction, I get a dump SAPSQL_ARRAY_INSERT_DUPREC in prog SAPLIPAR, Incl LIPARU08, FM PM_PARTNER_UPDATE at
INSERT IHPA FROM TABLE H_IHPA.
What does the SAVE in IT_METHOD mean exactly - does it only SAVE the REFNMUBER, or does it syve anything submitted to the BAPI within one session?
Any further hints?
Thanks & best regards,