Skip to Content
0
Jan 26, 2009 at 10:30 AM

BAPI_ALM_ORDER_MAINTAIN dumps in SAPLIPAR

118 Views

Hello all,

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,

Karsten