01-11-2007 7:55 AM
Hi,
I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
If we do not make picking quantity also zero it will not allow to delete these items
and gives an error message saying "item is already made available for transfer order".
Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
Thanks
01-11-2007 8:43 AM
Hi Vikram
To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
Parameters to be passed:
VBKOK_WA
-- VBELN_VL - Delivery Number
-- VBELN - Sales Document Number
SYNCHRON - 'X'
VBPOK_TAB
-- VBELN_VL - Delivery Number
-- POSNR_VL - Delivery Item Number
-- VBELN -- Sales Document Number
-- POSNN -- Sales Document Item Number
-- MATNR -- Material Number
-- LFIMG -- '0.000'.
Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
Please try on your end too...
Hope this helps.
Regards
Eswar