BAPI or FM for HU create Packing Instructions

Can Anyone plz tell me any BAPI or Function Module to create HU from Packing INstructions.
Many Thanks
Edited by: Hiren N. Panchal on Feb 7, 2011 9:50 AM

Thanks Abhijeet for mentioning both the BAPIs.
I am already aware of both these BAPIs, But I want to create HU during Goods Receipt Production Order & there I need to create an HU wrt Packing INstructions & pack the contents from Receipt of Production Order.
PLz tell me any bapi which can create HU & perform packing by passing PAcking Instructions will be very much helpful & also it will eliminate 2 steps of BAPI HU Create & BAPI HU Pack.
MAny Thanks once again..!!

Similar Messages

  • Creating packing instructions.

    Good day!
      Can somebody show me an example of using FM VHUPO_PACK_INSTRUCTION_CREATE or a method PiCreate of BAPI BUS3071 to create packing instruction. I can't understand what obligatory fields I need to fill to have success.
    Thanks an avance.
                                                           Anton Griga

    I have solved a problem. Thread closing...
    Here is a solution:
    wa_pikp-tare_vol_unit = wa_pikp-vol_unit.
        wa_pikp-max_unit_of_wght = 'KG'.
        wa_pikp-unit_of_wt = 'KG'.
        wa_pikp-total_vol = wa_pikp-load_vol + wa_pikp-tare_vol.
        wa_pikp-total_wght = wa_pikp-load_wght + wa_pikp-tare_wght.
        SELECT SINGLE
          ergew
          ervol
          FROM mara
          INTO (wa_pikp-allowed_wght,wa_pikp-allowed_vol)
          WHERE matnr = 'PALLET'.
        wa_pikp-check_profile = '01'.
        wa_pikp-vol_fix = 'X'.
        wa_pikp-weight_fix = 'X'.
        "Filling positions to packing instruction
        TRANSLATE lsmw_accmat-kg_v_palete USING ',.'.
        FREE wa_pipositions.
        wa_pipositions-item_number = 10.
        wa_pipositions-detail_itemtype = 'P'.
        wa_pipositions-material = 'PALLET'.
        wa_pipositions-target_qty = 1.
        wa_pipositions-load_carrier_indicator = 'X'.
        wa_pipositions-unit_qty = 'ST'.
        APPEND wa_pipositions TO pipositions.
        FREE wa_pipositions.
        wa_pipositions-item_number = 20.
        wa_pipositions-detail_itemtype = 'M'.
        wa_pipositions-material = iv_matnr.
        wa_pipositions-target_qty = iv_qty.
        wa_pipositions-minimum_qty = 1.
        wa_pipositions-unit_qty = 'KI'.
        APPEND wa_pipositions TO pipositions.
        CALL FUNCTION 'BAPI_HU_PI_CREATE'
          EXPORTING
            header           = wa_pikp
       IMPORTING
         HEADER_EXT       =
         PIKEY            =
          TABLES
            positions        = pipositions
            return           = piret
        IF NOT piret IS INITIAL .
          LOOP AT piret INTO wa_piret.
            WRITE / wa_piret-message.
          ENDLOOP.
        ENDIF.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WAIT UP TO 1 SECONDS.
        SELECT SINGLE packnr
          FROM packkp
          INTO i_packnr
          WHERE pobjid = wa_pikp-packinstrid.
        IF sy-subrc = 0.
          objname_up = lsmw_accmat-obj_name.
          TRANSLATE objname_up TO UPPER CASE.
          wa_packkps-packnr = i_packnr.
          wa_packkps-spras = sy-langu.
          wa_packkps-content = lsmw_accmat-obj_name.
          wa_packkps-content_up = objname_up.
          INSERT into packkps values wa_packkps.
          IF sy-subrc = 0.
            WRITE / 'Texts have been added'.
          ENDIF.
        ENDIF.

  • Any BAPI or FM for O4G1 - Create Load Confirmation transaction - IS Oil

    Hi Experts,
    I searched for any BAPI or FM for O4G1 - Create Load Confirmation transaction - IS Oil in SDN/Google, but, i did not find any!!
    Do we have any BAPI or FM for O4G1 - Create Load Confirmation transaction - IS Oil? pls let me know
    Thank yu

    Hi Try searching with keyword confirmation in SE37, finally if you dont find any BAPI satisfying your requirement, its better go for BDC.
    Regards
    Abhii

  • Call transaction for pop2.need to create packing instructions for materials

    while assigning  packing instruction to the materials from table mara.
    its unable to create a new line item in the screen. ex: only 8 records are saved
    but needs to proceed for other materials increasing the line item no.
    options of create new material ( ok code'=INLI', , create new entry('=INMA')
    and even tried for page down option '=P++'. is not working.
    Can anyone help me in creating more than 100 line items.
    Thanks in Advance,
    Sushma

    Hi,
    Why do you want to create the varient for this?
    what is your actual requirment?
    Regards,
    Sachin

  • FM or BAPI to test HU creation using Packing instruction in test mode

    Hi SAP Gurus,
    Can you guys help me in finding out an appropriate FM or BAPI thourgh which systme will create HU using Packaging instructions.
    I have Packaging instructions are setup as master record and Determination proceudre is also created.
    Just wanted to simulate or test the creation of HU using Packaging instructions.
    Regards
    G.Naveen

    Hi,
    Use BAPI : BAPI_HU_CREATE to create HU.
    Regards,
    Vishal

  • Finding BAPI/RFC/FM For ME41(Create RFQ)

    Hi,
       Plz help me for finding Bapi/Rfc/Fm for t-code ME41(Create RFQ).
    Thanks,
    Sunil Sahoo

    hi
    we have BAPI'S for many requirements like
    BAPI_VENDOR_CREATE
    BAPI_REQUISITION_CREATE.
    BAPI_QUOTATION_CREATEFROMDATA
    you try this BAPI
    ME_CREATE_REQUISITION_EXT
    hope this helps
    regards
    Aakash

  • Bapi/Function for Packing Instructions

    Hi Experts,
    I've created Packing Instructions with POF1/POP1, and I want to read these pack.Instr. into an ABAP Program...
    How/Where can I find/access to pack.instr. using a Function/BAPI ?
    Regards,
    David

    hi David,
    Below are the FM and Bapi that will help you in getting data related to Packing Instruction.
    VHUPO_PACK_INSTRUCTION_CHANGE
    VHUPO_PACK_INSTRUCTION_CREATE
    VHUPO_PACK_INSTRUCTION_DELETE
    VHUPO_PACK_INSTRUCTION_SHOW
    VHUPO_PACK_INSTRUCTION_USED
    VHUPO_PACK_INSTRUCT_READ_IDENT
    VHUPO_PACK_INSTRUCT_UNDELETE
    VHUPIBAPI_BUILD_PACK_INST_INFO
    VHUPIBAPI_BUILD_PACK_INST_TREE
    VHUPIBAPI_PACK_INST_FIND
    ABI_PACK_INSTRUCTIONS_GET   -   Retrieve the packing instructions
    LXVAS_PACKING_INSTRUCTION_READ - Read packing Instructions of  packing object
    Example to read the instruction
    ** local variables
      DATA: l_pikp_exp    LIKE  pikp ,
                l_cmvhupo_exp LIKE  cmvhupo ,
                l_pikp_imp    LIKE  pikp .
      l_cmvhupo_exp-nodia = 'X' .   "No Dialog
      l_cmvhupo_exp-contxt = '3' .  "Display packing instructions
      l_pikp_exp-packnr    =  packnr " pass the Unique internal packing object number.
      l_pikp_exp-piid      = piid ." pass the Identification number of packing instruction
    ** call standard function to retrieve values
      CALL FUNCTION 'VHUPO_PACK_INSTRUCTION_SHOW'
        EXPORTING
          pikp_imp                = l_pikp_exp
          cmvhupo_imp         = l_cmvhupo_exp
       IMPORTING
         pikp_exp                = l_pikp_imp
       EXCEPTIONS
         locked                   = 1
         not_found              = 2
         data_missed          = 3
         data_wrong            = 4
         quantity_wrong       = 5
         missed_pos_type   = 6
         no_new_number     = 7
         baseunit_wrong      = 8
         not_saved               = 9
         inconsistent            = 10
         marked_for_delete   = 11
         exsist                     = 12
         material_unkown     = 13
         quantity_changed    = 14
         clint_unkown           = 15
         OTHERS                 = 16  .
    regards,
    Padma
    Edited by: Padmashree RamMaghenthar on May 26, 2009 12:27 PM

  • Using one packing instruction for several materials

    Dear Friends,
    I need some inputs on how to use one packing instruction for several materials.
    The scenarion here is :
    Many materials are packed in a similar way. If certain materials differ in only one characteristic (for example, construction), having to maintain a packing instruction for each of them results in a considerable time and efforts.
    Need some valuable inputs to complete this requirement.
    Regards,
    Harsh

    Hi.
    Try with reference material for packing (MARA-RMATP). Same material number must be entered on all materials which are packed through same packing instructions.
    Then you have to create/use access sequence for determination of packing instructions that contains that characteristic (RMATP).
    Best regards
    Milan

  • Packing Instruction Error

    Hello All,
    I have created Packing Instruction (POP1) for material and save. A number was generated.
    However when I am creating Packing Instruction Determination Record (POF1) i am not able to get that number.
    Please guide.
    Thanks & regards,
    Shailendra Panhale

    hi ,
              if u have succesfully created the packing instruction in POP1 then it will surely come in the Packing Determination POF1 , What is the condition technique u have used for determination.? also u have to maintain the hierarchy in the packing instruction properly .

  • Packing Instruction in storage location transfer (HUM)

    Hello,
    I have this request to create a (packing) Instruction for moving materials from a non HUM storage location to HU managed storage location for a particular item category of materials.
    Can anyone please explain me how can Packing instruction be used in storage location transfer.
    Thanks in advance,
    Amit G

    Hi,
    POP1 - create packing instruction
    POF1 - to determine the packing instruction
    The Menu path is
    SAP Easy Access - Logistics-central function-Handling unit management-Master data-Packing instructions
    Pl. go the link
    http://help.sap.com/saphelp_erp2005/helpdata/en/c8/a44b7d9f3211d2858d0000e81ddea0/content.htm
    help.sap.com/bp_autov1500/Auto_US/documentation/BP_Auto_Solution_Scope_V1.500_EN_US.doc

  • Packing instructions

    Hi All,
    In VT03N on shipment xxxxxx I have a problem in one of the delivery xxxxxx for material xxxxx it is showing weight as 261,503KG The weight 261,503KG corresponds for one pallet  TXN POF 3(infact it should be 261,504 as per packing instructions), we have a line where the Nbr of pallet and the volume don't correspond with a colunm weight and total weight .
    the packing instruction is correct

    thanks for your immediate response, but where to find plant and co.code in packing instruction.usually system should not check
    stock while creating packing instruction pls advise
    Edited by: chandu s on Nov 30, 2010 1:18 PM

  • How to delete packing instruction

    Hi, I have created packing instruction with a batch input, but now I need to delete some of the packing instructions. The only way I found is to mark the packing instruction for deleiton with POP2, but it doesn't delete it phisycally and I can't create it again with the old name.
    Please, any ideas?
    Thanks.
    Jose.

    there is deletion indicator set for the materials which have been deleted from transaction in the table PACKPO with INDDEL as deletion indicator field.

  • 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 material.
    Thank you in advance,
    eric.

    Have you solved your problem yet?
    If the message "Handling unit xxxxx contains an item that cannot be assigned" occurs,
    First: you should check, that the picking storage location of the delivery is the same than the one, where the batches and Handling Units are located.
    Second: check the amounts. Are you sure you have the right ones and you are not trying to pick kilograms "KG" when you should pick tons "TO"?
    I had this message also several times and mostly it was due to the mistakes, described above.
    BR

  • How do create records for packing instructions

    Hello,
    Can anyone tell me where and how to create condition records for packing instructions.
    This is required for automatic packing
    Regards
    Tapan

    Use transaction POP1 to create PAcking insturction.
    Reward the points

  • 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

Maybe you are looking for