Create handeling unit.

Hi Experts,
I have one BAPI : bapi_hu_create.
But what is the data for creating a Handeling unit?
What are the mandatory fields for that?
Can you give me an example code for that ?
Regards,
Study SAP

1) Find help from BAPI document;
2) Try to create a HU in SAP then find the record in the table.

Similar Messages

  • Handelling Unit

    Hi friends,
      I am creating an inbound IDOC function module for Inbound delivery goods receipt . I have some doubts ? can anyone clear these doubts for me ?
    1> From the Inbound IDoc How the material should come ? will it come in handelling unit or it should come material wise ?
    If I have to read the idoc , how should I read that ? Shall I read with Hu details only ?
    2> Can anyone explain me the handelling units ?

    It Will come Material Wise with Handling UNIT No.
    HU is nothg but its Packing
    HU(Unique No.) = Pakaging Material + Packing Material
    Aryan

  • Can I create a "unit InfoObject" without "Reference unit"?

    Hi everyone!
    I wonder if I can create a "unit InfoObject" which does not have a "Reference unit".
    As an example, I want to create a unit called FTE (full time equivalent employee). As far as I know, I therefore have to create an InfoObject of type UNIT and name it FTE. After this, I have to specify if my unit is supposed to be a "Currency" or a "Unit of measure". If I select "Unit of measure", my unit will automatically get the "reference unit" 0UNIT.
    If I now want to use my unit in BEX or BPS, I then have to specify which "measure unit" of 0UNIT (like PC [PIECE] or PER [PERSON]) shall be linked to my unit. But I only want my unit to be "FTE" and not "FTE->PC".
    Can I somehow does this?
    Best regards, Daniel

    Hi Daniel,
    please clarify; you want to create a KeyFigure reporting FTEs right?
    When you write "I want to create a unit called FTE", you don't need to create an InfoObject of type Unit; you just need to maintain your units and maybe add the unit FTE.
    When you create a key figure, you can specify if it is an Amount (referencing a currency), a quantity (referencing a unit, could be FTE), a number (decimal without dimension)  or integer (without dimension).
    So you have 2 options for creating your number of FTEs KeyFig
    - with dimension (referencing unit): KF of type quantity either with fixed unit "FTE" or with a variable unit which could be 0UNIT or any other variable ZUNITOFFTE.
    - without dimension (without referencing unit): KF of type integer or number.
    I think in your case the fixed unit FTE is what you are meaning...
    hope this helps...
    Olivier.

  • 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

  • Unable to create org unit using RH_INSERT_INFTY

    All,
    We are using internal number range to create Org Units in the SAP System. However, there are some org objects present in a legacy SAP system that we need to upload to the new ECC system and create relationships for them .
    Following is my code for the RH_INSERT_INFTY function module :
    w1000-mandt = sy-mandt.
    w1000-plvar = '01'.
    w1000-otype = 'O'.
    w1000-OBJID = ''.
    w1000-infty = '1000'.
    w1000-ISTAT = '1'.
    w1000-begda = '20090101'.
    w1000-endda = '99991231'.
    w1000-langu = 'E'.
    w1000-short = 'HR_AST5'.
    w1000-stext = 'HR Assistant 5'.
    append w1000 to i1000.
    CALL FUNCTION 'RH_INSERT_INFTY'
      EXPORTING
       FCODE                     = 'INSE'
        VTASK                     = 'S'
       ORDER_FLG                 = 'X'
       COMMIT_FLG                = 'X'
      TABLES
        INNNN                     = i1000
    IF SY-SUBRC <> 0.
    ENDIF.
    I am however unable to create the org units as i get an error saying "Creation of object ID 00000000 is not allowed".
    I know im getting this error because im leaving the objid field blank, but I figured since  it is internal number range, i would have to give this as blank .
    Could somebody please help me figure out how to load these Organizational Objects and their Relationships ?
    Thanks,
    Amit

    Hi Amit
    try to use 'D' as a value of VTASK
    or use FM
    call function 'RH_OBJECT_CREATE'
        exporting
          langu                     = l_langu
          plvar                     = plvar
          otype                     = c_otype
        EXT_NUMBER                = '00000000'              "???
        SHORT                     = ' '
          stext                     = stext
          begda                     = begda
          endda                     = endda
          ostat                     = l_istat
          vtask                     = 'B'
        GUID                      =
        KEEP_LUPD                 = ' '
       importing
          objid                     = objid
       exceptions
          text_required             = 1
          invalid_otype             = 2
          invalid_date              = 3
          error_during_insert       = 4
          error_ext_number          = 5
          undefined                 = 6
          others                    = 7.
    In this FM u dont need to pass the Object ID and call function
    *---if the above steps are succesful update the database
      call function 'RH_UPDATE_DATABASE'
        exporting
          vtask              = vtask
      BUFFER_UPD         = ' '
      ORDER_FLG          = 'X'
      COMMIT_FLG         = 'X'
      CLEAR_BUFFER       = 'X'
      KEEP_LUPD          =
      WORKF_ACTV         = 'X'
       exceptions
         corr_exit          = 1
         others             = 2  .
    as VTASK 'B' will create the entry in buffer and it will only commit to database after the secondFM
    or u can try with 'D' as VTASK
    Hope this will resolve ur issue
    Regards
    Guds

  • I need to create handling units by serial numbers in HUPAST

    Hello Experts,
    I need to create handling unit by serial numbers instead of Batch Numbers.
    Please suggest me how we can do this.
    Thanks,
    Gaurav

    Hi
    Check the following link
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/62f21d43-0c01-0010-4094-f870e02c6264
    Cheers
    Chandra

  • Creating ABAP Unit Tests for Report Programs

    How can we create ABAP unit test  for report programs.
    Please explain the steps?

    Hi Devendra.
    I would like to suggest some references which are as below:
    [SAP HELP - Complete ABAP unit|http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm]
    [SDN - Reference for ABAP unit testing|about unit testing;
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave
    Edited by: Harsh Dave on Jul 14, 2008 2:13 PM
    Edited by: Harsh Dave on Jul 14, 2008 2:20 PM

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

  • Creating org,unit

    Hi All,
            Can any plz let me know that while creating organization unit  in Easy Access screen whether we normally use Expert mode or Simple maintenance mode ?
                       Is it up to us to decide which mode to use ?

    depends
    let me tell u a scenario
    ur at the cliets place if u are useing export mode u need to knwo the org unit no , departent no , job number and u shd relate them
    where in simple maintainence i think this much risk will not be there

  • HRMD_ABA - create org unit and matching BP automatically

    HRMD_ABA05 IDOC creates org unit but not with BP  as expected.               
    Note 550055 has been read.
    The settings in t77s0 seem to be OK. Maybe I go something wrong ?
    report HRALXSYNC can be run  and it will  create the BP from the ORG Unit.
    So why doesnt the orginal create via IDOC result in BP as expected/documented.
    ABAP STACK is 7.10 sp4
    Any tips on what to check appreciated.
    Cheers
    Phil

    Hi Kai
    Into Master data->Bussines partner->Integration Business partner-Organizational managment, there set up follow parameters:
    HRALX     OPROL     BUP004     Business Partner Role (Organizational Unit).
    ORGEH     PROLE     BUP004     Role of organizational unit in business partner
    Try with both parameters, it is if you activate HR-CRM integration.

  • 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

  • Creating a Unit of Measure that will transfer to SuS

    I am trying to create a unit of measure and have it cross over to SuS
    I have pricing per 100 pc's and since I am not able to create a pricing structure of more then 2 places, this limits me to creating a new Unit of Measure - but I need to have it break it down to 4 places.
    I have been in CUNI and do not see where I would need to make these changes to get the data to transfer to SuS
    HELP!

    Transfering Unit from BW to SUS I doubt...
    Generally its maintained in SRM and it is than transferred to BW:
    Right Click on the SRM source system in BW
    Choose transfer global settings
    In the next screen select the box which says Units of measurement
    Execute..
    For steps to be followed in CUNI steps can be found at:
    Re: 0Unit / se16 / CUNI

  • 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

  • Cannot create logical unit in VMM2012R2, starwind v8

    i want to create a logic unit on vmm 2012 r2. i am using starwind v8. the vmm can see the storage pool but when i want to create the logical unit, it appears for 2 sec in the overview and then disappears. when i check the job log's i found this
    Error (26135)
    Creating storage logical unit VMStorage1 on storage pool ConcretePool_Storage_Flat failed with error code 4 [SM_RC_GENERIC_FAILURE]. Failed: Operation Failed
    Recommended Action
    Specify valid parameters for creating logical unit.

    Ok, Here are some info
    I have 2 nodes hyper-v (Win se 2012 r2) with 
    1- Management interface 192.168.1.0 
    2- Cluster interface 192.168.2.0 
    3- Storage Interface 192.168.3.0 
    4- VM interface 
    i have SAN ( Starwind v8 ) with 
    1- Management interface 192.168.1.0 
    2- Storage interface 192.168.3.0 
    I have VMM 2012 R2 
    1- Management Interface 192.168.1.0 
    I am using physical computers for each node, SAN on real PC with Server 2012 R2. 
    all nodes are connected to physical Switch (tp link).
    when i try to create cluster on VMM for the two nodes, I get the error message above which is mostly about The
    Windows Storage Management API. so what should I do.
    Here is the last error message I just got 
    Error (20400)
    1 parallel subtasks failed during execution.
    Error (26260)
    The Windows Storage Management API returned an error code for the requested operation.
    Error code: 41006 [SM_RC_DISK_STYLE_MISMATCH]
    Recommended Action
    For more information about this error code, see the Windows Storage Management API documentation.
    Warning (26266)
    Virtual Machine Manager will not convert disk to MasterBootRecord as the disk contains one or more partitions. This is done to prevent data loss.
    Recommended Action
    Either remove existing partitions from disk or change the partition style and retry the operation.
    Warning (26266)
    Virtual Machine Manager will not convert disk to MasterBootRecord as the disk contains one or more partitions. This is done to prevent data loss.
    Recommended Action
    Either remove existing partitions from disk or change the partition style and retry the operation.
    Warning (26266)
    Virtual Machine Manager will not convert disk to MasterBootRecord as the disk contains one or more partitions. This is done to prevent data loss.
    Recommended Action
    Either remove existing partitions from disk or change the partition style and retry the operation.
    Warning (26165)
    The volume STARWIND STARWIND  Multi-Path Disk Device on host host01.uist.edu is already formatted as NTFS. In order to prevent data loss, the volume has not been formatted.
    Recommended Action
    To format this volume, use the -ForceFormat parameter, or format the volume manually.
    Warning (26165)
    The volume STARWIND STARWIND  Multi-Path Disk Device on host host01.uist.edu is already formatted as NTFS. In order to prevent data loss, the volume has not been formatted.
    Recommended Action
    To format this volume, use the -ForceFormat parameter, or format the volume manually.

  • 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

  • Similar Monitor available in multiple places

    I have just a general question about monitors in SCOM. I was setting some overrides for monitoring CPU utilization and noticed that the same (or very similar) monitor was available in multiple locations. for Example, the "Total CPU Utilization Percen

  • We have a Canon SX40Hs and cannot activate the digital zoom function. can you help?Thanks

    We have a Canon SX40Hs and cannot activate the digital zoom function.  I have tried changing the mode from Auto to "P" to "Tv" etc and the dig zoom function is greyed out and not accessible.  Any help? Thanks

  • Request still yellow in manage screen after successful load

    Hi , I have loaded the data into the cube .The load is init .Even thought the load is successfully load the manage screen shows request still yellow in color. I checked everywhere but did not find relevant setting. Any help please. Thanks

  • Windows size

    Hey guys, hopefully i get an answer this time since noone was able to help me on my last post. I have a banner on my website and i want that when members click on it to open the other page, instead of opening another full page, for it to open another

  • Iphoto 5 from iPhoto 2 upgrade

    Since Installing iPhoto 5 (over iphoto2) and launching it, it tells me everytime that it has to convert the old library which takes about 15 minutes and then it attempts to load the photos but it just churns on and on and the photos don't seem to loa