How to retriew Handling unit

Hi all,
i have to retrive a handling Unit No.(vekp-exidv) using the input as P.o(lips-vgbel). The relation ship between these two tables is that i have a delivery no.(vbeln).  In tables (lips-vbeln)delivery is same as of that vekp-vpobjkey. please suggest me a perfect select statment that shuld retrive the handling unit using po.
lips-vgbel(doc.no) refernce for po
vekp-vpobjkey(key for objects to handle handlingunit i.e delivry), vekp-exidv handling unit. .
regards
siri

Hi,
Check the code,
select vbeln vgbel from lips into table itab where vgbel = p_vgbel.
loop at itab.
it_lips-vpobjkey = itab-vbeln.
append it_lips.
endloop.
select exidv
from vekp into table it_vekp for all entries in it_lips
where vpobjkey = lips-vpobjkey.
Reward if it is useful.
Regards,
Bhanu
Edited by: Bhanu  P on Apr 15, 2008 8:23 AM

Similar Messages

  • 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

  • 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

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

  • Reg : How to update handling unit packing details

    Hi all
    I want to update existing handling unit with new tare weight and gross weight using FM ws_delivery_update.
    how exactly to proceed?
    regards
    jawahar

    Hi Dude,
    I was searching on SDN for updating the handling units. My requirement is similar to yours "Updating Weight and LengthWidthHeight". Can you please help me out as it has been long time the query was posted and i hope u might have completed it. I searched a lot on google and tried many function modules and BAPI also, but its not updating the handling unit.
    Please help me and let me know..
    Thanks in advance

  • How to Change Handling Unit User Status

    Hi All,
    I am trying to change the HU Status using FM 'STATUS_CHANGE_EXTERN' but its not working.
                 lx_huheader-hu_id  is the Internal Handling unit number.
                CONCATENATE 'HU'
                            lx_huheader-hu_id INTO
                            lv_objnr.           
                CALL FUNCTION 'STATUS_CHANGE_EXTERN'
                  EXPORTING
                    client              = sy-mandt
                    objnr               = lv_objnr
                    user_status         = 'E0002'
                  EXCEPTIONS
                    object_not_found    = 1
                    status_inconsistent = 2
                    status_not_allowed  = 3
                    OTHERS              = 4.
    Please guide me.
    Thanks
    Srinath

    HI...
    add this Export parameter in the call of function module,
               SET_CHGKZ                 = 'X'
    after chef id the objnr is correct.........remember to call the commit work, or BAPI_TRANSACTION_COMMIT after the status change.
    Marco

  • How to find Handling unit for a given Sales order...

    From which table can we find the Handling unit for a given Sales order?

    hi this will help u.
    SALES AND DISTRIBUTION TABLES
    KONV Conditions for Transaction Data
    KONP Conditions for Items
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBFA Sales Document Flow
    VBLB Sales document: Release order data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index
    with regards,
    Hema Sundara,
    pls reward if u find it helpful.

  • Handling unit preventing deletion of inbound delivery

    Hello,
    Our Decentralized WMS had a glitch in the system that left several
    idocs queued to create inbound deliveries. These deliveries have
    associated handling units which were placed from the outbound delivery
    to the inbound.  Before the inbound deliveries could be created via XI,
    users created manual inbound deliveries against the POs and PGRed.
    When the Decent WMS glitch was addressed, the IDOCs submitted were
    processed, creating inbounds with handling units that were completely
    packed.
    So our system contains 2 inbounds for a po.  We would like to delete the one with with the handling unit, but it's not that simple.
    To address this issue, it is necessary to remove the handling units,
    but this isn't possible.  We receive an error message, unable to change.
    I've attempted to PGR the delivery but this isn't possble either.
    the following error message is received.
    MSSA-SATRA exceeded by 2 EA : 10004063 AA26 0001 E
    How can these Handling units be deleted to allow the associated inbound
    deliveries to be deleted as well?
    Is there a program to modify the status of the handling unit?  I do not
    want to perform any table editing or goods movements unless there are
    no other alternatives

    applying note 1083602 which should resolve

  • Project-Stock Handling units using HUPAST

    Hi folks,
    we want to use handling units with project stock (SOBKZ = Q). While it's easy to create handling units on project stock with HU02 it does not seem to be possible with HUPAST. System does not allow the edit the field SOBKZ in HUPAST.
    Does anybody know how to create handling units with batches from project stock using the transaction HUPAST?
    Thanks BR
    MAtthias

    Hi
    You cann't do GR wid mvtType 101 for HU
    you can do it through only vl01n
    VLMOVE you can do .
    Regards
    Aryan
    Don't forget to give points

  • Handling Unit creation at Sales order Level

    Hi Experts ,
    Please let me know,how can a handling unit be created at sales order level.
    Your comments will be appreciated
    Regards
    Albert

    Albert Ackerman wrote:>
    > Hi Experts ,
    >
    > Please let me know,how can a handling unit be created at sales order level.
    >
    > Your comments will be appreciated
    >
    > Regards
    >
    > Albert
    Hi Albert,
    I am not sure if i got your requirement correctly.
    Nevertheless if you are asking where do you maintain Handling Type HT in sales order:
    Choose the line items double click (goto details of line items)
    Go to Excise Duty tab and put the required Handling type.
    If you want to know where do we configure Handling types.
    Goto
    SPRO->Industry Solution Oil&Gas(downstream)->TDP(Tariffs, Duties & Permits)->Global Settings->Parameter Definition->Set Handling Type.
    If you want to know the related tables for Handling type they are
    OIH07, OIH27
    Hope i addressed to your expectation.
    Post for furthur clarification
    Regards
    Abhishek Swarup

  • Creation of Handling Units at Sales Order Level

    Hi Experts ,
    Please let me know,how can a handling unit be created at sales order level.
    Your comments will be appreciated
    Regards
    Albert

    Hi,
    In industry solution - automotive solution, this can be done by HUP12 - create planned HU's for sales order.
    In generic SAP, this can not be done.
    Hope this helps.
    Harry

  • Field to store Handling Unit number

    Hi Gurus,
                  What is the technical field name of Handling unit number we maintain in Delivery?
    What is the table name?
    How can see handling unit number for a material in delivery document?
    Thank you
    Anil

    Hi Anil,
        Table name is VEKP and field name is VENUM for Internal HU no and EXIDV for Externam HU number.
    Regards,

  • Create Handling unit after receiving finished goods

    Hello,
    My client's requirement is that they do not want a TR or TO to get created at the time of Production order confirmation and neither they want to create the Handling unit at the time of confirmation.
    They want to move the material from production to warehouse as one Handling unit after multiple confirmations. They want to create Handling unit manually after the receipt of materials.
    What is the process of creating Handling unit after we have FG (multiple batches).
    After creation of Handling units, my client wants to ship the same Handling unit out to customer.
    How to create Handling unit
    Regards
    Prabhjot Singh

    Dear
    Please Follow this Steps
    Process Cycle:
    1)Create Material with WM View in Material Master (MM01)
    2)Crearte Purchase Order(ME21N) consult MM
    3)Release Purchase Order(ME29N, ME28)
    4)Goods Receipts (MIGO)
    5)Creating Transfer Request (note:- this will come Automatically while doing G/R)
    6)Create Transfer Order (LB13)
    7)Confirm Transfer Order (LT12)
    10)Check Stock Overview in Warehouse (LS24)
    Goods Issue Process from Warehouse:
    1)Create Reservation (MB21)
    2)Goods Issue W.R.T Reservation (MIGO)
    3)Create Transfer Order (LT06)
    4)Confirm Transfer Order (LT12)
    After Doing all This Steps In MMBE At Stock Requirement List Click on the Selected Stock and Right Click u can See the WM stocks And Handling Unit
    with Regards
    Pushpalas

  • Create handling units and assigning them as Packing Proposal for Sales Orde

    Hi Friends
    How to create handling units and assigning them as Packing Proposal for Sales Order Items in the background.
    Could you please help to provide Input Parameters for BAPI_HU_CREATE for sales order OR is there any other program creating and assigning them to Sales Order line Items.
    Thanks in Advance.
    SR

    Hi Friends
    I created Handling Units with BAPI_HU_CREATE , Pack materials with BAPI_HU_PACK in to Handling Untis and assign handling units to sales order with BAPI_HU_CHANGE_HEADER . But These BAPIs are not doing packing sales order line items in to handling units . I have to go sales order and do sales order line item packing by clicking packing button.
    Could you please help on how to do packing Sales Order Line items in the background with BAPIs.
    Thanks in Advance.
    SR

  • Create Handling unit after receiving finished goods  from production

    Hello,
    My client's requirement is that they do not want a TR or TO to get created at the time of Production order confirmation and neither they want to create the Handling unit at the time of confirmation.
    They want to move the material from production to warehouse as one Handling unit after multiple confirmations. They want to create Handling unit manually after the receipt of materials.
    What is the process of creating Handling unit after we have FG (multiple batches).
    After creation of Handling units, my client wants to ship the same Handling unit out to customer.
    How to create Handling unit
    Regards
    Prabhjot Singh

    Hi,
    If I understand right - customer wants a simple transfer of finished goods from production to warehouse, and latter pack into handling units.
    Possible scenario:
    1) Assign production order to non-WM and non-HU storage location. Post GR for production order using transaction MIGO (mvmt. type 101) for a whole quantity produced for production order.
    2) Setup packing table in IMG (Logistic General > Handling Units > General > Setup packing table> ...) --> packing table is a functionality for packing goods into HU - it takes goods from predefined source non-WM/non-HU location, packs them into HU and places them in target WM-HUM location.
    2) Maintain packaging instruction (trans. POP1 and POF1) to automate the packaging quantities.
    3) Run packaging table by HUPAST, select your table and pack.
    4) Packed HU ends up on WM-HUM location.
    This process can be done either in SAP GUI (HUPAST) or you can build it in RF transaction and run it with mobile RF scanner (ABAP development required).
    Hopefully this will be of any help.
    Regards, Primoz

Maybe you are looking for

  • Get Mail Problem

    Just today, I realized that I was not getting email. After fiddling with it a bit, I realized that If I quit the mail app and open it again, it will trigger a request to get my mail and a bunch of messages will come in. I have tried hitting the Get M

  • Getting Window with wich JMenu is asociated...

    Hello ! im a total newbie (well i code java for 1 year but just those entry level apps); so here's my problem, i want to get reference to JFrame object - the one wich holds JMenuItem wiich is clicked. So again - i attach the listener i get JMenuItem

  • PLUG-INS AND SYSTEM MEMORY

    i am using only 2 plug-ins for now,called BFD acoustic drum module by fxpansion and ivory by synthogy. using the activity monitor i have been trying to find out what is causing logic to freeze.it shows the dock shooting as high as 15% CPU for short b

  • Backup with Terminal

    How can I copy files from one volume to another using the terminal app thats on the mac os x 10.4 installation dvd?

  • Request for TimeShift

    There is an interesting new backup software out there which "provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. TimeShift protects your system by taking incremental snapshots of the file syste