2008 Sep 01 4:39 PM
Hello experts.
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.... ***
Client....... ***
User..... ******
Transaction.. SE38
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!
Regards,
Andrés Sarcevic.
Hello experts.
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.... ***
Client....... ***
User..... ******
Transaction.. SE38
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!
Regards,
Andrés Sarcevic.
2008 Sep 01 5:08 PM
More info:
When the system invokes FM 'RV_DELIVERIES_SAVE' IN UPDATE TASK, the XVBUK table has one empty record!
Why? Still working...
Regards,
2008 Sep 12 7:48 PM
Solved!
The Sales Unit and Base Unit had to be added at level items.
BAPI_OUTB_DELIVERY_CHANGE for batch-split.
WS_DELIVERY_UPDATE for picking, packing and posting an Outbound Delivery.
Thanx for reading.
Regards,
Andrés Sarcevic.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |