Automatic MRP Run while saving SO

Dear All,
   our customer requirement is when ever they make a sales order there should be an automatic MRP Run for all the materials available in Sales order.
How to map this scenario.
Useful answer will be definately awarded.
Regards,
HT

Hi
Firstly you plan what kind of planning you again do, whether : Make to stock or Make to order,
If it is make to stock: then we have keep then a re-order point planning at MRP setting at material master and maintain mrp type as VV (Re-order planning). when ever the stock comes to re-order point stock, automatically MRP run takes place.
If it is Make to order: then maintain the item category group as 0001 (Make to order planning) and after create Sales Order, we have do the MRP Run at MD02, and MD50.
Reward if it helps
Regards
Prasanna R

Similar Messages

  • Back ground job for automatic MRP run

    Hi pp guru,
    my client want for a particularly  material no XXXXXX ,there should be automatic MRP rum daily at 8:00 pm.
    kindly suggest me how i will map  back ground job in sap..
    regards
    Aqueel

    Dear Aqueel,
    1.Either make a copy of the MRP type say PD and assign the new MRP type to that paticular material.
    2.Or else assign one MRP controller sepecifically for this material.
    3.Activate the User Exit M61X0001 which allows to run the MRP in background based on MRP type or
    a MRP controller.
    4.Create the varaint for running MRP in MDBT.Schedule from here.
    or else use SM36 select the program RMMRP000 and select the variant and go to scehduling and
    select the time and execute.
    Regards
    Mangalraj.S

  • Automatic MRP Run

    hi all
    this is to refe. to my previous thread with same Subject :
    i have maintained schedule on hourly basis in MDBT, scheduled started on 15.33.10 pm it gives staus finish. and shows next schedule on 16.35.10 pm with status release . But on 16.35.10 pm when i check for the system status it show me, status : Cancel. and also next schedule
    on 17.35.10 pm with status = release .
    where i am wrong ? please explain me .

    SIng,
    Double click on the error message,it would take you to the ABAP dump created due to the error. With the help of ABAP person you need to analyse.
    Meanwhile, can you explain why MPR is run so frequently? Is it because you recieve or plan your material so frequently?
    Regards,
    Prasobh

  • JFile Chooser - Add automatic file extension while Saving

    Hello,
    I have a JFileChooser, which I use for saving output from my program.
    Problem is whenever I save a new file I have to manually specify its extension, otherwise I get an undefined file with no extensions.
    I want my default extension to be ".txt".
    Any ideas on what method to use? Is this a trivial issue or a complicated one?
    Thank you,
    Berkan

    What about this? Not tested.
    import java.awt.Component;
    import java.io.File;
    import javax.swing.JFileChooser;
    public class FilenameGetter {
        private JFileChooser chooser = new JFileChooser();
        public File getFileToSaveTxt(Component parent) {
         if (JFileChooser.APPROVE_OPTION == chooser.showSaveDialog(parent)) {
             File chosenFile = chooser.getSelectedFile();
             if (chosenFile.getName().endsWith(".txt")) {
              return chosenFile;
             } else {
              return new File(chosenFile.getParentFile(), chosenFile
                   .getName()
                   + ".txt");
         } else {
             return null;
    }Piet

  • Time stamp in MRP list after MRP Run

    Hi Gurus
    After running a MD01-MRP at scope of planning level, with processing key as NETCH, materials which had no planning file entry also were updated with the latest executed MRP run time stamp in MRP List MD05.
    Is it the standard behaviour? As per my understanding, the materials with no planning file relevant change is not included in the MRP run with processing key NETCH/NETPL. Then how does the time stamp be relevant for the latest MRP run while the material was never included in the mrp itself?
    Regards
    Deepak Prasanna S

    Dear Deepak,
    If my understanding is correct only if a mterial is included in the last MRP run(MD01/MDBT) then the time stamp gets included in the
    MRP list which can be checked and confirmed through MD05 and also the output of last MRP run.
    Once after the MRP run is completed the system deletes the corresponding planning file entries in the system.
    On completion of the planning run, the appropriate indicator is automatically deleted in the planning file:
    The system deletes the net change planning indicator and the net change planning horizon indicator for a regenerative planning
    run and a net change planning run.
    The system only deletes the net change planning horizon indicator for a net change planning run in the planning horizon.
    Check and revert back.
    Regards
    Mangalraj.S

  • Order reservation should not get planned in mrp run

    Hello friends,
    Actually for a finished material i have created one production order by CO01.Because of it for semi finished material system created order reservation.I dont have any stock of semi finished material.Now i want while running the mrp run system should not planned this Order reservation of semifinished material.For these in configuration of availability check (Scope of check T.C  OPJJ), I  made the settings that system should not consider reservation (i deactivated the tick for include reservation) and for include depend reservation , i selected Donot check.And all these settings i made in checking group 02 and checking rule PP.After doing all these settings than also system is considering the order reservation for semifinished material and generating the planned order for it.
    Do i need to do any other configurations?
    Thanking you guys in advance.

    Hi Jitendra,
    Checking Control (OPJJ) has no relation with MRP.It is useful in the case of Plan and Production / Process Order only to find out Missing part.
    Now come to MRP again.
    You have a choice of only 3 type of stocks to include or exclude them during MRP run while rest of the things like (PO,PR,Reservation etc are consider by default)
    Go to OPPQ and after selecting Plant go to Available Stock.You will find that options,
    - Stock in Transfer
    - Block Stock
    - Restricted Stock.
    And one more thing Reservation is not a available stock but its one kind requirement and if there is no stock then system will activate the Planning file entry and during next MRP run it will generate Planning proposal also.
    Regards,
    Dhaval

  • Automatic creation of Schedule line after MRP RUN

    Hi,
    Till now we are  using only PO for placing orders to vendor, now we want to use the functionality of scheduling agrement,  so that after MRP run,  we can get automatic schedule line creation,  for this ,  what are settings required, how system create the automatic schedule lines based on which criteria, second thing while creating on eschedule agrement i found that the conditon which i can add for a vednor in ME21N  that all condition are not coming while creating schedule agrement  even my vendor is same for PO and Schedule agrement,  so what are  the setting required for this.
      regards,
       zafar

    Hi
    1.In material master purchasing view data auto PO is to be flagged.If scheduling agreemet with release documentation.
    Then flag JIT indicator 1.
    2.maintain MRP views in material master
    3.In source list for fix vendor,source list usage 2 is to be maintained.
    4.Vendor master purchasing data auto PO indicator is to be flagged.
    5.Then when you run MRP automatically schedule lines are generated.
    For JIT and forecasting maintain creaton profile in OMUP transction.
    Assign the creation profile in scheduling agreement.

  • Create Follow-up document from Service Contract automatically while saving

    Hi,
    In CRM 4.0, under the Service secnario, Service Data for Service Contract is related to --
    1. Interval value
    2. Period
    Based on these parameter values how to generate the corresponding follow up documents automatically while saving the parent doucment(i.e Service Contract).
    For ex, Interval = 6 , Period = 36, then all the 6 docs should be genarated at once while saving the Service Contract.
    Please Advice.
    Regards
    Deb

    Hi
    Yes , manually executing the Action through PPF.
    But the requirement is to generate the subsequent docs at once while saving the Service Contract i.e the corresponding Action should also triggered automatically.
    Please Advice.
    Regards
    Deb

  • The delivery schedule lines don't get created automatically on MRP run.

    Hi All,
    The delivery schedule lines don't get created automatically on MRP run for subcontracting material.  I have maintained source list as follow eg.
    Valid from | Valid to | Vendor | Porg | PPI | Agreement | Item | Fix | MRP | MRP area
    02.11.2009 | 31.12.2999| XYZ | XY01|     |AA0000XYZE |10 | X |2 | ABC
    Could you please help me about this issue
    Thanks in advance.

    Hi Amit,
    Please ensure the value of Special procurement key in the MRP2 view for the material. It should be maintained as 30 - subcontracting.
    Thanks and Regards,

  • Automatic creation of PR after MRP run

    Hi,
    can anyone please tell me what all fields are picked up in a Purchase Requisition(PR) in the scenario of automatic creation of PR after MRP run.
    If we are using more than 1 PR type in the system how is it determined during the MRP run that the PR will be created for which type.I understand that source list will have to be created and maintained but how is the PR type determined
    Thanks in advance

    In PR the system checks for the material and vendor. See the steps below.
    Step1:Auto PO tick in material master Purchasing view (mandatory)
    Step2:Auto PO tick in vendor master Purchasing view
    Step3:Maintain Source list for vendor and material (If u r not using source list for auto PO creation, the assign the Source of supply to a PR in ME56)
    Step4:Maintain Pur. Inforecord
    Step5:ME59n : execute for PR and Vendor In ME59n, you can also select the PR document type. If you want to select different document types, go for multiple entries and enter the doc types.
    When u execute, the system will give the appropriate PRs. Select the required and convert to PO.
    But through MRP you cannot create PO directly only Planned orders can be created.
    Reward if helpful..
    Thanks,
    Srib

  • Creation of production order while mrp run

    hi
    ppgurus
    can any body explain how to create a production order by mrp run
    ie
    sysytem should create the production order directly while mrp run not PLANNED ORDERS
    what settings i need to do for  this plz explain
    urgent requirement
    regards
    sasikanth

    HI
    you gave a good way to solve the problem
    if it is a make to stock REM
    i  need not convert planned order to production oreder right
    plz suggest in  that scenario where i need to  do availability check
    in REM for which oder type (say PE IS STANDARD)
    to be assigned for availability  check
    plz suggest because in spro (t -code opjk) at order controll
    i dint see the order type PE
    the order controll (opjk) in discreet  :- avialability checking rule assigns
    in which setting this setting to be done in REM

  • Creation of Purchase Order automatically via PR after mrp run.

    Hi Experts,
    I want  to know that , after MRP run  i got the no of PR'S. As i know , through MD04  i can create purchase order from particular pr but is their any option from which purchase order  get generated automatically from pr's which are generated afrer MRP run.
    Thanks n Regards
    Anupam

    Hi,
    You can maintain source list Tcode ME-01 and make it MRP relevant by selecting Sorce list MRP relevant. In sorce list you can maintain vendor and material data valid for particular period and make it MRP relevant.
    With this you can automatically generate purchase order from Purchase requisitions after MRP Run.
    Regards,
    Tushar Patankar

  • Error while closing the open purchase order for MRP run

    HI expets,
                     We are facing issue while closing the old purchase order(18.12.2007) for MRP run, if we are clicking delivery completed for the particular line item ,system is showing the error NET PRICE MUST BE GREATER THAN ZEROthough we have made GR and IR aganist the line item an value is also showing in the purchase order history tab, but in the condition tab there is no value showing for the particular line item .Kindly suggest the way forward.
    regards
    Karthick sundaram

    one thing for sure, you cannot proceed without maintaining proper conditions in the PO.
    Why they are not there or not anymore there is probably caused by customizing or vendor master data changes.

  • Database Table where MRP Run results are saved-Urgent

    Hi Gurus
    i need your help in identifying the database table where the MRP Run results are saved , this is needed for creating a custom report similar to MD45(but for entire plant) where i can look and pull the sum of all the receipts and issues, ATP Quantity for a given material in a particular plant
    and ignore zero quantities in the receipts and issues field
    i tried in <b>MDTB</b> table, MDTB-MNG01 Quantity received or quantity required but it has no entries maintained in it and so it cannot be used.
    So can you please help me with the table where i can get this information asap
    thank you very much for your time and solution

    Please use the code below which will help you in extracting data from MRP table.
    You can enhance this program basing on your requirement.
    *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    A sample program to extract data from the MRP table.
    *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    REPORT ZMRPTABLE.
    TABLES: MDKP,  "Header Data for MRP Document
            MDTB,  "MRP table
            MDTC,  "Aggregated MRP table items
            T457T. "Description of MRP elements
    DATA: BEGIN OF MDTBX OCCURS 0.
            INCLUDE STRUCTURE MDTB.
    DATA: END   OF MDTBX.
    SELECT-OPTIONS: PLANT FOR MDKP-PLWRK OBLIGATORY,
                    MATNR FOR MDKP-MATNR OBLIGATORY.
    CLEAR: MDKP, MDTB.
    SELECT * FROM MDKP WHERE DTART EQ 'MD'
                         AND MATNR IN MATNR
                         AND PLWRK IN PLANT.
        WRITE:/ MDKP-MATNR, MDKP-PLWRK.
        IF MDKP-CFLAG EQ 'X'.
           CLEAR MDTBX. REFRESH MDTBX.
           IMPORT MDTBX FROM DATABASE MDTC(AR) ID MDKP-DTNUM.
           LOOP AT MDTBX.
             MOVE MDTBX TO MDTB.
             SELECT SINGLE * FROM T457T WHERE SPRAS = 'E'
                                          AND DELKZ = MDTB-DELKZ.
             IF MDTB-PLUMI = '-'. MULTIPLY MDTB-MNG01 BY -1. ENDIF.
             WRITE:/ MDTB-DAT00, T457T-DELB1, MDTB-VSTAT,
                                              MDTB-MNG01, MDTB-LGORT.
           ENDLOOP.
        ELSE.
           SELECT * FROM MDTB
                         WHERE DTNUM EQ MDKP-DTNUM
                         ORDER BY PRIMARY KEY.
             SELECT SINGLE * FROM T457T WHERE SPRAS = 'E'
                                          AND DELKZ = MDTB-DELKZ.
             IF MDTB-PLUMI = '-'. MULTIPLY MDTB-MNG01 BY -1. ENDIF.
             WRITE:/ MDTB-DAT00, T457T-DELB1, MDTB-VSTAT,
                                              MDTB-MNG01, MDTB-LGORT.
           ENDSELECT.
        ENDIF.
    ENDSELECT.
    This is taken from www.sap-img.com
    Hope this helps you.

  • Linkage of Sales Order with OPM Batch automatically through MRP run

    Hi Friends,
    Can anyone please suggest me of how the Linkage of Sales Order with OPM Batch can be created automatically after running OPM MRP.
    Thanks in advance.
    Thanks & Regards,
    Bharathram N.

    Dear Friend,
    Thanks for your update.
    I had the set ups already which you have specified. But I dont see in the action messages screen any sales order number for each action.
    My requirement is following..
    1. I will enter SO for an item called A.
    2. Run MRP.
    3. From Action Message Summary, I will release production batch.
    4. Now the batch been created should have the sales order number from which it came originally.
    Hence to achieve above, I need SO with MRP Link action message(backend or front end)..
    Hope the above scenario is clear to you..Plz let me know your thoughts..
    Thanks & Regards,
    Bharathram N.

Maybe you are looking for

  • Error while opening the report.

    hi,   Some time i am getting "500 Internal Server Error',while executing the report.Please check the following exception and  give the possible reason for getting this kind of problem. <b>   500 Internal Server Error</b>                              

  • Problem, trying to play many sound files

    hello, I did not find a specific answer to my question in most of the archives and so I am posting here. my problem is that I have to play a sound when mouse moves over an object and another sound when the same object is clicked. there are many such

  • ISE 1.2 Device registration problem

    I'm trying to get the device registration to work, but keep getting "Device not supported" or "Unable to obtain the user information". I cannot seem to find any information on those errors from the manuals. What are the possible solutions to get it w

  • Popup LOV fails in firefox when using an outer join!!!

    I have a popup lov which contains at least 2 outer joins in my query. The popup renders fine in IE but i get the error message: "Popup List of Values query is invalid, a display and a return value are needed, the column names need to be different" wh

  • Reseting the date and time on photosmart 5510

    Having replaced the internal battery,the date and time on scanned items to memory card is giving 1st january 2001.how can i reset this.