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: 

not picking batch details

anupam_srivastava2
Participant
0 Kudos

Hello

I am using ws_delivery_update for doing picking and PGI for outbound delivries, the function does the picking , it updates the pick quantity but not the batch number.

here is the following code I have written.

If any body can tell what would be the problem

data: wa_vbkok like vbkok.

data: lt_vbpok like vbpok occurs 0 with header line.

data : L_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.

wa_vbkok-VBELN_VL = '0081399858'.

  • wa_vbkok-vbeln = '0081399838'.

wa_vbkok-komue = 'X'.

wa_VBKOK-WABUC = 'X'.

lt_vbpok-vbeln_vl = '0081399858'.

lt_vbpok-posnr_vl = 10.

lt_vbpok-vbeln = '0081399858'.

lt_vbpok-posnn = 10.

lt_vbpok-matnr = '000000000000005592'.

lt_vbpok-charg = 'xyz'.

lt_vbpok-lianp = 'X'.

lt_vbpok-lfimg = '28'.

lt_vbpok-PIKMG = '28'.

append lt_vbpok.

CALL FUNCTION 'WS_DELIVERY_UPDATE'

EXPORTING

VBKOK_WA = wa_vbkok

SYNCHRON = 'X'

NO_MESSAGES_UPDATE = ' '

COMMIT = ' '

DELIVERY = '0081399858'

UPDATE_PICKING = 'X'

NICHT_SPERREN = 'X'

  • 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 = L_PROTT

  • 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 =

3 REPLIES 3

anupam_srivastava2
Participant
0 Kudos

any suggestions

anupam_srivastava2
Participant
0 Kudos

thanks ebody.....all worked fine

0 Kudos

Hi,

May I know how did you update the batch number in picking ??

I am facing the same issue.

Thanks in advance.

Best Regards,

Nidhya