Error in BAPI_OUTB_DELIVERY_CHANGE
I'm having the hardest headache using FM API_OUTB_DELIVERY_CHANGE. My goal is to achieve a Batch Split for an item.
It seems that the BAPI executes correctly, with no records in T_RETURN, but the update in the Outbound Delivery is not issued.
I'm getting this message in SBWP:
Update was terminated
System ID.... ***
Update key... 48B96248...
Generated.... 01.09.2008, 12:15:40
Completed.... 01.09.2008, 12:15:41
Error info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
And of course, this DUMP: SAPSQL_ARRAY_INSERT_DUPREC, when the system tries perform an INSERT in VBUK with the same delivery number I'm updating. The duplicate key is obvious, but why?
I've read the following post without getting any result.
Still working. Thanks a lot for your time!