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: 

ws_delivery_upate for picking and PGI

Former Member
0 Kudos

Hi All

Can I use ws_delivery_update FM for doing picking and PGI, if yes what parameters are ncessary to pass, if somebody can provide with the sample code taht will be gr8.

thanks

Archana

3 REPLIES 3

Former Member
0 Kudos

any suggestions

0 Kudos

Hi All

I am doing the picking using ws_delivery_update....

I have passed the following parameters.........its doing the picking, but its not taking the batch (which I want to keep static say 'XYZ')

Can any body suggest me , how can I put this Batch details.

wa_vbkok-VBELN_VL = '0081400093'.

lt_vbpok-vbeln_vl = '0081400093'.

lt_vbpok-posnr_vl = 10.

lt_vbpok-vbeln = '0001336923'.

lt_vbpok-posnn = 10.

lt_vbpok-matnr = '000000000000002002'.

lt_vbpok-charg = 'xyz'.

lt_vbpok-lianp = 'X'.

lt_vbpok-lfimg = '480'.

lt_vbpok-PIKMG = '480'.

append lt_vbpok.

CALL FUNCTION 'WS_DELIVERY_UPDATE'

EXPORTING

VBKOK_WA = wa_vbkok

  • SYNCHRON = 'X'

  • NO_MESSAGES_UPDATE = ' '

COMMIT = 'X'

DELIVERY = '0081400093'

UPDATE_PICKING = 'X'

  • NICHT_SPERREN = ' '

  • IF_CONFIRM_CENTRAL = ' '

  • IF_WMPP = ' '

  • IF_GET_DELIVERY_BUFFERED = ' '

  • IF_NO_GENERIC_SYSTEM_SERVICE = ' '

  • IF_DATABASE_UPDATE = '1'

  • IF_NO_INIT = ' '

  • IF_NO_READ = ' '

  • IF_ERROR_MESSAGES_SEND_0 = 'X'

  • IF_NO_BUFFER_REFRESH = ' '

  • IT_PARTNER_UPDATE =

  • IT_SERNR_UPDATE =

  • IF_NO_REMOTE_CHG = ' '

  • IF_NO_MES_UPD_PACK = ' '

  • IF_LATE_DELIVERY_UPD = ' '

  • IMPORTING

  • EF_ERROR_ANY_0 =

  • EF_ERROR_IN_ITEM_DELETION_0 =

  • EF_ERROR_IN_POD_UPDATE_0 =

  • EF_ERROR_IN_INTERFACE_0 =

  • EF_ERROR_IN_GOODS_ISSUE_0 =

  • EF_ERROR_IN_FINAL_CHECK_0 =

  • EF_ERROR_PARTNER_UPDATE =

  • EF_ERROR_SERNR_UPDATE =

TABLES

VBPOK_TAB = lt_vbpok

  • PROT =

  • VERKO_TAB =

  • VERPO_TAB =

  • VBSUPCON_TAB =

  • IT_VERPO_SERNR =

  • IT_PACKING =

  • IT_PACKING_SERNR =

  • IT_REPACK =

  • IT_HANDLING_UNITS =

  • IT_OBJECTS =

  • ET_CREATED_HUS =

  • TVPOD_TAB =

.

0 Kudos

Hi

I am getting this error when I run the ws_delviery_update.

'Material is not the same for confimation and delivery' ..........any idea how can I resove this