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 AM

Hi 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.

Similar Messages

  • How to delete handling units for a delivery

    While deleting delivery note there are hundreds of handling units.
    please help me how to delete handling units
    Thanks for the help
    Rajendra Prasad

    Hi
    u can delete Handling Units in change view delivery document.. Click Packing it will show Handling Units..By there itself u can delete..
    IN VL02N

  • 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 system asks me to enter the batches (in the batch split function). Only then I am allowed to enter the HUs in the packing function.
    What could be the reason for this preliminary batch entries ?
    How can I set the system not to do that, i.e., I would like to be able to enter the HUs directly without entering the batchs separately.
    Thanks,
    Isaac

    Dear Isaac,
    this system behaviour can not be changed in standard and is also not recommended to change it via a modification. The reason for this system behaviour is to avoid inconsistencies in the system. The HU that you assign to the delivery, should exactly fit to the delivery. In case if the material is batch managed, you should specify the batch first, and then add the fitting HU with exactly that batch.
    I suppose you checked the longtext for HUDIALOG102, that you get in the described case, but I copy it for you, in case if you did not read it:
    "Diagnosis
    There are items to be handled in batches which have not yet been
    assigned to a batch.
    Batches must be recognized for items with HU-managed storage location
    For items at a storage location that is not HU-managed, the item type
    determines if packing will take place at cumulated item quantity level
    (meaning that the batch is not recognized at any point in the handling
    unit) or if packing must take place at batch level.
    System Response
    If an item requires batch identification, that item will not be
    suggested for packing as long as the batch is not recognized.
    Procedure
    Go to the maintenance of the delivery item and assign at least one batch
    to the item."
    Regards,
    Ely

  • Pack existing Handling Units into outbound delivery

    Hi,
    The current scenario is that a WHSCON IDoc is passed into SAP which will pack handling units onto an inbound delivery. As part of this processing the IDoc will create the HU records on VEKP.
    Now, we are sending in a similar WHSCON IDoc to pack the same HU onto an outbound delivery. However, the IDoc is failing. It appears that the IDoc wants to create the HU instead of simply using the existing one.
    Has anybody faced a similar issue.
    Thanks
    Martin

    Hallo!
    Yes, I have the same problem now.
    In the past we had 2 wm sub systems which send data via WHSCON to SAP and pack the delivery items.
    To avoid error messages we "kill" the old vekp-record by setting the vekp-status to "0099" with a hart update and create new hu records.
    Nowadays this solution is not sufficient,  because the old hu has serial numbers.
    Any solution in sight?
    bye
    bernhard

  • Processing handling units for outbound delivery

    Dear All,
    I am getting the message "The material contained in the item you chose is maintained in the material master with the material group packaging material K. The handling unit you chose has a packaging material of the packaging material type V
    There is no entry for the material-group packaging-material for this material type in Customizing.
    Can you please advice what should be done to fix this where to make the customizing.
    Warm Regards

    Hi,
    Change the material group in the mateiral master. OR in SPRO configure for Define material group for packaging material and Define Allowed Packaging Materials for the material group that you have defined in the material master.
    Thanks and Regards,
    Maheshwari

  • How to create Handling Unit using Process Order no. & Packing Instruction

    Hi experts,
    Please guide me how to create Handling Unit using Process Order number & Packing Instruction reference?Noramlly this is done using standard transaction 'COWBPACK'.
    ANY FUNCTION MODULE OR BAPI TO DO THIS.
    if any solution please explain with proper example..
    Thanks In advance
    Thanks,
    Yogesh

    Hi experts,
    Please guide me how to create Handling Unit using Process Order number & Packing Instruction reference?Noramlly this is done using standard transaction 'COWBPACK'.
    ANY FUNCTION MODULE OR BAPI TO DO THIS.
    if any solution please explain with proper example..
    Thanks In advance
    Thanks,
    Yogesh

  • Inbound Delivery Shipping Unit and Outbound Delivery Shipping Unit Mismatch

    Hi All,
    At the time of creating the outbound delivery, I am getting the error"Inbound Delivery Shipping Unit and Outbound Delivery Shipping Unit Mismatch".
    Please help me to resolve the above error.
    Please let me know the cause for the above error.
    Regards,

    Hai Shafi,
    PLease check these threads,
    http://help.sap.com/saphelp_40b/helpdata/pt/a4/613275e24bd111950d0060b03c6b76/content.htm
    http://help.sap.com/saphelp_46b/helpdata/en/ac/f6fe78931a11d184d10000e81ddea0/content.htm
    http://education.feedfury.com/content/18638791-processing-shipping-units-in-sap-sd.html
    And hope you are using the same material received in inbound for outbound also.
    If material is different please check UNIT in Material master for both materials.
    Regards,
    Mani

  • BAPI or Function Module to create Handling Unit at the delivery level

    Please send me the BAPI / FM details to create Handling Unit at the delivery level.
    Thanks

    Hi
    you can try below BAPI's.
    BAPI_HU_CREATE 
    BAPI_HU_PACK
    Hope this helps you.
    Rgds,
    Kris.

  • Handling unit in inbound delivery

    Dear all
    creation of handling uinit for inbound delivry are optional in standard as we can create H.U or without H.U for inbound delivery
    please guide me how can i customize sysytem as creation of handling uinit for inbound will be mandatory in other words we can't create inbound delivery without handling unit number.
    best regards
    R.T

    no comment

  • Handling units of Outbound deliveries

    hi all.,
    while creating outbound delivery , i will make the packing,so at the time the system gives all information expect<b> the Metrial</b>
    What Can i do for this error?
    pls help me
    Regrads
    Lakshmanan.S
    E-Mail : [email protected]

    You may need to create packing instructions so that the correct packaging material is assigned within the delivery
    Within packing instructions you need to create an instruction and then assign it
    Logistics > Central Functions > Handling Unit Management > Master Data > Packaging Instructions > Create
    Logistics > Central Functions > Handling Unit Management > Master Data > Packaging Instructions determinsation > Create

  • How to do automatic rounding in outbound delivery?

    Hello,
    I have been trying to implement a simple rounding rule where the system will always round down to an integer (NO decimals) for both sales order and delivery.
    I have configured rounding profile (rounding method 3, with a rule that rounds down) and turned on rounding on the sales and delivery items. The problem is that the outbound delivery never does any rounding. While I can error the delivery creation, I cannot make it round down.
    For example, 1 box = 100 EA and I have 150 EA.
    A customer orders 2 box of the material in the sales order. Sales does a partial confirmation of 1.5 box. When I create the delivery, SAP does not round down the quanatity from 1.5 Box to 1 box.
    Any ideas?

    Hi Abdul,
    One suggestion here.
    Try using alternative unit of measure. So in your material master you define relation of 1 Box=100 EA. The Ordering unit in material master also has to be BOX.
    While placing the sales order you use order unit as BOX meaning you will order for 2 Boxes and based on the rounding profile and quantity available ( say 150 EA) it should confirm only 1 box in the order since you  would want to deliver only one box.So then rounding in the delivery is not relevant as far as I can understand from your post.
    Trust this helps.
    Regards,
    Kartik Shah

  • How to change QCI data in Outbound Delivery Order (VL02N)

    HI,
    Dear ABAP Experts,
    I need to over ride standard Quantity conversion interface data in Outbound Delivery Order with user specific data. Go to VL02N and select item number and click on ‘Additional Quantities’ button we can see all SAP calculated QCI data for that item. I need to over write these values with User specific data in VL02N. When I do with BDC program I can update only few units what ever visible in QCI screen. When i scroll down or page down and add new values for other units, system is not capturing any function code for scroll or page down function.
    Please can anyone guide me if have any BAPI or FM to solve this issue. Delivery order is related to IS-OIL/HPM.
    Any help will highly appreciate…

    Try this FM to create Oubound delivery with QCI IS-OILS HPM, additional quantities.
    It works perfectly and saves data in LIPSO1 and LIPSO2
    OIJ_EL_DOCG_CREATE_DELIVERY
    I_TICKET_ITEM-menge
    I_TICKET_ITEM-meins
    I_TICKET_ITEM-matnr
    - QCI convertion values
    I_TICKET_ITEM-tstmp
    I_TICKET_ITEM-tsteh
    I_TICKET_ITEM-tdich
    I_TICKET_ITEM-werks_d
    I_OIJNOMI-docind = 'S' for sales order document
    I_OIJNOMI-docnr
    I_OIJNOMI-docitm
    - fill table T_ERR_LOG with one blank line because it raise an index error
    T_ERR_LOG

  • Third party sale-how to GI GR simultaneously in outbound delivery

    VA01 - Item cat:TAS/ sch.line cat- CS- with which automatic PR will be created,
            schedule line- bussiness data :item category =blank , acct assgt cat. =M .movement type =601 .
           item category;  special stock = E.
    ME21N wrt: PR generated in step-1
    vl01n - assignment of Purchase order in outbound delivery
    vl02n - carry out at the same time a goods issue (referred to the delivery) and a goods receipt (referred to the PO).
    MIRO - verifying vendor invoice.
    VF01- wrt: sales order created in step-1
    in this case, my process is not like the stander third party sale.
    How to config the sap to GI and GR simultaneously in the the t-code "vl02n"?
    and GI and GR is all related to the "E" stock?
    thanks a lot.
    Edited by: cai_yu on Mar 21, 2010 12:38 PM

    Hi,
    In third party sales there is no outbound delivery take place, our vendor ships material to our customer,
    Process :
    Create sales order >> PR >> P.O >> Invoice reciepts >> Invoice to customer
    Still if you want to carry our that goods you recieved & want to perform outbound delivery then you can still able to configure it, but simplest way is just Determine item category TAB instead of tas in sales order
    Process
    Sales order >> PR >> PO >> Goods reciepts - MIGO >> Invoice reciepts - MIRO >> Outbound delivery >> Invoice to customer.
    Kapil

  • Same Handling Unit in Return delivery

    we have a scenario which we are implementing for SAP's client DHL.
    The scenario is as follows:
    1. We have done the GI for the handling units.
    2. And we want to take the same handling units back.
    In order to do so, what we do
    1. We create a return order with original sales order
    2. This eventually creates a return delivery but does not get the handling units assigned.
    3. Hence the delivery needs to be packed with the same HU's with which the goods have been issued.
    Anyone has faced the issue earlier or any one aware of any Bapi or functional modules which will allow them to pack with the same HU.
    Thanks in advance
    Ajay.

    It's seems that you faced it a few years ago, could you please post what you did?
    Thanks

  • Handling unit deletion in delivery

    Hi
    Can any one help us on how to unpack and delete HU from Outbound delivery? When we go through VL02N and do the unpacking and delete the HU and try to save that, system is giving the error message:
    Within the delivery, posting change not possible for stocks
    Message no. HUDIALOG107
    Diagnosis
    During current processing, materials have been packed or unpacked that refer to a HU-managed storage location. During delivery processing, it is not possible to make a transfer posting of stock between HU-managed and non-HU-managed storage locations.
    System response
    It is not possible to go back to delivery. The data cannot be saved.
    Procedure
    Pack the quantity that has before been unpacked or unpack this quantity again.
    Greatful for any indication of the approach to do this.
    Thanks
    Sriram

    hello sriram
    there is a deletion icon on the right hand side of the screen when we do the packing itslef, so go to vl02n, go to packing screen, there u can see the deletion icon, (a dustbin like) now select the HUs to be deleted, then click the delete icon, it will be deleted. now save the order again.
    hope this helps u.
    suresh

Maybe you are looking for