Outbound Delivery Handling Unit HU material box pallet

Advertisement

Business requirement.
To create a delivery based on a sales order using a function module. To do this, users have an AbapWebdynpro application to collect data, 
Handling units for boxes and handling units for pallets are creates as the user packs his materials in the application.
Items are packed in boxes and boxes on pallets.
Problem description: cannot pack boxes onto pallets.
I can pack items in boxes no problems. Delivery gets created ok.
How i do it:
Step 1:
At the end of AbapWebdynpro process and validations, if no errors occurs, a function module is called to format the data and call fm to create a delivery.
This part works as expected and is all ok.
Step 2:
Then in the function module that will create de delivery, header proposal is filled for boxes and pallets. itemproposal is filled for items in boxes and pallets
Step 3:
then,
FUNCTION 'BAPI_HU_CREATE' is used to create handling units for items
This part works perfectly for boxes and items but not for pallets.
then, delivery create
CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING_1'
EXPORTING
delivery = ls_createditems-document_numb
commit = 'X'
synchron = 'X'
TABLES
verko_tab = i_verko
verpo_tab = i_verpo
prot = i_prot
it_handling_units_1 = i_handling_unit
EXCEPTIONS
update_not_possible = 1
OTHERS = 2.
This part works fine also if not pallets HU are present in the data .
The problem is when i want to create a pallet and add the boxes to it. I have tried about every thing i read but had not much success.
The only thing that came close to doing the job is the following code.
First i create the delivery with boxes and materials only and with the following FM, i create the pallet and attach it to the delivery line but then i can not assign the boxes to it.
ls_handling_units-top_hu_external = ls_packed_pallets-hu_pallet.
ls_handling_units-top_hu_internal = ls_hupallet.
ls_handling_units-venum = ls_huboxes.
ls_handling_units-vepos = ls_packed_boxes-posnr.
ls_handling_units-rfbel = lv_vbeln.
ls_handling_units-rfpos = ls_packed_boxes-posnr.
APPEND ls_handling_units TO lt_rehang.
Step 4:
CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING_1'
EXPORTING
delivery = ls_createditems-document_numb
commit = 'X'
synchron = 'X'
TABLES
verko_tab = i_verko
verpo_tab = i_verpo
prot = i_prot
it_handling_units_1 = i_handling_unit
EXCEPTIONS
update_not_possible = 1
OTHERS = 2.
Is anyone succeed to create a program to create outbound delivery where materials are pack into boxes and those boxes are packed on pallets.
Regards
dstj

Advertisement

If the delivery document PGIed then you need to do VL09 transaction to reverse the PGI document.
Then do in VL02N transaction  select Delete handling unit assignment icon it will remove all the handling units from delivery.
Later goto EDIT option then selct copy pack qty as dlv qty then save.Later system will allow you to delete the document.

October 11, 2015

Outbound Delivery Handling Unit HU material box pallet

Business requirement. To create a delivery based on a sales order using a function module. To do this, users have an AbapWebdynpro application to collect data,  Handling units for boxes and handling units for pallets are creates as the user packs his

Outbound del: handling unit creates pack item

Hi, I want in the delivery an extra line when I create a handling unit. Is this just one setting in customizing? I know I have to create packing instructions and a verp material, but I want to know how to activate the extra 9000 line with the packing

Information about outbound delivery and its handling units

Hi All experts, I am working on a requirement where I have to display information about the following : 1. Outbound delivery number. 2. related Handling units( 1 or 2 ) indentification number. 3. Transport number. 4. Shipping to party. 5. Line items

More than one deliveries into a single handling unit

Hello, We are a retail apparel company and use SAP to communicate delivery requirements for our stores.  We would like the ability to consolidate our deliveries into a single handling unit.  This will help reduce freight and will simplify our receivi

Packing handling units to outbound delivery with batch management

Hello all, I am packing an outbound delivery with a material that has batch management active. The packing is from a storage location that manages handling units (HU-managed sloc). My problem is u2013 before entering the HUs to the delivery u2013 the

