BAPI to create Transfer order(WMS) from Material document

Dears,
       We have activited WMS and we have not found any BAPI to generate TO in WMS from Material document to post GR to a specific bin. Is there any BAPI available for particular operation?
Can anyone tell me about name of BAPI?
Regards,
        FR

Try with Function Module  L_TO_CREATE_TR
also try
Use this function module to create TO (transaction LT01) L_TO_CREATE_SINGLE
CALL FUNCTION 'L_TO_CREATE_SINGLE'
EXPORTING
i_lgnum = ti_lqua-lgnum
i_bwlvs = l_bwlvs
i_matnr = zwwmugeori-matnr
i_werks = ti_lqua-werks
i_lgort = ti_lqua-lgort
i_bestq = l_bestq
i_letyp = l_letyp
i_anfme = l_anfme
i_altme = l_altme
i_vlpla = l_vlpla
i_vlenr = l_vlenr
i_nlpla = l_nlpla
i_nlenr = l_nlenr
i_commit_work = space
IMPORTING
e_tanum = l_tanum.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 13, 2008 11:33 AM

Similar Messages

  • Creating Transfer Order for a Material document

    Hi,
    I am transferring the Unrestricted stock from one material to another material through Movement type 309.
    I am creating a material document through BAPI_GOODSMVT_CREATE. Once the Material document is created and if the stock is in multiple storage types or storage bins, then I need to perform LT06. Instead of doing BDC recording I am using L_TO_CREATE_MULTIPLE function module for creating the TO. I am passing all the necessary values to this FM. TO is getting created but the Material document is not reflecting in that TO.
    As per the configuration, movement type 309 will create the posting change only not the Transfer Requirement.
    Does anybody have encountered the same problem?. If so please let me know how you have resolved the issue.
    Regards,
    Kishore.

    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

  • FM/BAPI to create Transfer Order(TO) with reference to TR or Material Doc.

    Hi,
    I am in need of Function module or BAPI to Create Transfer Order(TO) with reference to Transfer Requirement(TR) or Material Document.

    Hi,
    Please try any of the below,
    1.Look at function group L03B (Transfer order processing)
    2.Use L_TO_CREATE_TR
    3.BAPI_GOODSMVT_CREATE set:
    GOODSMVT_ITEM-STGE_TYPE_PC = destination storage type or GOODSMVT_ITEM-STGE_TYPE_ST = destination storage type
    4.Look at fm L_TB_VERAENDERN. This isn't RFC, but you might copy fm into ZL_TB_VERAENDERN and set RFC on.
    Hope this helps.
    Thanks,
    Harini

  • How to create Transfer order from material document   uFF08Move type is 101uFF09

    Hi all,
    is there any function module, BAPI to create transfer order from a material document number?
    I want to use FM L_TO_CREATE_SINGLE,but the result is "Movement type 101 for manual transfer orders does not exist".
    Is the parameters error?
    Thank you in advance
    Regards

    The error message you get is number 196 from message class L3, do a where-used on it from transaction SE91 and then put a break-point on each line result.  Afterwards, re-execute your function call and see which break-point is hit and investigate from there.
    With that said, you really should be using Bapi BAPI_GOODSMVT_CREATE for all goods movement operations.  It shares code with MIGO and executes the same Badi's and user-exits, so data integrity is not broken.  Don't forget Bapi BAPI_TRANSACTION_COMMIT to commit changes in the database after a successful call.
    cheers

  • How to create Transfer order from material document

    Hi gurus,
         is there any function module, BAPI to create transfer order from a material document number.
    waiting for positive reply.
    thanks
    vinod

    Hi,
    The FM L_TO_CREATE_SINGLE or L_TO_CREATE_MULTIPLE could solve your problem.
    Hope it helps.
    Chang

  • BAPI - Goods receipt and then create transfer order for a production order

    Hello Everyone
    We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
    We are using BAPI 'BAPI_GOODSMVT_CREATE'
          i_items-orderid = wa_afpo-aufnr .
          i_items-order_itno = wa_afpo-posnr.
          i_items-mvt_ind = 'F'.
          i_items-stge_loc   = wa_afpo-lgort.
         i_items-stge_type = '901'. "wf_styp.
         i_items-stge_bin = wf_sbin.
          i_items-entry_qnt  = wf_qty.
          i_items-entry_uom = wa_afpo-meins.
          i_items-entry_uom_iso = wa_afpo-meins.
          i_items-batch      = wa_zmobtag-charg.
          i_items-move_type  = '101'.
          i_items-move_reas  = wl_3131.
    We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
    The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
    My requirement : Creating material doc and then TO. Material should move to specified storage bin.
    Please let me know any alternate way( No BDC) so that my requirement is achieved.
    Regards
    Swetabh

    Hi ,
    can u check these fields ,
    STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
    STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
    Regards
    Prabhu

  • Create Transfer Order from TR - Consignment stock

    Hi,
    I've implemented vendor consignment stock in SAP. However I cannot get it fixed that when an TO is created from an TR that a TO is created for the material which is a part of the consignment stock.
    Is it possible to make a TO automatic (with LT04) that also creates a TO with consignment stock as a source bin?
    Thanks

    Hi,
    Below is a screenshot of the Transfer requirement:
    Item 1 (1100-0002-0000) is a non-consignment material and item 2 (5800-0001-0001) is a consignment material which is stored on a consignment location.
    With Tcode LT04 (Create Transfer Order from TR) it is possible to create a TO for a TR.
    After clicking enter, the following screen appears
    When I click Generate TO Item the system automatically creates a TO for material 1100-0002-0000. However the system cannot create an TO for material 5800-0001-0001. It gives the following screen. With the notice that the system cannot find the source storage bin.
    The goal is that the TO is automatic created (just as for item 1)  for this material. Thus the material can also be picked directly.
    Hope this clarifies the issue.
    Thanks.

  • Create transfer order for material document - 4.6C system

    Hi Gurus
    Can any one provide me the function module or BAPI to create transfer for material document in 4.6c system. I have to give input as supply storage type and bin and destination storage type and bin while execting the function module.
    Thank you in advance
    Regards
    Sarath

    Sarath,
    Thanks for responding, I finally found my answere via Thread: create transfer order for material document - 4.6C system
    Thanks again.

  • Anyone used BAPI/FM for LT03 create transfer order

    Hi all,
    Has anyone used BAPI/FM for <b>LT03</b> create transfer order based on delivery.
    the BAPI/FM should accept <b>multiple line items for individual storage units</b>.
    thanks,
    Subba

    thanks Amit....
    But it would be helpful to know the usage of this FM....and if anyone has used in their program....
    thanks,
    Subba

  • Create Transfer Order for Consingment Pick up

    Hey, is there anyone know how to create transfer order for consignment pick up.
    I had tried it using LT06 by using GR material document but it didnt work.
    Please i need the answer rather sooner than later.
    Thanks

    Hello,
    Customer consignment pick is from customer consignment stock back to plant stock.. First of all check in MMBE whether stock exists for that material under customer consignment stock. You can check this in MMBE.
    Your stock should be maintained  in customer consignment and not in interim storage type.
    Ideally your process shall flow like this
    Sales order (KA-Consignment Pick up with item category as KAN & schedule line category: F0 & F1)>>Enter the order reason, material and quantity in sales orde & Save It>>Create Outbound delivery (VL10B/VL01N)>>Now Create Tranfer order to move the stock from consignment to warehouse stock>>Go to VL02N Choose from menu  Subsequent Functions u2013 Create Transfer Order & Enter>>Add Storage bin if required>>Confirm the transfer order (LT12)>>Do the Post Goods Reciept (VL02N)
    Now Check Consignment stock quantity with MB58 Add Material , Plant , Customer Execute
    BR,
    Tushar

  • Create Transfer Order inbound using an Idoc

    Hi all,
    I need some help on solving the error message-  In our senario we want to send an Idoc (Create Transfer order ) from external system to SAP. Hence i have done mapping for the idoc but everytime i process the idoc- it comes with an error the storage location missing or incorrect.
    Settings i have done is
    used WMTORD message typ idoc
    E1LTORH- B requirement type
                     4xxxxxx- PO number
                     101 - mvt type
                    Gxx - warehouse number
    TAPOS     1     Transfer order item
    MATNR     002xxxx     Material Number
    WERKS     Gxx2     Plant
    LETYP     E1     Storage Unit Type
    VLTYP     902     Source Storage Type
    VLBER     001     Source storage section
    VLPLA     4544000514     Source Storage Bin
    VSOLM     300     Source target quantity in stockkeeping unit
    NLTYP     001     Destination Storage Type
    NLBER     001     Destination storage section
    NLPLA     01     Destination Storage Bin
    NSOLM     300     Destination target quantity in stockkeeping unit
    VLENR     00000000001000000445     Source storage unit number
    LGORT     2001     Storage Location
    VBELN     425001423     Delivery
    any help is welcomed. thanks
    Jasmeet

    thanks for the reply,
    But omzk is no transaction, however when I try to do create a transfer order using transaction LT03 it works fine and also the document gets osted with movement type 101. so i need to replicate this in an idoc which i am not able to do as i keep getting error message  missing storage location or incorrect

  • Bapi for create transfer requirement   - LB01

    Dear friends:
       Is there BAPI to create transfer requirement?
       Thanks!
       Regards
       Samuel

    hi
    good
    try this
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer                                            
    BAPI_INTERNALORDER_CREATE      Create Internal Order From Transferred Data                              
    BAPI_PDTRANSCO_CHECKACTINPUT   Plan data transfer: Check activity input                                 
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    thanks
    mrutyun^

  • Inputs requried to create purchase order report from flat file

    inputs requried to create purchase order report from flat file

    At a guess, I'd say purchase order data.
    If you don't give us a clue what you are actually trying to do we can't really help you too much.
    Do you want to call a BAPI?  Do a BDC?  Use an IDOC?  Or just generally muck up the system by doing inserts into the purchasing tables?
    No doubt if you tell us, you'll get lots and lots of suggestions.
    Gareth.

  • HOW to AGGREGATE TRANSFER ORDERs per same material/batch?

    Hello All,
    My company runs ordering system via web. Customers usually post web orders numerous times during sales campaigns, which result uncountable no. line items on sales and delivery documents (same ship to) even if the material/batch is the same.
    1. Could somebody help me to find a way, if there is at all, how I can create Transfer Orders per the same material/batch <b>NOT</b> per delivery line items?
    I have tried to do a test scenario via <b>2-step picking</b>. Crated a valid Group but the next error came by running <b>LT0E</b> <i>"Selected group 2703 for 2-step picking not relevant"</i>
    I do not have any clue if the 2-step picking is good for solving the above issue.
    I was not able to configure WM view up to now.
    2. How should I do that for 2-step picking?
    Many thanks for any help on this,
    Ferenc

    This response may be a little too late.
    The following may help:
    Customer exit
    Text
    Description
    MWMTOAU1
    Selection of TRs for automatic TO creation
    This task allows you to influence the selection of transfer requirements for the automatic creation of transfer orders.
    MWMTOAU2
    Selection of TRs for automatic TO creation via groups
    This task allows you to influence the selection of transfer requirements for the automatic creation of multiple transfer orders using groups.
    If you have already resolved the issue, please let me know. I have the same problem

  • BAPI to cancel Transfer order

    Hi All,
    Is there is any BAPI to cancel Transfer Order (using T-Code LT15) already created?
    Regards,
    Raghu

    Try this:
    I am not sure
    Try using FM WS_LM_TRANSFER_ORDER_DELETE
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

Maybe you are looking for