Picking and posting goods issue for a Outbound Delivery
I know this has been asked several times on these forums and on the web but I have failed to get a clear understanding of what I need to do and what I can do regarding changing the Picked Quantity on a Outbound Delivery from .NET Connector 3 and then posting a goods issue so the quantity of materials in the Warehouse is decreased.
The scenario is that the customer will create a Sales Order (and maybe even the Outbound Delivery) in SAP. We will then extract the Sales Order rows to a handheld terminal and the user is then supposed to head out into the Warehouse and "Pick" the materials.
Once he or she is done we need to update the quantity of the materials in the warehouse.
In order to acomplish this, i've found the following BAPI/FM:
BAPI_OUTB_DELIVERY_CREATE_SLS - If the handheld device is supposed to create the Outbound Delivery
WS_DELIVERY_UPDATE(_2) - Update the Picked Quantity on the Outbound Delivery
BAPI_OUTB_DELIVERY_CONFIRM_DEC - Update the PickedQuantity on the Outbound Delivery and/or post the goods issue
I haven't been fully successfu in invoking WS_DELIVERY_UPDATE(_2) or BAPI_OUTB_DELIVERY_CONFIRM_DEC. I have been successful in invoking WS_DELIVERY_UPDATE_2 and changed the Picked Qty but the status flags on the Outbound Delivery did not update correctly if i remember correctly. Even if i picked the same qty as was specified on the Outbound Delivery it still said that I had not started a pick.
I've also noticed that when i create a Outbound Delivery using the BAPI and then open it in SAP, it says that it's Overal Picked Status is Completed even though I have not picked anything...
So I could realy use some help regarding which BAPI/FM I need to invoke and with which parameters.
My first thoughts were to use the BAPI_GOODSMVT_CREATE but it blocks when I invoke it with GM_Code 03 and MOVE_TYPE 601.