How to create nested Handling units at VL01n Outbound delivery

Hi Please assist me How to create Nested Handling units at the time of Outbound delivery VL01nHi, go to Edit-Pack, In First tab will be "Pack Material", give Packing Materials & enter. You will get a HU Number generated. select this line &am

Handling unit delivery reversal with VL09 in ECC 6.0

Dear All, We have created few deliveries which has handling unit & packing. However now these  deliveries are to be reversed or cancel due to the adress change. These deliveries are created when we had 4.7 version but this month we upgraded the syste

Packaging Material and Handling Unit Issue

Dear All, Context:       VL02N Outbound delivery (& packing) I have 2 packaging material 1.box 2.carton Finish product  a,b,c,d  etc I want to put multiple finish product in a box then I want to put 3box in a carton. I have VERP Packaging maerial  00

Picking handling unit in Delivery

Hi, I have a scenario in which I want to pick handling units from stock into the delivery. At the time of picking in delivery transfer order is created, but warehouse management is not in the scope. Can we pick handling unit in delivery without wareh

Delivery number of a handling unit number

Hi, How can i see a delivery number of a handling unit numer?(in which transaction)You can go to the table VBFA and enter the HU document number in succeeding document no. and give the preceding document category as 'J'. This will give you the corres

Prevent outbound delivery for material not in stock

Hi Friends, I dont want to allow system to create outbound delivery for material not in stock. What configuration should i maintain for the same. My example is as below: I have an order with 5 qty of material A and as there is no stock system has spl

Outbound delivery without reference and customer-material info record

We use outbound deliveries without reference (L0). Several customers want their own material number printed on the delivery notes. So we considered using customer material info records. Unfortunately, the customer material number is not copied from t

Handling unit created with BAPI_HU_CREATE   doesnt show up in Delivery

Hi   I m successfully creating a handling unit with the following code in a delivery user exit on Save. I can see the handling unit in the VEKP table. But if i open the delivery i cant see it. The VPOBJKEY has some weird value like 3342 instead of th

Mapping handling unit IDs to material numbers

Dear Gurus, I want to map handling unit IDs to material numbers (MATNR from /SAPAPO/MATKEY). How can I do this? Which tables do I need to join with /SCWM/ORDIM_C? I found attribute MATID in table /SCWM/ORDIM_C which contains 32 digits and is a hex co

Outbound Delivery with TWO material Documents

Dear all, Here at my client place, User has created Cash Sales order with Qty-1, and done Post Goods Issue (PGI). But when go into document flow of sales order it shows two material documents under one outbound delivery. But is it possible to have tw

Handling units in delivery

hello gurus    can any body send the relavent stepby stepby step configuration settings for handling units. thanks in advance, baluHi Bala, Please go through this SAP help it will help you, http://help.sap.com/saphelp_47x200/helpdata/en/16/4bad1ba636

Outbound Delivery and Storage Location

hey everybody, this is our status quo: we create a outbound delivery based on a sales order & at the end of the creation of the delivery we are doing the goods issue immediately to do the material movement. we do that, because we need a material docu

Handling Unit Error

Hi All, The scenario is STO from Plant(2003) to Plant(2002) within company and sales from Plant 2002 to customer. VA01(Plant2002-no stock)->ME21N->VL10B(with HU-from Plant 2003)->VF01(JEX)->MIGO(GR w.r.t delivery,selecting via.HU)> VL02N-fr

Handling Units in Inbound deliveries

Dear All, Could you please let me know what is the complete SAP process for HUM in Goods reciept with and without WM. We are recieving the  Boxes containing various combinations of configurable material from the Supplier and the same are being delive

Outbound Delivery while QM-UD

Hi Gurus, Can anybody tell me how an Outbound delivery could be generated when I do Usage decision for a product? For your reference, I have below setting in Insp types Insp for HU option - enabled That means I am want to do Inspection of Handling Un