Application Development 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: 

SD_DELIVERY_UPDATE_PICKING parameters

Former Member
0 Kudos

Guys,

i am trying to update the pick quantity on a delivery and i belive the FM SD_DELIVERY_UPDATE_PICKING can get that done. can someone please tell me what parameters need to be passed to this FM in order to update the quantity.we are going to have the pick quantity same as the delivery quantity.i could not find any documentation on this.

please let me know

thanks

1 ACCEPTED SOLUTION

former_member181966
Active Contributor
0 Kudos

checkout the thread !!!

Hope this’ll give you idea!!

<b>P.S award the points.!!! DOn`t forget :)!!!!</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

"Some are wise and some are otherwise"

5 REPLIES 5

former_member181966
Active Contributor
0 Kudos

checkout the thread !!!

Hope this’ll give you idea!!

<b>P.S award the points.!!! DOn`t forget :)!!!!</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

"Some are wise and some are otherwise"

0 Kudos

i am not able to get it working using that thread.i have already seen it but cant tell which parameters i would need to pass.

0 Kudos

Hi Abaper,

try with FM WS_DELIVERY_UPDATE. Here a sample code:

data: t_vbpok like vbpok occurs 0 with header line.

data: wa_vbkok like vbkok.

*append the item to be updated into t_vbpok

t_vbpok-vbeln_vl = <delivery number>.

t_vbpok-posnr_vl = <delivery item>.

t_vbpok-vbeln = sy-datum.

t_vbpok-posnn = sy-uzeit.

t_vbpok-pikmg = <delivery quantity in base UOM>.

append t_vbpok.

*

wa_vbkok-vbeln_vl = <delivery number>.

call function 'WS_DELIVERY_UPDATE'

exporting

vbkok_wa = wa_vbkok

delivery = <delivery number>

update_picking = 'X'

tables

vbpok_tab = t_vbpok.

Regards

former_member188685
Active Contributor
0 Kudos

Hi,

did you check these Programs..

<b>RVADEK01

RVADEKSU

RVADKE01

RVADSK01</b>

Regards

vijay

Former Member
0 Kudos

Hai Abaper

DATA: BEGIN OF HVBPOK OCCURS 10. "Lieferpositionen Kommiss.

INCLUDE STRUCTURE VBPOK.

DATA: END OF HVBPOK.

DATA: BEGIN OF SAV_NAST.

INCLUDE STRUCTURE NAST.

DATA: END OF SAV_NAST.

CALL FUNCTION 'SD_DELIVERY_UPDATE_PICKING'

EXPORTING

SYNCHRON = ' '

NICHT_SPERREN = 'Y' "note_97980

VBKOK_WA = VBKOK

AUFRUFER_T = 'X'

TABLES

VBPOK_TAB = HVBPOK.

NAST = SAV_NAST.

Thanks & regards

Sreeni