Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SD_DELIVERY_UPDATE_PICKING

Former Member
0 Likes
1,133

Hi,

We have a req where we need to create a program that fully picks a delivery based on some conditions. (No Warehouse)

I used function module SD_DELIVERY_UPDATE_PICKING to achieve the same but it throws wierd results. whenever I take a fresh delivery to test it overpicks my delivery items ! that is if the delivery qty for line item 10 is 5, it shows the picked qty as 9 ! however in subsequent runs it behaves as needed that is picks all 5 qty.

Does anyone have any idea why it could be doing this ? Any better idea for doing this ?

Help will be highly apprecieated.

Thanks

Sameer

Hi,

We have a req where we need to create a program that fully picks a delivery based on some conditions. (No Warehouse)

I used function module SD_DELIVERY_UPDATE_PICKING to achieve the same but it throws wierd results. whenever I take a fresh delivery to test it overpicks my delivery items ! that is if the delivery qty for line item 10 is 5, it shows the picked qty as 9 ! however in subsequent runs it behaves as needed that is picks all 5 qty.

Does anyone have any idea why it could be doing this ? Any better idea for doing this ?

Help will be highly apprecieated.

Thanks

Sameer

4 REPLIES 4
Read only

Former Member
0 Likes
997

Any ideas guys ??

Read only

0 Likes
997

Not sure why it behaves weird - but you can explore with WS_DELIVERY_UPDATE function module.

with update_picking as 'X' after updating pick qty.

Read only

0 Likes
997

sap has given the following reply

Please be aware that FM WS_DELIVERY_UPDATE_2 is not released for

customer use. See the tab attributes in se37 as "Not released".

If you want to update an outbound delivery you can use logical messages

SHPCON and WHSCON. (function module IDOC_INPUT_DELVRY)

Kind regards,

Not sure where to check the 'release status' , I cannot find any such paramter in the attrributes in SE37, I am at 4.7, Any idea how to check the release status of a function module ??

Read only

0 Likes
997

you can see the release status in attributes tab in general data section 'Not released' below original language label.

Anyway IDOC_INPUT_DELIVERY do call this function module - up you us to decide to use this FM rather building idoc formatted data and using this idoc function module 🙂