Create TO from material document automatically

Hi Experts,
I'd like to ask for a solution about Create TO from material document automatically.
Business Scenario:
Normally, user will create TO from material document by LT06, then confirm it by LT12. If there is no stock on the shelf at the time when user confirms it, user will put quantity zero when confirmation by LT12, then user will create a new TO according to same material document.
Requirement:
According to scenario above, if there is no stock on the shelf, user wants to create a TO from material document automatically when he confirms the first TO.
here I'd like to ask if there is any solution on it?
We tried to use user exit: EXIT_SAPLL03T_002, and call transaction in it.
but result is: first TO is not confirmed with zero quantity yet, so new TO can not be created.
Please tell if there is any other solution, many thanks.
Best Regards,
H.B

Hi
To my understanding at the first time when TO is created for the material document and stock is not available using the available user exit in TO confirmation u can forcibly confirm the TO but for the second time TO creation and confirmation there wont be any trigger point( as bcz we have config to create TO immediately ony when mat doc is created) so for that u need to schedule a job for creation and confirm of TO's for the open mat documents.
Regards
Amarnatha

Similar Messages

  • 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

  • Challan material is different from material document----Message no. 8I572

    Hi,
    I am getting the following error in subcontracting process when reconciling through J1IFQ.
    Challan material is different from material document----Message no. 8I572
    After P.O. creation and issued the materials through 541 and created a subcontract challan 57f4 and G.R has been done when reconciling through J1IFQ i am getting the above mentioned error.
    Thanks,
    Kiran Bodla

    Hi,
    In spro --> taxon goods movemnt > indiac> business transaction --> subcontrcating --> maintain movement type grp
    here miantain
    0002     101
    0002     542
    0002     543     O
    Hope help U !
    Regards,
    Pardeep Malik

  • Challan material is different  from material document

    Dear All,
       When i going to reconciliation of subcontracting challan on t-code J1IFQ
    *material document -MIGO  Number(which was created at the time of MIGO)*
    *Year-2009*
    when i feel the detail like
    year            challan no             Item
    2009           00000001
    it also show a warning message *material document MIGO  Number(which was created at the time of MIGO) 2009 is allocated a challan during GR**
    im getting a error message
    challan material is different  from material document
    Pls Guide me
    Thanks
      Amin
    Edited by: sekh amin on Jul 9, 2009 8:16 AM

    M also facing the same problem and getting the same error message.
    "Chalan material is different from material document"
    But when I checked material and challan, everything was OK.
    Can anyone guide me to solve the issue.
    Regards
    Edited by: sapsarang on Jul 13, 2009 8:14 AM

  • "challan material is different from material document " error in GR

    hi all..
    when i am trying to do GR with respect to challan that i have created its showing
    "challan material is different from material document "
    if i didn choose the option "Refer sub-con challan" and tried to post it shows dump error of
    "Exception condition "T681Z_MISSING" raised.".
    dont we get the values while creating sun con challan in J1IF01 ?
    can you suggest where i have missed the steps.
    Thanks
    r.Kannan.

    Whenever inwarding the material against the Sub contracting , challen no to be given, but can you tell , which version you r working,
    Its this problem continue for all the sub contracting & for only on login or many logins
    Regards,
    Suresh.P

  • How can I get Notification Number from Material Document?

    Can you please tell me that how can I get Notificatin Number(QMEL-QMNUM) from Material Document(MSEG-BELNR)?
    Regards,
    Subhasish

    This question is closed but unanswered.

  • Challan Material is Different from Material Document Message No. : 8I 572..

    Dear All,
    Good afternoon. In my company, after version upgrade from ECC5.0 to ECC6.0, facing one peculiar issue i.e in MIGO for subcontract order : When I enter challan number for reference in pop-up, We are getting the below error
    "Challan Material is Different from Material Document Message No. : 8I 572..."
    Creation of preliminary activites before migo in one user login and if i try migo for the same in same login, no errors reported. but if I do the MIGO from different user login, i have noticed with above error and vice versa.
    For this as a abaper, if I debug for trouble shooting from MIGO, no error noticed from any logins for the same activity.
    Kindly help us.
    Arunachalam S

    Dear Hema,
    Thanks for your reply.
    As you mentioned, every thing has been checked and found okey.
    The observation is with same authorization, User A can able to inward the sub-contracting material but User B coud'nt do so and noticed error of  "Challan Material is Different from Material Document Message No. : 8I 572.."
    Even thought,the input information for the both logins are same.
    have a nice day.
    Arunachalam S

  • Create Notification from Measurement Document IK11 (user-exit IMRC0001)

    Hi Experts,
    I have to create Create Notification from Measurement Document (IK11) using user-exit IMRC0001. I have some doubts regarding this.
    1)  what is the function module to create notification from Measurement Document.
    2)  can u give the table name to see Measurement Document.
    3)  where we can see the measuring reading field names to create Measurement Document.
    Thanks.................
    B Z.

    hi check this....
    table for measurement IMRG
    http://help.sap.com/saphelp_nw04/helpdata/en/af/cb5447461411d189f20000e81ddfac/frameset.htm

  • 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

  • Multiple Posting change notice created for one material document

    Hi All,
    The scenario is that the user needs to transfer material from unrestricted to quality stock type. while doing so the storage type is different than the actual storage type for the material. Meaning if the material is normally stored in high rack storage type, when it is found that the material is damaged or expired it need to be moved to the quality storage type. For this the user will first create  material document in IM with movement type 322 transferring material from unrestricted stock to qualtiy stock. A PCN will be created in back ground which will in turn be converted manually by the user to a TO. while doing so the user will pick the quant manually from the required storage type and select the destination storage type as the quality or quanranntine area.
    The issue here is that system creates one PCN for each material document line item. The requirement is that the system should create only one PCN with multiple lines for one Material document.
    The setting in the movememnt type clearly says that it will behave as it is behaving.
    Is there any other way or setting by which we can create one PCN with multiple line items for a material document.
    Would look forward to your replies.
    Regards,
    Jeetendra

    Thanks and Sorry for the delayed reply. We have now convinced the users that the system behaviour is standard and we cannot change the same.
    To your question about the need to have one PCN with multiple lines please note that the setup is such that when material document is created for transferring material from unrestricted to quality and vice versa this document is created with multiple materials in one go. Now when the PCN is to be converted to TO then the user ends up in creating number of TO's equal to the number of lines in the Material Document. We wanted to avoid this and hence this was posted in SDN.

  • I want Inbound Delivery number from Material document

    Hi,
    I wish to know where is the Inbound Delivery number (which SAP table) stored when we do a MIGO_GR against an Inbound Delivery ? I want to fetch the Inbound Delivery number from the Material document number.
    I observe, when we do a MIGO_GR against an Inbound Delivery; the original PO number (against which the Inbound Delivery was created) is stored in MSEG_EBELN. However, there is no trace of the Inbound Delivery number...neither in MKPF, nor in MSEG.
    Since a PO number- line item can have multiple Inbound Deliveries associated with it, having a PO number in MSEG is of no use to me.
    Please help.
    Thanks,
    Pranav

    Dear Pranav,
    I think you should check again, in MSEG, there's also PO -item with field name : MSEG-EBELP. So from PO and PO item , you can get all the Inbound delivery number.
    Regards,
    w1n

  • Link to find Accounting document number from Material document number / PO

    Hi
    We are working on a custom report, in which we need to print purchasing details (from EKPO, EKKO & EKBE) as well as accounting details (from BSEG & BKPF). We need to hit BKPF/BSEG with the accounting document number, since it is the only key field (though PO number is there in BKPF, we can not use this because it is not a key field)
    My question from which table we get the accounting document number ? We need to provide a link between purchasing & accounting through accounting document number, but how to find the accounting document number. ?
    Thanks
    Venkat.

    Venkat,
      I guess you are trying to fetch Accouting Documents for goods receipt against PO.
      To do this, you need to look at the PO History table (EKBE) and find out the Corresponding material document (VGABE = 1 for good receipt).
      Get the value of BELNR and GJAHR.
      Concatenate BELNR and GJAHR into your refernce key (like BKPF-AWKEY).
      Then use this key to read table BKPF with the following key
       AWTYP = 'MKPF' for Material document
       AWKEY = reference key generated above.
       AWSYS = the value of the logical system (if used) or blanks
    This will get you quicker access as compared to what you've described below. In this case, the system uses a standard SAP Index "Index by application type and key" to fetch the relevant records.
    Hope this helps.

  • How to Get PO from Material Document by MB1B!

    Hi,
    I created a PO for subcontracting. When I send
    the goods to vendor with trx MB1B and mvt type 541, Material Document Number will be generated (option: to Purchase Order) . When print out this Material Document Number by MB90, I want to get this PO number. Please let me know how to get the relation bw this PO and Material Document.(I have checked in MKPF-XBLNR, but it is blank).
    Thanks in advance.

    there's no relation. the process how you have implemented it leaves no relation between PO and GM except for your doing so 'artificially' by filling field XABLN (for example) or any other.
    if you would adjust the process to use deliveries (tx. ME2O) the prospect would not be much better but there would at least be a chance to find the relation.
    as it is, SAP designed this to be a 'transfer posting' - to do it entering a PO-number is only in order to make typing easier but does not mean, items, quantities or anything else has to be entered as it is in the PO. you can add as many line items as you like ... as long as there's available stock you get your movement.

  • Acrobat 8 can't locate scanner to create PDF from printed document using OCR

    Hello,
    I have an Epson scanner that is my default scanner on my OSX (10.6).  Every program I have locates my scanner perfectly except Acrobat 8.0.  Is there something I can do?
    From the home dialogue box I click "Create PDF from Scanner".  The next dialogue box opens and the Tab "Please Select a Device" doesn't let me scroll to find my scanner.  So the scan button is greyed out and I can't do anything.  Is there something I can do to make Acrobat clearly find my scanner?
    -Luis

    Check to see if they have a Native (not universal Binary) Twain Driver. Adobe refuses to allow universal Binary Twain Drivers in their programs.
    Either use a Software package from the SANE/TWAIN Project. (look up on Google). Or use a Pakage Like SilverFast.
    Before downloading the SANE/Twain Driver you have to look and see if the have a package for your current  OS  and for your particular Scanner. Stayaway from the SDK's unless your a Programer.
    Then when you install all the pieces and set up open Acrobat and go to document Create PDF from Scanner choose SANE/Twain. Should be able to scan with it.
    If you use SliverFast it is a standalone package  Just scan and save as a PDF then open in Acrobat.  or save as a Tiff or jpeg. Acrobat hasn't worked with a scanner since Macs went from OS9  to OSX.

