on 02-13-2008 8:02 AM
hi experts,
i have a requirement in which we have to update a shipment according to an updated delivery.
a delivery is created and a shipment is created from that delivery.
now if i update that delivery, i also need to update the shipment accordingly.
for example, if in the beginning i had material 12859 with qty 10 in the delivery, the shipment also has the same naterial with same qty.
now if i update the delivery by changing the qty of 12859 to 20 and add a new item 12860 in the delivery with qty 15, i need to update the shipment by changing the qty of 12859 from 10 to 20 and add the new line item 12860.
i must also consider batch split for certain items.
for example, if the item 12859 is delivered in two batches qty 15 and qty 5, in the shipment it should be like:
12859 0
12859 15 batch number
12859 5 batch number
can you please advise me on how i can proceed with this kind of situation?
can i use the bapi BAPI_SHIPMENT_CHANGE?
if i update the delivery and pass the delivery number in the bapi BAPI_SHIPMENT_CHANGE, will these changes take effect in the shipment?
Thanks & Regards,
Vitish.
Hi Vitish,
Your thinking is correct, work on it it may fullfill your requirement.
Regards,
Murali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali,
I was wrong about updating the shipment. Actually i need to update the RADB according to the delivery and leave the returned goods as they are in RADB. I have the solution to that and perhaps you might already know about this FM. I am using the FM /DSD/RTACC_DB_PREPARE_MAINTAIN to update the RADB.
This updates the table /DSD/HH_RADELIT with the new items and also batch splits.
Regards,
Vitish.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.