Provision of getting single PR as a result of MRP run.

Dear All,
We aere running the MRP (MD02) using a single product group consisting of several materials in it. Now as obvious the PRs are getting generated saperately for every material  once the MRP is run.
As per the requirement of the Client, we are required to to get a single PR as the result of the MRP run. The same PR can have all the materials as its line items.
Is there any way this could be achived using ABAP enhancement in MD02 (some bAdI or Customer Exit or ENhancement).
Thanks In Advance.
Abhi....

answered....

Similar Messages

  • Cannot get Genius to work - Always get same error message - "Genius results can't be updated right now. The required file cannot be found."  Problem also seems to be affecting iCloud aand Music Match.

    Cannot get Genius to work - Always get same error message - "Genius results can't be updated right now. The required file cannot be found."  Problem also seems to be affecting iCloud aand Music Match. Can anyone help me with this?  What file is missing and from where?

    This is a known problem with Windows 7 Enterprise using certain Group Policy settings. Solution for me was to use another machine running Windows 7 Ultimate.

  • Exporting using 'interactive pdf' - how can i get single pages to display?....

    Rather than it pdf'ing in spreads.  When I use the 'Print pdf' it is fine I can get single pages!  Thanks!

    Which application are you talking about? I'm guessing it's InDesign, but this is the forum for Adobe Acrobat. InDesign's export system doesn't use Acrobat at all, and it will *always* export spreads when you choose Interactive PDF, as that workflow was designed for use with 1-up layouts intended for screen display.
    There are some workarounds involving re-saving your file without facing pages, but until we get the dialog updated there's no hassle-free solution.

  • When I book the PTO or ATO model, I am getting the error "Configuration validation resulted in error(s)."

    Deal All,
    When I try to BOOK the PTO or ATO model, I am getting this error "Configuration validation resulted in error(s).". System is not allowing me to BOOK the order.
    Really appreciate if anyone faced this type of issue and please provide some solution on this.
    Regards
    Subramanyam Jayaram
    Mobile : +91-888 680 1966

    Please review the following docs and see if any helps.
    Configuration Validation Resulted In Error(s) While Booking after Upgrade to R12 (Doc ID 1679380.1)
    Configuration validation resulted in error(s); ORA-01403: no data found in Package oe_config_pvt (Doc ID 384266.1)
    11.5.10.25.37 or lower - When Booking, Configuration Validation Resulted In Error(s) (Doc ID 727949.1)
    "CONFIGURATION VALIDATION RESULTED IN ERROR(S)" WHEN BOOKING THE ORDER (Doc ID 1065818.1)
    Configuration Validation Resulted In Error(s) While Booking (Doc ID 358164.1)
    OEXOEORD: Booking Errors. Configuration Validation Resulted In Error(S). (Doc ID 311606.1)
    Thanks,
    Hussein

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

  • How can I get the variable with the value from Thread Run method?

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    // I should get Inside the run method::: But I get only Inside
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    We want to access a variable from the run method of a
    Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
    Even
    though I make the variable as public /public static, I
    could get the value till the end of the run method
    only. After that scope of the variable gets lost
    resulting to null value in the called method/class..
    I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
    public class SampleSynchronisation
      public static void main(String[] args)
        SampleSynchronisation app = new SampleSynchronisation();
      public SampleSynchronisation()
        MyRunnable runner = new MyRunnable();
        new Thread(runner).start();
        // yield this thread so other thread gets a chance to start
        Thread.yield();
        System.out.println("runner's X = " + runner.getX());
      class MyRunnable implements Runnable
        String X = null;
        // this method called from the controlling thread
        public synchronized String getX()
          return X;
        public void run()
          System.out.println("Inside MyRunnable");
          X = "MyRunnable's data";
      } // end class MyRunnable
    } // end class SampleSynchronisation>
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run
    method "+sathr.x);
    // I should get Inside the run method::: But I get
    only Inside
    class sampleThread extends Thread
    public String x="Inside";
    public void run()
    x+="the run method";
    NB: if i write the variable in to a file I am able to
    read it from external method. This I dont want to do

  • Can we change MRP Run results after executing MRP. Can anyone tell me how?

    Hi,
    I want to change MRP rum planning results after executing MRP run. Is this possible??
    Regards,
    Thomas

    Hi,
    Yes, you can do changes. The MRP result will be the planned order. You can change the planned order qty and dates.  Once you change the planned order manually, it will get firmed and the system will not do any automatic changes in that planned orders. You can delete the planned orders, but again in the next MRP it will create the new planned orders once the requirement has not changed.
    Regards,
    V. Suresh

  • HT4796 I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    You could of course use Safari your default browser as a quick method of accessing gmail until you figure out the Firefox problem. (More than one browser may be used on a Mac or other computer).
    Is this the only site you have problems with ? and does Safari work ok ?
    Often this problem requires the page to be reloaded
    * try pressing the shift key as you reload the page
    Another problem is sometimes the cookies for that site need clearing
    * see [[Delete cookies to remove the information websites have stored on your computer#w_delete-cookies-for-a-single-site]]_delete-cookies-for-a-single-site
    * see also [[Firefox and other browsers can't load websites]] or[[Firefox can't load websites but other browsers can]]

  • I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I did it again. Now it will not run and I get an error message saying that firefox is running and you can only run one at a time. I can't figure out what is running.

    Because of a problem, I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I uninstalled/reinstalled it again. Now it will not run. I get an error message saying that firefox is running and you can only run one at a time. I have uninstalled multiple times and can't figure out what is running. The is only one Firefox installed and it is not open. What does this mean and how do I fix it?

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

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

  • Schedule lines are not getting generated during MRP Run

    Schedule lines are not getting generated during MRP Run. I have maiantained source list for the material with proper validity date and also maintained scheduling agreement . MRP relevvant Indicator , I have marked - 2 which means -Record relevant to MRP. Sched. lines generated automatically.
    Still I am not able to get schedule lines and instead of that *Purchase Requisitions* are getting generated.
    Can any one help me and suggest me what to be done in this case .
    Thanks & Regards ,
    Nirmalya

    Dear,
    Welcome to SDN,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.
    Regards,
    R.Brahmankar

  • Event not getting triggered for PR generated through MRP run

    Hi All,
    Could anyone let me know how to get a workflow triggered for the ReleaseStepCreated event (obj - bus2105) when the PR is created through MRP run. The MD02 control paramters have the value '1'.
    Interstingly the workflow triggers when the value is set to '2' or '3'.
    Thanks,
    Ameekar

    Thanks Aman,
    I checked field restrictions but there are none there. Actually i checked them for other object 'AOOMARA' which is being thrown as an exception when i am creating the PR through MRP run.
    Exception says -> field not maintained.
    So i guess, i need to maintain the field for Change Document but i am not sure how. COuld you please aid me with that.
    Thanks A lot !!

  • 'Releasestepcreated' not getting triggered for PR generated through MRP run

    Hi,
    I have PR Release strategy workflow configured, working well when i try to create PR manually, triggers workflow.
    PR's created thorugh MRP run, triggers release strategy but not workflow.
    I checked the event trace 'releasestepcreated' event not triggered through MRP run.
    Please respond ASAP.
    Your inputs will be highly appreciated.

    Short Text 
    Workflow with multiple workitems 
    Long Text 
    Refering SAP notes that i came to know that workflow is not supported
    through MRP run (md03/md04).we are not using Planned orders.
    To trigger workflow for Purchase requisitions created by MRP run, we
    have developed a custom report to trigger workflow explicitly.
    1.MRP batch job runs every night. After MRP job,planned to schedule
    another job to trigger workflow for PR's created MRP run.
    2. Used FM 'SAP_WAPI_CREATE_EVENT' to trigger workflow.
    3. PR requires 5 levels of approvals based on release strategy
    configuration.
    4. The issue is PR 'XXX' created and waiting for approval in agent's
    inbox.When 2nd day MPR runs same PR 'XXX' effected, another
    workitem for the same PR in agent's inbox.
    We have multiple workitems for the same PR in agent's Inbox.
    If i execute one of the workitem,releases PR, multiple workitems are
    getting generated for 2nd level approval for the same PR.
    Please give your inputs to resolve this issue.

  • Help!!!!! I need to get iphoto lib off of hd which is running really slowly, and clicks rather more loudly than usual, how do i do this, im even on my iphone asking this!

    Help!!!!! I need to get iphoto lib off of hd which is running really slowly, and clicks rather more loudly than usual, how do i do this, im even on my iphone asking this! Computer also runs inly marginally faster in safe boot mode! Could the apple store help?

    It certainly sounds like your harddrive is dying.  I would Immediately backup your harddrive to an external USB or Firewire harddrive Before doing anything else.  It just may save your data in time before you lose it all.
    Hope this helps

  • How can I display the vendor associated with result of my running total sum

    I have a report that lists vendors with their most vecent order dates.  I need to set up a rotation so that the vendor with the latest order date is next to be selected.  I used the running total summary to pick the latest date.  How can I display the vendor associated with result of my running total summary?

    If your "latest" order date means the "oldest" order date, why don't you try this:
    Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
    This will make your oldest order your first record shown. 
    You can then create a running total count for each record.
    Lastly, in your section expert under conditional suppress X+2 formula, write this:
    {#CountRecords}>1
    The result will only show the oldest record in your report.
    I hope that helps,
    Zack H.

Maybe you are looking for

  • Getting error in event handler method onPlugFromStartView

    Hi,        I am getting error in event handler method onPlugFromStartView java coding. The error message is u201CThe method wdGetwelcome componentcontroller() is undefined for the IPrivatevieew. Plese explain how to resolve this error to deploy the w

  • How to know that  have hired all ee & maintained all the IT?

    Hi Gurus, I have hired 400 employees though PA40. I have also maintained all the other necessary IT like IT0041& IT 0105 etc. Now, I want to check that I have hired all of them properly and also maintianed necessary IT and not missed anyone. Thank yo

  • Unable to open files with unicode filenames

    Hi, I am attempting to load a file that contains unicode characters in the filename with the Flash Player 9 ActiveX control but I am unable to do so. If however I switch my system's code page via the regional and language options to a code page that

  • Time Capsule newly - HELP!

    Hi I don't know whether I am being really dull so I apologise in advance! I work at the bottom of our garden in a shed (smart tho ).  I have a DLink wifi extender which runs through the electricity supply into the shed and I connect my Mac wirelessly

  • Quad with 1gig-o-ram slowwww

    hey all, just got my quad g5 as a 2.7 replacement. [2.7 gets moved down the food chain]. currenlty it only has the shipped 1gig of ram, waiting on another 6gigs. I moved my previous 2X180gig 7200rpm Raid-0 (striped) drives from the 2.7 to the quad to