L_TO_CREATE_MULTIPLE  storage Units

hi,
I'm trying to create a transfer order using function module L_TO_CREATE_MULTIPLE  but on certain cases I am getting error "Requested amount could not be supplied". I implemented the  user exit MWMTO004- Function module EXIT_SAPLL03A_005   to  assign differents  storage units onto T_QMAT internal table.
Example:
An example: Using FIFO when i am creating a TO for 100 pieces with these functions
In the warehouse there is this stock:
1000011358                  10           
1000011348                  20
1000011349                  20          
1000011350                  20
1000011351                  10           
1000011352                  20
How do  i need define my stock removal strategies? or How to solve it??
Regards .
Mireya A.

Hi,
Please try it in this way by passing only these many data to the function module.
wa_lqua-werks TO wa_ltap_creat-werks,
     wa_lqua-lgort TO wa_ltap_creat-lgort,
     wa_lqua-matnr TO wa_ltap_creat-matnr,
     wa_lqua-charg TO wa_ltap_creat-charg,
     wa_lqua-bestq TO wa_ltap_creat-bestq,
     wa_lqua-sobkz TO wa_ltap_creat-sobkz,
     wa_lqua-sonum TO wa_ltap_creat-sonum,
     wa_lqua-verme TO wa_ltap_creat-anfme,
     wa_lqua-meins TO wa_ltap_creat-altme,
     wa_lqua-lqnum TO wa_ltap_creat-vlqnr,
     wa_lqua-lenum TO wa_ltap_creat-vlenr,
     wa_lqua-lgtyp TO wa_ltap_creat-vltyp,
     wa_lqua-lgpla TO wa_ltap_creat-vlpla.
CALL FUNCTION 'L_TO_CREATE_MULTIPLE'
       EXPORTING
            i_lgnum                = lgnum
            i_bwlvs                = bwlvs
            i_commit_work          = c_x
       IMPORTING
            e_tanum                = tanum
       TABLES
            t_ltap_creat           = i_ltap_creat
       EXCEPTIONS
            error_message          = 99.
Regards
Hareesh Menon