Maybe you are looking for

  • Small fast network with Mac mini server and Promise Pegasus?

    I have 7 Mac Pros and iMacs that need to be connected to the same storage. I'm doing non MPI-based numerical modeling so the transfer rates have to be fast but not infiniband fast. I'm considering a setup with a Promise Pegasus thunderbolt RAID conne

  • Sound shifts to the right side of IPod

    Greetings. I'd like to know if anyone has run into this problem with their IPod: While I am listening to music, a podcast or watching a video on my Video 60GB Ipod, quite to often now the balance of sound will move to the right side. Sometimes the so

  • ObSSOCookie always comming as loggedout

    We are using Oblix server with ATg as Appserver and Appache as Webserver. Recently we are upgrading from ATG 5.6 to 6.4. When connecting to Oblix we are getting as ObSSOCookie always as loggedout. Can any one please help me why we are getting as logg

  • How do you debug with IPlanet

    I am evaluating IPlanet under the Test Drive. We are using JBuilder for development. Is there a way to launch kjs processes in debug mode so that they can be remotely attached for debugging? Right now I can see no way to debug my EJB code running in

  • Remove leading zeros for invoice lists to allow auto lockbox processing

    I have a change request for the following document at my job. but i am very new into it and do not know how to start and what to do exactly? can anyone please help me what to do in this matter. SAP auto posting process for lockbox checks was created