Handling Unit - COP2 error
I create a Production order for a material
When we create a Production order for 30 numbers and execute cop2 the transaction code is working fine , Handling units are created , confirmations and goods receipt also happening
When we create a production order for 60 and execute cop2
For first 30 there is no issue Handling units are created , confirmations and goods receipt also happening ,
But when we execute the cop2 transaction code handling units are generated , when i press the confirmtion and goods reciept i get the error as below
Error
No alternative unit of measure specified
Message no. MM108
Diagnosis
You want the system to convert from the base unit of measure to an alternative unit of measure for the current material. However, this alternative unit of measure is missing.
System Response
The system cannot carry out the conversion.
Procedure
This is due to a program error that should not occur. Please contact your system(s) administrator.
I have checked the material master Alternate UOM is there
I tried this for 6 different materials this error is coming .
BUt still Handling unit , confirmations and goods receipt is happening even though i get the error .
Recently we had a servie pack update , is there a possibility that it is becuase of the service pack update
Please advice
Dear,
Please refer OSS note 988697
Similar Messages
-
URGENT DELIVERY HANDLING UNIT STATUS ERROR
Hi Experts when i am doing PGI i am getting the following error and system is not allowing to do PGI
ERROR: When trying to read the status of an object (HU 210868), a system error occurred: For object number HU0000210868 there is no status object.Hi Ramesh,
The material is having the Packing ( Handling Units).
In delivery please do the Packing for the Materials because they have linked with the Handling Units. and Also check the wheather the Handling Units are configured properly.
For your Information please go through the Below which will help you further.
The SAP Handling Unit Management system allows you to manage the entire movement of the handling units and the materials they contain rather than tracking each material individually.
This paper is for the HUM Delivery although some of the contents is related to Inventory under the Logistics General modules.
Table of Contents
Objective
IMG Menu The Starting Point
Handling Unit Management Overview
Start of HUM Outbound Deliveries Manual Packing Configuration
Define Number Ranges for Handling Units
Define Packaging Material Types
Define Material Group for Packaging Materials
Define Allowed Packaging Materials
Use Handling Unit Supplements
Maintain Goods Movements for Handling Unit Stock-Posting
Define User Status Profile
Set QM Check and Delivery Type for Each Movement Type
HU Requirement for Storage Locations and Default Values for Deliveries
Packing Control By Item Category
Define Requirements for Packing in the Delivery
Delivery Type Determination
Set Unique Number Assignment for HU Identification
Number Range Maintenance for HU Identification
Define Number Assignment for Each Packaging Material Type
Delivery Output type for Packing List
Maintain the Delivery Output Determination Procedure
What else to maintain after the Manual Handling Units Configurations?
Start of the Automatic Packaging Configuration
Define Number Ranges for Packing Instructions
Define Determination Type for Packing Instructions
Define Number Ranges for Packing Instruction Determination Records
What else to maintain after the necessary Automatic Packaging Configurations?
Appendix A: How to do Manual Packing for Non-Assigned Handlings Units?
Appendix B: Scenario 1 How to do Manual Packing by Delivery Item?
Appendix C: Scenario 2 How to Manual Pack the Materials into Pallets?
Appendix D: How to do Automatic Packing?
Appendix E: How to do Goods Movement for Handling Unit Material?
Appendix F: How to Unpack the Handling Unit Material?
A handling unit is a physical unit that consists of the packaging materials (load carrier / packaging material) and the goods contained therein. A handling unit is always a combination of materials and packaging materials. All the information contained in the material items, such as batches and serial numbers, is always available by way of the handling units.
Handling units can be nested, meaning that you can also create new handling units from several handling units as often as you like.
Handling units have unique, scannable identification numbers that can be formed according to standards such as EAN 128 or SSCC.
Figure 1: Handling unit example
Structure
The handling unit object contains the following attributes:
Identification number
Dimensions
Weight
Volume
Status
Materials and quantities
Packaging materials
Packing instructions
A handling unit consists of a handling unit header and handling unit items. For identification purposes, it is given a unique number.
Handling unit header
The header data of a handling unit is divided in the following way:
Weight/Volume/Dimensions
General data
Means-of-transport data
Additional data
Output determination procedure
For more information about each of these detailed points, see Editing detailed data for handling units.
Status
The handling unit is linked to general status management. In this way, the various physical states (planned or implemented) and other attributes (weighed, loaded, blocked or posted goods issue) of handling units can be documented.
You can use the HU_ST_INIT user parameter when you create handling units without object reference to set which initial status the handling unit is to have when it is created.
If you want to implement a status of your own, you can define a user-specific procedure for the packaging material type (see also Define Packaging Material Types).
Handling unit item
The items of a handling unit can consist of material items, packaging materials or other handling units that appear in an overview. For more information about this overview, see the Contents section of Editing detailed data for handling units.
To access the item data of an individual handling unit, select the handling unit concerned and choose Goto  Detailed HU data  Contents.
Integration
Handling units can be used in all processes within the supply chain.
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
Handling unit check error L3779
Hi,
I am getting an error message in LH01 *Pick HU assignment only allowed with empty HUs
Message no. L3779*.
Can you tell me why I am getting this error for my plant only not with any other plant.
My functional counterpart has checked all the configuration and there seems no change in the settings.
Thanks and Regards,
YashwinHello Yashwin
Search for this message on ECC 6.0 (Where-Used-List) I found just one occurrence (of course there may be additional indirect usages) in include ML03TFHU_F01_CHECK_211_EXIDV:
*** Check if HU is free but with stock on it
if ivekpvb210-vpobj = con_vpobj_nichts or "05
ivekpvb210-vpobj = con_vpobj_frei or "06
ivekpvb210-vpobj = con_vpobj_hulgort_frei. "12
* HU mustn't be assigned to a delivery or production order
if ( ( lf_hu_is_empty is initial ) and
( not ltak-vbeln is initial or
not ltak-rsnum is initial ) ).
message E779
raising used_in_another_doc.
else.
* On a free HU with stock we need more checks below
free_hu_check = con_x.
endif.
endif.
Perhaps looking through this coding (and debugging) might be helpful to come closer to the root cause of your problem.
Regards
Uwe -
Hi Experts,
Can anybody solve my problem,
I have a production order for my FG. I have created packing instruction & Packing instruction determination records for FG. I have confirm order. GR does not happen. When I try to pack order in COWBPACK facing following error.
*Material FG01-1094 in SLoc SL17 of plant 2222
not maintained*
Message no. M3352
Diagnosis
No data exists yet for material FG01-1094 in storage location SL17 of plant 2222.
Procedure
Check that the data is correct.
If your data is correct, create the material master record for storage location SL17 of plant 2222.
Where I am wrong.Dear,
Please refer OSS note 988697 -
Hi All
we are working in HU and SU managed warehouse scenario , where for packing artiacles we are using HU units for carton and SU for pallet , HU and SU configuration is carried out and Put away is perfect successful with out any error , but while doing outbound delivery against sales order , i am getting lot of errors with HU's , can any body tells me how to do the packing for outbounddelivery , and subsequent TO creation picking step for HU and SU managed warehouse,
thanks in advanceHi Chunduri,
we also use SAP WM with Handling Units.
The process works as follows:
With confirmation of the TO (Transport Order), the picked Handling-Units are assigned to the outbound delivery.
Please check Customizing table-view V_T340DC.
Pick&Pack should be checked (=X).
Best Regards,
Juergen -
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-from Plant 2002(with same HU of Plant 2003)-> VF01.
When i am doing the outbound delivery from Plant 2002(with same HU of Plant 2003), iam getting the following error.
Handling unit 1000000023 has status 0040 - No Assignment to outbound delivery
Message no. HUDIALOG141
Diagnosis
While processing an outbound delivery, you can only assign handling untis that are currently in stock. This includes handling units with status '0020' = (stock not at HU STORAGE LOCATION) and '0030' (stock at HU STORAGE LOCATION).
Handling unit 1000000023 that you selected has a current status of 0040,
System response
Handling unit 1000000023 cannot be assigned to this outbound delivery.
Procedure
If the handling unit has status '0001' (planned) or '0010'-'0011' (realized), check whether you have to post goods receipt for the handling unit. If the stock is already in the warehouse, you can change the status manually by choosing 'Process handling unit'.
Kindly help me.
with regardsHi Azeez,
I hope you are trying to pack the material in already used HU.
In your scenario, initially plant 2003 used a HU to deliver the goods to plant 2002. now after doing GR in 2002, you are PGI ing from 2002. You can only use existing HU's that are available for packing in plant 2002. If you try to use HU of plant 2003, if it is not defined in plant 2002 system won't allow to use it.
Thanks
Chandramouli -
Hi ALL,
1. We have to pack the matrials to handling units in the delivery
2. We have to pick it.
We tried through IDOC, FM also. But it is giving an error *'There is already a handling unit 1000000151 posted for GR without stock.
Here 1000000151 is a handling unit number.
When we tried fore gound it is working properly. But through Idocs ansd FMs it is throwing above message.
Idoc - DELVRY03 : message type SHPCON
FM - SD_DELIVERY_UPDATE_PACKING_1, WS_DELIVERY_UPDATE
Please advice us how to proceed.
Thanks & Regards
AvanishHi,
System will trhow this error in below cases:
1. the Sloc is HU mangaed and HU's are not packed for inbound delivery.
2. HU's packed and T.O created.
So check whether you are packed the items in inbound or T.O already created.
Hope this helps you.
Rgds,
Kris. -
Handling unit error: HU into which you want to pack could not be found
Dear All,
I used BAPI
BAPI_HU_CREATE
HU_PACKING_AND_UNPACKING
To create handling unit for delivery,
But when I run HU_PACKING_AND_UNPACKING then error:
u2018HU into which you want to pack could not be found,u2019,I know system not found the item unti to Pack,But I donu2019t know how to set this field?
Could you give some help?
ThanksTry this
DATA S_VEKP TYPE VEKP.
DATA: LS_VBKOK_WA TYPE VBKOK,
LT_PROT TYPE TABLE OF PROTT,
LT_REHANG TYPE TABLE OF HUM_REHANG_HU,
LT_REHANG_WA TYPE HUM_REHANG_HU.
LS_VBKOK_WA-VBELN = LIPS-VBELN." '0080002891'.
LS_VBKOK_WA-WABUC = 'X'.
LS_VBKOK_WA-VBELN_VL = LIPS-VBELN."'0080002891'.
LS_VBKOK_WA-VBTYP_VL = '7'.
LOOP AT HUITEM.
LT_REHANG_WA-VENUM = HUHEADER-HU_ID.
LT_REHANG_WA-VEPOS = HUITEM-HU_ITEM_NUMBER.
LT_REHANG_WA-RFBEL = LIPS-VBELN."'0080002891'.
LT_REHANG_WA-RFPOS = LIPS-POSNR. "'000010'.
APPEND LT_REHANG_WA TO LT_REHANG.
ENDLOOP.
VEKP-VHILM_KU = VEKPVB-EXIDV.
DATA I TYPE I VALUE 1.
LOOP AT XLIPS INTO LIPS.
READ TABLE TVEKP INTO S_VEKP INDEX I.
VEKP-VHILM_KU = S_VEKP-EXIDV.
vekp-vhilm = 'IPALLET'.
VEKP-HU_LGORT = 'X'.
VEKP-EXIDV = ''.
i = i + 1.
read table tvekp into vekp index i.
CALL FUNCTION 'V51P_FIND_HEADER'
EXPORTING
IF_HEADER_INDEX =
IS_GENERAL =
IS_VEKP = vekp
IMPORTING
ES_HEADER = evekp
EF_HEADER_INDEX =
EXCEPTIONS
NOT_FOUND = 1
NO_SHP_MAT = 2
ERROR_ON_EXIDV = 3
FATAL_ERROR = 4
OTHERS = 5
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PACKING**************
DATA IS_V51VP TYPE V51VP.
IS_V51VP-TMENG = LIPS-FMENG.
DATA ET_CHANGED TYPE VSEP_T_CHANGED.
DATA ES_ITEM TYPE V51VP.
break vijgal.
MOVE-CORRESPONDING LIPS TO IS_V51VP .
IS_V51VP-VBELN = '10'.
IS_V51VP-HU_LGORT = 'X'.
CALL FUNCTION 'V51P_FIND_MATERIAL'
EXPORTING
IF_INDEX_MATERIAL =
IF_NO_OBJECT =
IF_DONT_CHECK =
IF_FAST_ENTRY =
IS_V51VP = IS_V51VP
IT_V51VP =
IMPORTING
EF_INDEX =
ES_MATERIAL_ITEM = ES_ITEM
ET_CHANGED = ET_CHANGED
ET_SERNR =
EXCEPTIONS
ITEM_NOT_FOUND = 1
MAT_NOT_FOUND = 2
ERROR = 3
OTHERS = 4
*ES_ITEM-HU_LGORT = 'X'.
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE-CORRESPONDING LIPS TO HU.
HU-VBELN = ' '.
hu-EXIDV = evekp-exidv."'$'.
hu-venum = evekp-venum.
*hu-VEPOS = lips-posnr.
hu-VELIN = '1'.
hu-BELNR = LIPS-VBELN.
hu-POSNR = lips-posnr.
*hu-SUB_HU_VENUM
*hu-SUB_HU_EXIDV
hu-QUANTITY = lips-LFIMG.
HU-GEWEI = LIPS-GEWEI.
HU-MAGRV = LIPS-MAGRV.
hu-ALTME = lips-meins.
hu-LGNUM = WHS_ID.
*HU-
hu-MEINS = lips-meins.
*hu-INVENT
hu-MATNR = lips-matnr.
hu-CHARG = lips-charg.
*SERAIL =
*SERPFL
hu-WERKS = lips-werks.
hu-LGORT = lips-lgort.
hu-P_MATERIAL = evekp-vhilm."'IPALLET'.
HU-CUOBJ = LIPS-CUOBJ.
MOVE-CORRESPONDING ES_ITEM TO HU_ITEM.
CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
EXPORTING
IF_REPACK =
IS_PACKING_REQUEST = hu
IMPORTING
EF_RCODE =
ES_P_REQUEST = HU
ES_ITEM = hu_item
CHANGING
CS_HEADER =
EXCEPTIONS
MISSING_DATA = 1
HU_NOT_CHANGEABLE = 2
NOT_POSSIBLE = 3
CUSTOMIZING = 4
WEIGHT = 5
VOLUME = 6
SERIAL_NR = 7
FATAL_ERROR = 8
OTHERS = 9
commit work. -
Error:Assign handling Unit from one Process order to another process order
Hi Experts,
I am facing different issues in assigning handling unit from one process order to another.
Business process:
1. Two similar Process Orders are existing in the system
2. Delivery is created for first process order using LP10 for one or more components
3. TO is created in foreground using VL06P
4. TO is confirmed by providing in stock available Handling Unit (HU) / storage Unit details Using LT12
5. Customized transaction is used to reassign newly created HU (created in previous step) from first process order to second process order. As a result many steps are performed in background for delinking the HU from first process order to second process order (including creation of different TOs)
I am facing different issues in the process:
1. Sometimes while confirming the TO in step 4: error is received as "Reservation item 0065 with material 4013959300300 does not exist" OR "Reservation item with material does not exist"
2. If the TO is confirmed in step 4. I am facing error in step 5 as "Warehouse number does not exist (new selection required)"
Both these errors are standard errors and I could not find much information on them in SCN also.
If anyone can throw light on any of them then it would be great.
Please let me know if any additional information is required.
Thanks
Harsh AggarwalHi Manish
Thanks for your response. Actually, the customized program is used only in fifth step and not till TO confirmation so that error is not related to Customized program. However, in some cases I am able to do the confirmation but the error is received in 5th step i.e. Warehouse number does not exist (new selection required)"
Any further guidance you can provide. I will ask ABAP to check the customized program but the error seems to be a standard error. -
Error 'Handling unit was not blocked - action cancelled' for Packing
Hi Friends
I am trying to execute Functional Module HU_PACKING_AND_UNPACKING to Pack Sales Order Line Items in to HU.
But System is throwing unusual error Handling unit was not blocked - action cancelled
The Other SAP SDN thread advised to implement OSS Note 370195 , 331715.
The Input Code given in the Note 370195 SAP Developer can not find in our system.
SAP Note 331715 already implemented in our system.
Please help to resolve the issue for Packing Sales Order Line Items in to HU.
Thanks
SRRefer OSS Note 370195 , 331715
-
Error in Packaging: Required handling Unit Could not be found.
Hi Experts,
I am facing one typical problem of " Required handling unit could not be found." Though the users had done the packing all the packaging related screen appears blank. And this problem is arising after some interval i.e. say for 6-7 outbound deliveries packaging related data can be viewed but suddenly for one delivery the data could not be viewed. Due to this handling unit data is missing on the packing slip and invoice. When i investigated the issue i found that no internal no are assigned to the handling units. Is it the system generated error or the transaction error i.e. packing-unpacking the material and then deleting the handling units without removing the material from handling units? Pl guide on the same.
Thanks in advance.Ensure that
a) Number Range for Handling Units is maintained in VNKP
b) the required Packing Instruction and determination are maintained in POP1 & POF2
c) the value is maintained in material master sales:General/Plant data view against the field Packaging mat.type
thanks
G. Lakshmipathi -
Create and Pack Handling Units in the Sales Order Using HU_CREATE_ONE_HU
Hello Experts,
I am trying to use HU_CREATE_ONE_HU function module to create a handling unit and pack it with specific line items in the sales order program in the background. I am able to create the handling unit and pack it but it does not get associated to the sales order / line item. If you look at the sale order's packing proposal, it does not show it packed. If I look at VEKP / VEPO, I see where it was created but there is no value for vbeln or the posnr I proposed. Below is the code, I am using. Does anyone know what I am doing wrong or is there another function module I can use?
LOOP AT t_vbap.
CLEAR: is_header_proposal, it_items, es_header, et_items, et_messages, t_vbap2.
REFRESH: et_items, et_messages, t_vbap2.
is_header_proposal-exidv = '$1'.
is_header_proposal-exida = 'A'.
is_header_proposal-vhilm = 'UNIBOX'.
is_header_proposal-hu_status_init = 'A'. "planned
is_header_proposal-status = '0001'. "planned
"get the components that make up this subassembly including the parent.
SELECT * FROM vbap
INTO TABLE t_vbap2
WHERE vbeln = t_vbap-vbeln
AND posnr = t_vbap-posnr. "parent
SELECT * FROM vbap
APPENDING TABLE t_vbap2
WHERE vbeln = t_vbap-vbeln
AND uepos = t_vbap-posnr. "children
"now load the items to be packaged in the proposal
LOOP AT t_vbap2.
CLEAR: it_item.
it_item-velin = '1'. "material item
it_item-belnr = t_vbap2-vbeln.
it_item-posnr = t_vbap2-posnr.
it_item-quantity = t_vbap2-kwmeng.
it_item-meins = t_vbap2-meins.
it_item-matnr = t_vbap2-matnr.
it_item-werks = t_vbap2-werks.
it_item-lgort = t_vbap2-lgort.
APPEND it_item TO it_items.
ENDLOOP.
CALL FUNCTION 'HU_INITIALIZE_PACKING'.
CALL FUNCTION 'HU_CREATE_ONE_HU'
EXPORTING
if_create_hu = 'X'
is_header_proposal = is_header_proposal
it_items = it_items
IMPORTING
es_header = es_header
et_items = et_items
et_messages = et_messages
EXCEPTIONS
input_missing = 1 " Data that is Necessary for Creation is Missing
not_possible = 2 " HU Creation not Possible
header_error = 3 " HU Header Data Contains Incorrect Data
item_error = 4 " Items Cannot be Created
serial_nr_error = 5 " Serial Number Error
fatal_error = 6 " Internal Error
OTHERS = 7.
CALL FUNCTION 'HU_POST'
EXPORTING
if_synchron = space
if_commit = 'X'.
ENDLOOP.
Thanks for the help.
LauraThe abap statement does not make sense.
xlips_high_posnr = ( lips-posnr / tvlk-incpo ) * tvlk-incpo
posnr & incpo are both type numc length 6.
Here is my recommendation to catch the divide by zero error.
data: l_oref type REF to cx_root.
data: l_text type string.
TRY.
clear l_text.
xlips_high_posnr = lips-posnr / tvlk-incpo.
CATCH cx_sy_zerodivide INTO v_oref.
l_text = l_oref->get_text( ).
CLEANUP.
* Put your code to do further processing if it is divide by zero
ENDTRY. -
How to unassign handling unit in outbound delivery?
(Don't Want to delete HU onlu unassign it from delivery: WM requirement)
I would like to unassign HU in an outbound delivery.
code i'm using make the handling unit disappear in the overview of HU.
but corresponding line in the "item overview" are still existing.
And when I want to copy pack quantities as delivery quantities, system tell me that "50.000 M have already been packed. Quantity cannot be changed. "
How can I do, to do as if i pushed button "delete assignment" in HU overview?
Here the code I'm using:
CALL FUNCTION 'HU_PACKING_REFRESH'.
CALL FUNCTION 'HU_GET_HUS'
EXPORTING
if_lock_hus = 'X'
it_venum = I_VENUM "it_venum contains l_venum
IMPORTING
ET_ITEM_SERIALNO = o_item_serialno .
CALL FUNCTION 'V51P_DELETE_RELATIONSHIP'
EXPORTING
IF_CONTROL = 'X'
IT_HUS = i_venum
IMPORTING
ET_NEW_HUS = LT_HUS
et_messages = lt_messages
EXCEPTIONS
FATAL_ERROR = 01 .
CALL FUNCTION 'HU_POST' .
call function 'BAPI_TRANSACTION_COMMIT'.
Please let me know the function module if anybody has idea to unassign from delivery.
Edited by: Akshay Kale on May 4, 2010 7:04 AMHi Akshay,
This question is marked as Answered , can you please let me know how you have resolved this error .
My Requirement is to remove HU assignment from inbound Delivery . If possible can u provide me the code snapshot to remove assignment for inbound delivery. -
Re-using Handling unit. Inbound deliver has unpacked materials
Dear All
We're running the process that inbound delivery is created automatically once goods issue for outbound delivery is done.
We're also running the process when handling units created in outbound delivery are re-used in Inbound delivery.
The problem we've got is that from time to time we have situation when part of materials in inbound Delivery are unpacked, while these materials were packed in handling units. There are no errors appear, and Inbound Delivery is created, but materials are unpacked.
In humo for such handling units, which are not created in Inbound Delivery i can see that the status was not updated and still remains "LOAD PHEX WHSE" and such HUs are assigned to plant where goods issue was done.
Whille for handling units which were created in Inbound Delivery the status is updated to "PHEX" and HUs are assigned to recieving plant.
Please advise if you have any idea on the root cause and solution.
Thanks in advance.
Best Regards
AndreyHI Andrey,
Wanted to know if you have recd the solution for this old thread. We arefacing a similar kind of problem wherein we get the status as 0020 when we pack for Returns Delivery. This status is like the Goods are already posted and hence we cant do PGR.
Please suggest.
rgds..Ameet -
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 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
dstjIf 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.
Maybe you are looking for
-
Error while calling the EAI Viewer
Dear all, I am working on Document Management System ECC 6.00 I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when
-
How can I back up a Macbook Pro with Bootcamp
Ok, so I have a 13" Macbook Pro (non-Retina) that's about 5 months old. There's loose wiring in the display, causing strange symptoms with my screen. There also seems to be something stuck in the fan, as it rattles around really loudly from inside th
-
on my computer there are two different accounts for the itunes store but my brothers account keeps syncing in on my iphone instead of my own account how do i get his account off of my phone and add my own back?
-
Help bridging quantum gateway to linksys ac2400
Hi I need some help bridging the new verizon quantum gateway to the linksys ac2400. I have tried for several hours and cant seem to get it right when one thing works another does not then everything seems to stop later on.
-
Web Dynpro Error IMC_CANCEL_TX
Hi Guys, While running Web Dynpro Application i am getting this error -: The following error text was processed in the system HR6 : Communication failure The error occurred on the application server sapserver_HR6_03 and in the work process 0 . The te