Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Packing the Materials in Outbound delivary

Hi All,

I used FM's WS_DELIVERY_UPDATE and SD_DELIVERY_UPDATE_PACKING for packing two different materials in a Delivary document. I made a loop for each line item coming from app server and tried to pack separately each time. But second material line item is not being packed in either case. I am unable to know the problem. I tried packing manually in vl02n transaction , they are getting packed.

CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING'

EXPORTING

DELIVERY = v_vbeln

COMMIT = 'X'

SYNCHRON = 'X'

TABLES

VERKO_TAB = VERKO_TAB1

VERPO_TAB = VERPO_TAB1

PROT = PROT1

EXCEPTIONS

ERROR_MESSAGE = 99

OTHERS = 01.

CALL FUNCTION 'WS_DELIVERY_UPDATE'

EXPORTING

VBKOK_WA = VBKOK_WA1

SYNCHRON = 'X'

  • NO_MESSAGES_UPDATE = ' '

COMMIT = 'X'

DELIVERY = V_VBELN

UPDATE_PICKING = 'X'

NICHT_SPERREN = 'SPACE'

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

  • PROT =

VERKO_TAB = VERKO_TAB1

VERPO_TAB = VERPO_TAB1

  • VBSUPCON_TAB =

  • IT_VERPO_SERNR =

  • IT_PACKING =

  • IT_PACKING_SERNR =

  • IT_REPACK =

  • IT_HANDLING_UNITS =

  • IT_OBJECTS =

ET_CREATED_HUS =

  • TVPOD_TAB =

  • IT_TMSTMP =

  • IT_BAPIADDR1 =

.

Tags:
Not what you were looking for? View more on this topic or Ask a question