09-29-2011 11:23 AM
Hi experts,
as I am trying to use message type SHPMNT with basic type SHPMNT05 to update an LE shipment, I have two questions:
-How can I pack the LE shipment? Which qualifier to use, what data to fill? I plan to use always the same packing material and handling unit, I thought, it should be possible. Also, there are segments related to packing (E1EDT37), but even though I fill them with the data I need in packing, the system does not do the packing. How to trigger that? I will put the second question into a second thread to make sure the person how answers gets more points.
Thank you in advance!
Below is my idoc structure (it works to do a shipment completion)
Message Type SHPMNT Basic Type: SHPMNT05
Segment Field Description Sample
E1EDT20 TKNUM Shipment Number 1101933359
E1EDT20 EXTI1 Shipment External reference 1101933359
E1EDT18 QUALF Qualifier CHA3%
E1EDT18 PARAM 3% (Means that all fields that are filled in the idoc shall be changed. others unchanged.
E1EDT10 QUALF To indicate that the sap must do a shipment completion 004
Repeat segment if you need to do other things
E1EDT10 IEDD Shipment completion end date 20110926
E1EDT10 IEDZ Shipment completion end time 101344
E1EDT20 VBELN Delivery number (with leading zeroes 10 digits) 0083127938
E1EDL24 POSNR Item Number (with leading zeroes 6 digits) 000001
E1EDL24 MATNR Material Number (with leading zeroes 18 digits) 000000000000450931
E1EDL24 WERKS Plant 74A7
E1EDL24 LGORT Storage location POLC
E1EDL24 CHARG Batch number LOLO
regards
Petra Just
10-26-2011 2:05 PM
I found out how to do the packing in the shipment using the standard function module IDOC_INPUT_SHPMNT.
Therefore, I will give the solution as an answer to my own question:
E1EDT39 QUALF Qualifier ASG (this is to say that the packing must be done)
E1EDT39 PARAM Parameter %3 (this is a possible parameter)
E1EDT37 EXIDV Handling unit 10181721
E1EDT37 VHILM Packing material 000000000000999001
E1EDT43 VELIN Indicator what has to be packed 1 (1 stands for material item)
E1EDT43 VBELN Delivery Number 0083127999
E1EDT43 POSNR Delivery item 900001 (when there is a batch, use the batch item, check which item is there when you pack manually in the packing screen)
E1EDT43 EXIDV Handling unit 10181721
E1EDT43 VEMNG Packing quantity 1
E1EDT43 VEMEH Packing quantity unit TO
E1EDT43 MATNR Material Number 000000000000450931
Make sure 43 is one level below 37 and 39 is at the same level as 37.
In order for this to work, all the other segments described in my question have to be filled, exept for the ones related to the delivery E1EDL and E1EDT20-VBELN (these are not used).
Hope it helps.
Petra
Edited by: Petra Just on Oct 26, 2011 3:08 PM
10-26-2011 2:05 PM
I found out how to do the packing in the shipment using the standard function module IDOC_INPUT_SHPMNT.
Therefore, I will give the solution as an answer to my own question:
E1EDT39 QUALF Qualifier ASG (this is to say that the packing must be done)
E1EDT39 PARAM Parameter %3 (this is a possible parameter)
E1EDT37 EXIDV Handling unit 10181721
E1EDT37 VHILM Packing material 000000000000999001
E1EDT43 VELIN Indicator what has to be packed 1 (1 stands for material item)
E1EDT43 VBELN Delivery Number 0083127999
E1EDT43 POSNR Delivery item 900001 (when there is a batch, use the batch item, check which item is there when you pack manually in the packing screen)
E1EDT43 EXIDV Handling unit 10181721
E1EDT43 VEMNG Packing quantity 1
E1EDT43 VEMEH Packing quantity unit TO
E1EDT43 MATNR Material Number 000000000000450931
Make sure 43 is one level below 37 and 39 is at the same level as 37.
In order for this to work, all the other segments described in my question have to be filled, exept for the ones related to the delivery E1EDL and E1EDT20-VBELN (these are not used).
Hope it helps.
Petra
Edited by: Petra Just on Oct 26, 2011 3:08 PM
10-26-2011 2:13 PM
11-29-2011 12:22 PM
Hi Petra,
my quesiton is the oposite direction. I want to create a shipment with SHPMNT05 / SHPADV IDoc WITHOUT using Handling Unit but error message is always saying:
Creation of handling units was not successful
Error: Could not create HU
does not have packaging material type and is therefore not a pack.mat.
I'm tryingh to solve this now for three days so you're help is very appreciated.
I tried to rebuild up IDoc from scratch and error occurred after entering the stage category. Maybe this or next processing step is causing the error. E1EDT20.PKSTK ("Shipment Contains HU's") is making no difference if set to X (yes) or leaving blank (no).
I use following IDoc -fields:
E2EDT20001 SHTYP 1
E2EDT20001 ABFER 1
E2EDT20001 ABWST 3
E2EDT20001 BFART 3
E2EDT20001 VSART 1
E2EDT20001 LAUFK 4
E2EDT20001 VSBED 1
E2EDT20001 ROUTE TW0001
E2EDT20001 EXTI1 EXT. SHIPMENT NBR
E2EDT20001 STTRG 0
E2EDT18 ORI QUALF ORI
E2ADRM4001 OTP PARTNER_Q OTP
E2ADRM4001 OTP PARTNER_ID HU01
E2ADRM4001 OTP JURISDIC MN0000000
E2ADRM4001 OTP LANGUAGE EN
E2ADRM4001 OTP NAME1 Name1
E2ADRM4001 OTP NAME2 Name2
E2ADRM4001 OTP STREET1 Street1
E2ADRM4001 OTP HOUSE_SUPL 915
E2ADRM4001 OTP POSTL_COD1 55350
E2ADRM4001 OTP CITY1 HUTCHINSON
E2ADRM4001 OTP COUNTRY1 US
E2ADRM4001 OTP REGION MN
E2ADRE4000 305 EXTEND_Q 305
E2ADRE4000 305 EXTEND_D HU01
E2EDT10001 1 QUALF 1
E2EDT10001 1 IEDD 20111128
E2EDT10001 1 IEDZ 101344
E2EDK33001 TSRFO 1
E2EDK33001 TSTYP 1
E2EDK33001 VSART 1
E2EDK33001 LAUFK 4
E2EDK33001 DISTZ 0.000
E2EDK33001 FAHZT 0.00
E2EDK33001 GESZT 0.00
E2EDK33001 GESZTD 0
E2EDK33001 FAHZTD 0
E2EDK33001 GESZTDA 0
E2EDK33001 FAHZTDA 0
E2EDK33001 FRKRL X
E2EDK33001 FBSTA A
E2EDK33001 WARZTD 1
E2EDK33001 WARZTDA 0
E2EDT44001 1 QUALI 1
E2EDT44001 1 VSTEL HU01
E2EDT49000 VSTEL_BEZ SHIPPING POINT
E2ADRM6001 JURISDIC Jurisd2
E2ADRM6001 LANGUAGE EN
E2ADRM6001 NAME1 Name1
E2ADRM6001 NAME2 Name2
E2ADRM6001 STREET1 Street1
E2ADRM6001 HOUSE_SUPL 915
E2ADRM6001 POSTL_COD1 55350
E2ADRM6001 CITY1 HUTCHINSON
E2ADRM6001 COUNTRY1 US
E2ADRM6001 REGION MN
E2EDT44001 2 QUALI 2
E2EDT44001 2 KUNNR 100000
E2ADRM6001 JURISDIC Jusrisd1
E2ADRM6001 LANGUAGE EN
E2ADRM6001 NAME1 CUSTOMER DOMESTIC 00
E2ADRM6001 CITY1 ATLANTA
E2ADRM6001 COUNTRY1 US
E2EDT01001 VBELN 80000058
E2EDL20003 VBELN 80000058
E2EDL20003 VSTEL HU01
E2EDL20003 VKORG 1000
E2EDL20003 INCO1 CFR
E2EDL20003 ROUTE 1
E2EDL20003 VSBED 1
E2EDL20003 BTGEW 2.000
E2EDL20003 NTGEW 2.000
E2EDL20003 GEWEI KGM
E2EDL21 LFART LF
E2EDL21 LPRIO 1
E2EDL21 TRAGR 1
E2EDT13001 7 QUALF 7
E2EDL24007 POSNR 10
E2EDL24007 MATNR TestItem
E2EDL24007 WERKS HU01
E2EDL24007 LGORT 1020
E2EDL37005 EXIDA A
Any idea?
Regards,
Dennis
04-24-2014 5:45 AM
Hello Petra,
I am trying to create handling units using SHPMNT06 but without delivery reference. In my business scenario, delivery is not created, but we need to store packaging materials and weights in handling units on shipment. But system is trying to search for HU and errors saying "could not find HU $0001" even though I send E1EDT37-EXIDV = $0001.
Can you advise if there is any info that I should be sending in particular for this to work?
regards,
Shipra.