Similar Messages

  • Problems when creating a  transfer order for moving storage units

    Hi,
    When creating a TO for moving storage units with FM FU L_TO_CREATE_MOVE_SU i got problems when the storage unit consist of 2 items. The message 'Warehouse number does not exist (new selection required)'
    is displayed. When i use the FM again after this message then the TO is created correctly.
    When i debug the FM for 2 items is see that LEIN-LGNUM is empy en when performing:
    PERFORM T300_LESEN(SAPML03T) USING LEIN-LGNUM. and the message E080 is raised.
    The perform before this is determining the lein-lgnum (PERFORM LENUM_EINL_CHECK(SAPML03T) USING I_LENUM) but this value isnt passed to the calling program the first time (memory or something????)
    Does anyone have a solution for this problem?
    Thx in advance.
    Kind regards,
    John Nijburg

    Hello,
    I had the same problem today and I've fixed it by calling the FM in a different task (asychronous) .. this way the fugr/internal variables will be loaded again and you won't get this stupid error anymore. 
    CALL FUNCTION 'L_TO_CREATE_MOVE_SU' STARTING NEW TASK lv_task
    In case you need it syncronous use PERFORMING clause together with WAIT UNITL
    Hope this helps!
    Cristian

  • Unable to confirm transfer order due to error message "enter a storage unit

    Hi guys:
    I am unable to confirm transfer order due to error message popping up and saying "enter a storage unit", and I tried to search it in whole thread in the forum,it was suggestion to pick up destination storage unit via ls24, but I did went to ls24 and trying to click that line(transfer order) but unable to find the storage unit, so is there another way to fix it?

    Hi Allen...
    Pls check if your Storage Type is SU Active. If yes, then system will create a storage unit according to the setting done for the storage unit management, perhaps in your case you are confirmin TO for the putaway.
    Pls confirm and revert
    Regards
    Shiva

  • Split transfer order on the basis of Storage Unit type(SUT)

    Hi,
    I got one problem and want the solution for that immediately.the problem is as follows:-
    The transfer Order needs to be split by quantity according to the quantity per Storage Unit Type.
    I have to do this making chages in the SAP standard user Exit EXIT_SAPLL03A_12 in the program SAPML03T.
    Eg.One scenario is provided
    •Scenario 1:     Perform transaction MIGO with a movement type ‘101’ for Outbound Delivery 80000201. Enter a quantity of 15 kgs.
    the result should be as follows:
    •Scenario 1: Check TO’s created by going to transaction LT22. Enter Warehouse number 200; Storage type 902. Select the Dynamic Selections button and select ‘Transfer order Item’. Double click on Material and enter the material number (W075006). The SUT is 5kg so the expected result is for 3 TO’s to have been created.
    Means one TO got splitted in 3 TOs.
    Please provide me the help.

    Hi Vinay,
    This can be done purely through customizing. Please check IMG -> Logistics Execution -> Warehouse Management -> Activities -> Transfers -> Processing Performance Data/Split. You will need to define a sorting profile for TO split in where LETYP (storage unit type) can be used as sorting condition. The sorting profile should then be assigned to defined TO split.
    Hope it helps.
    Have a nice weekend!

  • Mixing materials with different Goods Receipt date in the same Storage Unit

    Hello everybody,
    I´d like to know how  FIFO strategy would affect to this example:
    Adding boxes from one storage unit (pallet) to another storage unit (pallet). Both storage units have different goods receipt dates, so there is a pallet which has boxes with different GR dates.
    Would FIFO make difference among boxes inside the storage unit?. As far as I know, when adding stock (boxes) to a handling unit (pallet), the system keeps the oldest GR date and does not create new quant number for the incoming boxes
    Thanks in advance for your help

    Hi Nagesh,
    Thank you for the input. I am receiving Stock from vendor and while creating Inbound delivery i created the Handling Unit and also packed it and i could also post it (PG Receipt). Now when i am creating TO i have that error message. The Storage Location where i am receiving is 9001and i have also maintained the partner Storage location,,, its like this Plant(1000)-SLoc(9001)-Partner SLoc(9002).... now the Storage Location 9002 is not HU managed,, the reason i gave this Storage location is, initially i gave 9001, but system said "Storage Location 9001 and 9001 must have different management systems". So now kindly tell me what is the purpose of the partner Storage location and which storage location should i give, as my partner Storage location across "1000-9001-????" thank you again for ur inputs.
    Regards,
    Samuel

  • External Storage units to be entered in the Creation of Transfer Order

    Hi Experts,
    We have a scenerio where the business creates the Storage units in advance, creates the PO and assigns ithe SU's to the Purchase Order in the custom table. Then creates the Goods reciept using a BAPI which creates a Transfer requirement. Now while creating the Transfer Order for this material document ,
    The main issue here is that the businedd needs that if there are any number of Storage units in the Custom table say 3 SU's then the 3 SU's should be entered in the Transfer Order which is created in the bcakground using a BAPI.
    please guide us how todo it
    Thanks in advance

    Hello Kirankumar,
    It is possible to assign external number ranges for Storage unit, so maintain storage unit number range to assign SU number externally.
    Now when you create Transfer order for material document at that time you can assign SU number externally.
    Hope this helps.
    regards,
    Arif Mansuri

  • What is a logical storage unit in a database can anyone help me in a better

    what is a logical storage unit in a database can anyone help me in a better
    Thank u

    Do you have something specific in your mind? Do you want to clarify something you did not understand in the documentation? If so please provide the document you are reading.
    For example, a tablespace is a logical storage unit where datafiles are physical files. Did you read the concepts manual?

  • Storage unit labels along with pallet labels in wm

    Hello,
    could you please explain how to generate storage unit label along with pallet label in wm. for example if 1pallet contains 4 boxes and each box will have20 bottles then we need to print pallet label for 4boxes and unit label for each box with 20 bottles information.
    Thanks
    Regards,
    Pavan Kumar

    Hi Pavan,
    Based on your requirement and as far as standard SAP are concern there is no form which will help to generate the label in the above format. You need to take the help from development team who can design the format using SMARTFORM functionality as per your requirement. once the form is ready you can assign the print code and the SU lable form to below mentioned node. which will print the label on the printer specified
    SPRO ---LE---WM ---Storage unit ---Define print control
    additionally have a look on the below mentioned SAP standard link which will give you an idea about the printing of SU
    Printing SU Documents Manually - Warehouse Management System (WMS) - SAP Library
    Let me know if you need any further information

  • Serial Numbers in WM Storage Units

    Hi all:
    My client needs to manage serial numbers in WM. I am planning to propose to use the storage unit as storage for serial numbers. This WM will not have HUM, no batch management. Plant will use valution type.
    Can anyone tell me what are the pros and cons for storing serial numbers in Storage Units in a non HUM WM?
    We are implanting WM in SAP ECC 6.0
    Thanks in advance for any help.

    Hi Juan
    Are you talking about managing serial numbers with storage unit management? When we use serial number management every material within the storage unit number will have a serial number. For ex:- if a storage unit number has 10 pcs in it then system would generate 10 serial numbers. You will need a BADI 'LE_WM_INV_WM_IM' and add data serial number in the class to control serial number function in WM. Check OSS 559531 for more info.
    Thanks
    Anandha

  • Storage Unit & Storage Bin

    Dear All,
    How to make that one storage bin can have serveral storage unit?
    Such as we want one storage bin can contain three pallets.
    regards
    Gang

    Hi,
    There is no restriction on using any no. of storage unit types for a storage bin. Storage unit types are defined at warehouse level. The path is Logistics Execution -> Warehouse Management -> Master Data -> Material -> Define Storage unit types.
    You can define any no. of SUT for a warehouse. Now these SUTs are assigned to materials in material master WM view 2. And materials are linked to bins. SO, whatever materails you have for a bin the SUTs for those materials are all valid for that bin...
    Hope this is of some help for you..
    Regards,
    Noopur

  • WM Storage Unit Type Capacity

    Hi,
    I have the following situation:
    In our warehouse, materials are received in kilograms and stored and transferred in barrels or containers.
    For this reason we are using storage unit types "barrel" and "container".
    For the barrels, we have a defined bin structure. Containers are stored in one large area with no restrictions to the number of containers.
    For barrel storage we use placement strategy P (palletization). This because a maximum of 4 barrels can be placed in a bin. We created 4 bin sections per bin to hold the maximum of 4 storage units.
    My question is this:
    To check if a storage unit can be placed in a bin works fine. A maximum of 4 barrels is allowed in a barrel bin.
    However, when converting a TR to a TO i want to check the entered quantity PER storage unit type.
    For a barrel, a maximum of 250 kilograms is allowed. For containers, a maximum of 1500 kilograms is allowed. Material can be stored in barrels, as well as in containers.
    How do i let the system check the allowed maximum quantity per storage unit type?
    Thanks in advance,
    Paul

    Hi Paul
    I can see why it is failing now.
    For a storage type with Palletization strategy, it considers the capacity per bin and not per section. Therefore it will allow you to putaway 750KG in a single section of the bin (250 used by SUT totaling 1000 for the bin).
    Your requirement is capacity check per SUT with a set maximum material quantity.
    A different way of handling this is using capacity check method 2 for the storage type.
    Then update your material master data (WM2 view) with Palletization data.
    250  KG  <Barrel SUT>
    No update to storage bin masters is required.
    A drawback of this strategy is you can work only with the one SUT for a material. System will not take in to consideration any data given in line 2 or 3 in Palletization Data. In other words you cannot restrict the max quantity for Containers for the same material.
    Perhaps depending on the storage type characteristics of your container store, we may make some work around.
    Let me know if you wish to discuss more.
    Regards
    Baseer

  • Leave Handle Units and keep Storage Units in WM

    Hi all,
    I'm searching for a solution to leave our HUM and "transfer" existing stocks keeping the Storage Unit number.
    Thanks for your ideas !
    Regards,
    Eric Colas

    It is possible to do the putaway in WMS w/o previous GR in IM, for details you should read SAP online help which provides the steps of necessary customizing and steps of the scenario:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f83f704afa11d182b90000e829fbfe/frameset.htm
    (When you putaway the positive quant a negative quant will be created - this negative quant will be neutralized via the PrdOrd confirmation.)
    Edited by: Csaba Szommer on Sep 20, 2010 11:51 AM

  • Need Ideas For Storage Units Data Storage Capabilities - Special Attributes? History? 2 Ind-UMs

    Hello experts,
    The company I'm working for is looking into permanently-storing pallet level information (keep a history of the pallet movements) and use RF-scanners to move product in the warehouse. They have made a decision to implement Warehouse Management's Storage Unit Management functionality. They looked into Handling Units as well, but they don't want to use HUs for many reasons.
    They would also like to store 2 units of measure at the Storage Unit level without activating "Catch Weight Management" because that would require them to run parallel systems for a while and also deal with CWM functionality restrictions. Keep in mind that most of the products they handle are catch-weight products, so UM conversions don't work for them.
    Solutions I have in mind:
    For storing 2 independent UMs: Store the quantity of the 2nd unit of measure in a custom table at the Storage Unit level and use custom RF-scanner programs to "receive, issue, scrap, and move" goods in the warehouse. These custom RF-scanner programs would update SAP standard table with 1st (base) UM and also custom table with 2nd UM.
    For permanenlty-storing SU history: Use custom table to to store Storage Unit History. The custom programs created to handle the SUs would update this custom table.
    Last time I checked, the history of a Storage Unit is not recorded in SAP, correct? ONLY in Handling Units, correct?
    OR are there any documents/tables that permanently store the Storage Unit number so they can be queried after the Storage Unit is consumed/issued?
    I know SAP keeps improving its applications with every release, so I'm just looking at my options here.
    Does anyone else have any other ideas on how to approach this other than Using Handling Units & Catch Weight Management?
    Thanks in advance!
    -Mr. Bello
    Message was edited by: Jürgen L

    For storing 2 independent UMs
    Can you please explore the LS26 option there also system is allowing you to change the parameter"Unit of measure" and displays the stock on different UoM, hopefully this will solve your problem and you need not design a custom table to store the value at different UoM level
    For permanenlty-storing SU history:
    System store the storage unit related value in table : LEIN however the moment you do any consumption or movement to non SU the entries goes off from this table hence i think the approach taken by you seems the only one approach  to store the historical data. (Make sure you are taking into consideration of the archiving activity as you proceed further the size of database will get bigger and time to generate any report will take longer then expected

  • Storage Unit Date

    Dear Experts
    Please advice which exit / badi / enhancement can be used to derive the same / orginal storage unit date in case when we transfer stocks from one storage location to other.
    when the stocks are transfered from one Sloc - WM location to other Sloc WM location, the system consumes the orginal storage unit in the source location and creates new storage unit in the destination location. due to this the ageing of the item in the destination storage bin becomes new and the system does not consider the orginal storage unit number
    Can you please help me find a solution for this since the ageing report is being developed and derived from BI
    Thanks

    closed

  • How the storage unit get populated automatically in TO during GR?

    Hi,
    I have a question to ask you with regards to SU in WM.
    I perform a goods receipt against a production order in MIGO.
    and I notice the Transfer Requirement get created and the Transfer Order also get created automatically in the background.
    My question is the system also automatically assign a storage unit in the transfer order (LTAP-NLENR), may I know what system configuration is requre to setup such automatic SU created for the TO, where in SPRO?
    In between this is a "Bulk Storage" Strategy used in this storage type.
    thanks
    tuff

    If your destination storage type is SU managed and you have an internal number range assigned then system will automatically propose the the SU number (trhe next number from the number range)

Maybe you are looking for