How to analyze exception 20

Hello experts,
I have a doubt about which is the best way to control exception 20 in SAP.
This is the scenario. In the BOM, we add a new item that has procurement type = F. Once the BOM has been updated, we launch the MRP and purchase requisition is generated.  We make some changes to this purchase requisition. This means that the fixed indicator is set. If we launch the MRP again, this purchase requisition remains the same.
For example one month later, this new item is changed in the BOM for other item. If we launch the MRP, a new purchase requisition is generated for the new item and exception 20 is set for the first item.
My question is which is the best way to control this kind of situations?  I mean that there is no automatic way to identify this “errors”.  The only way is look for them manually in MD06?? Is there any other way to control them?
Thanks in advance
Laura

Hi Laura
Exception message 20 is triggered because the fixed purchase requisition is not within the rescheduling horizon.
The following WIKI explains why this exception is triggered during the rescheduling check (see example 4) and the relevant customizing settings:
What is rescheduling and how does it work - ERP Manufacturing (PP) - SCN Wiki
You can enlarge your rescheduling horizon to minimize the occurence of this exeption on your system, however, the best way to catch it is using MD06. You can run the transaction using the exeption groups as a selection criteria, to see only materials with this kind of exception message.
BR
Caetano

Similar Messages

  • How to define exceptions?

    Hi
    I have an internal table containing Key and Value as fieldnames. I have defined follwoing methods.
    ADD(KEY, VALUE);
    VALUE GET(KEY);
    SET (KEY, VALUE);
    DELETE(KEY);
    In the Get Method, i need to pass a key, it must return the value. If the key is not found, it must raise some user defined exception. Similar case with set and delete also.
    Can anyone tell me in detail how to implement exceptions in my case?

    HI
    GOOD
    In exception reporting you select and highlight objects that are in some way different or critical. Results that fall outside a set of predetermined threshold values (exceptions) are highlighted in color. This enables you to identify immediately any results that deviate from the expected results.
    Exception reporting allows you to determine the objects that are critical for a query in you Web application.
    You can find additional information under Exception Reporting.
    Prerequisites
    You have called up the exceptions function to change or define a condition.
    ·        In the Web item List of Exceptions.
    ·        In the Web item Ad-hoc Query Designer
    ·        In the Standard Web Template for Ad-hoc Analysis or in the BEx Web Analyzer
    GO THROUGH THIS LINK
    http://help.sap.com/saphelp_nw04/helpdata/en/c2/f6843b49f6a40de10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/89fa3a0376a51fe10000000a114084/content.htm
    THANKS
    MRUTYUN

  • How to throw exception in run() method of Runnable?

    Hi, everyone:
    I want to know how to throw exception in run() method of interface Runnable. Since there is no throwable exception declared in run() method of interface Runnable in Java API specification.
    Thanks in advance,
    George

    Thanks, jfbriere.
    I must add though that if your run() methodis
    executed after a call to Thread.start(), then
    it is not a good choice to throw anyRuntimeException
    from the run() method.
    The reason is that the thrown exception won't be
    handled appropriately by a try-catch block.Why do you say that "the thrown exception won't be
    handled appropriately by a try-catch block"? Can you
    explain it in more detail?
    regards,
    George
    Because the other thread runs concurrently with and independently of the parent thread, there's no way you can write a try/catch that will handle the new thread's exception: try {
        myThread.start();
    catch (TheExceptionYouWantToThrowFromRun exc) {
        handle it
    do the next thing This won't work because the parent thread just continues on after myThread.start(). Start() doesn't throw the exception--run() does. And our parent thread here has lost touch with the child thread--it just moves on to "do the next thing."
    Now, you can do some exception handling with ThreadGroup and uncaughtException(), but make sure you understand why the above won't work, in case that was what you were planning to do.

  • How to analyze statspack report

    Is there any book I can read to understand how to deal with the sp report ?
    I know how to read part of it ,
    what I need is something that guide what I can do when I see that wait event X is too high.
    for exmaple , if dc_constraints is too high , what do I have to change ?
    not only that , I have to analyze the rest of the report , I see how can we improve performance .
    Thanks .

    Hi,
    how to analyze the reportWell, I have my notes here:
    http://www.dba-oracle.com/t_reading_statspack_report.htm
    Also, you can paste-in a STATSPACK report into http://www.statspackanalyzer.com and learn how to analyse a STATSPACK report.
    There are several Oracle Press books on STATSPACK, you may find useful:
    http://www.amazon.com/Oracle9i-High-Performance-Tuning-STATSPACK-Burleson/dp/007222360X
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • How to analyzer the BI query in VISUAL COMPOSER?

    hi experts,
    could you please explain me how to analyze the Bex query in VISUAL COMPOSER? could you please provide me the step-by-step documentation if possible??
    regards
    vadlamudi

    Hi Vadlamudi,
    Here is some documentation for using BI Queries in VC:
    [Modeling Composite Views Using BI Data Services|http://help.sap.com/saphelp_nwce10/helpdata/en/46/081ed5f8685875e10000000a11466f/frameset.htm]
    [Maintaining BI System Connections|http://help.sap.com/saphelp_nwce10/helpdata/en/7e/6dbcea3700452195e3bddaa47c5906/frameset.htm]
    I hope it helps,
    Regards,
    Udi

  • How to add Exception handling in Oracle Business rules Function

    Hello,
    We use to have good number of business rules in our application. So we need to have some functions in BR Composite.
    Can some one let me know how to handle exception in Oracle business rules exception( Regular try catch will not compile)
    is there any way please let me know.
    Edited by: Network22 on Mar 25, 2013 10:21 AM

    Why aren't you using por_custom_pkg.custom_validate_req_line to add extra validations.
    Ensure that profile POR: Enable Requisition Line Customization is set to Yes if you were to use po_custom_pkg for Requisition line validations.
    OAF calls por_custom_pkg at various points depending upon the values in Profile Options:-
    POR: Enable Req Distribution Customization
    POR: Enable Req Header Customization
    POR: Enable Requisition Line Customization
    Thanks,
    Anil Passi

  • How to analyze full database

    Hi all,
    Can we analyze full database, if yes How to analyze full database and what is the command for that
    Thanks & Regards
    Venu

    Venu,
    My recommendation to you is that collect statistics for the schemas which are required. Using dbms_stats.gather_schema_stats. Also, collect system statistics to boos cbo to get produce more optimized execution plans.
    Leave apart sys (dictionary table) statistics.
    Read oracle performance tuning guide for more on how to collect system stastitics and pros and cons of it, try to do it on test or uat env. first, before going on production.
    jaffar

  • How to catch exception in JSP????

    how to catch exception in JSP?
    I use JDeveloper 3.1
    I use connection with database .
    When I insert record in database
    when have duplicate of primary key
    how to catch this exception and
    back to previous page?
    I trying with folowing:
    <jsp:useBean id="RowEditor" class="oracle.jbo.html.databeans.EditCurrentRecord" scope="request">
    <% try {
    RowEditor.setUseJS(true);
    RowEditor.initialize(pageContext, "package2_Package2Module.Drzavi1View");
    RowEditor.setSubmitText("Save");
    RowEditor.setTargetUrl("Drzavi1View_SubmitInsertForm.jsp");
    RowEditor.createNewRow();
    RowEditor.setReleaseApplicationResources(true);
    RowEditor.render();
    catch(Exception e) {
    %>
    <script>
    alert("primary key duplication");
    history.back();
    </script>
    <% } %>
    but i't not working
    please help me

    i catch exceptions as you do, i don't have any problem...
    are you throwing the exception from your bean?
    actually i don't catch an Exception, but an SQLException...
    but it works... here is my code...
         try
    myclass.addElement(); // this is an insert into Oracle
    catch( DataBaseFailException e ) /// an exception that i throws inside after i receive an SQLException
              session.setAttribute("gMessage","e.getMessage()); // error code

  • How to run exception using JSP?

    How to run exception using JSP?

    Why would you need the <%%> between the if else blocks? Even if you attempt to write some data within the blocks in java, you will still get an error. For example, this is illegal:
    if(done)
        System.out.println(true);
    System.out.println("Hello World");
    else
        System.out.println(false);
    }The compiler is expecting the 'else' to be directly after the body of the if. If it encounters anything else, it will complain. So you cannot do this in jsp either, regardless if it's a different technology, it's the same compiler.

  • How to handle exceptions in web dyn pro

    Hi Frndz....
                     Can any one kindly xplain how to handle exceptions in web dyn pro..like we hav exceptionhandling in java ....so is there any for NWDS
    THANKS & REGARDS
    Rajesh

    Hi,
    Web Dynpro Java is basically java only.i.e You program in java. Hence exceptions are supported in the same way as in java i.e. via try,catch and finally block.
    Additionally,
    In 04/04s if you create a method in any controller in web dynpro you cann't specify exception that can be thrown in the method. This is now possible in new programming web dynpro model in CE.
    Hence when creating a method you can also specify custom or core java (lib)excetions.
    Regards,
    Ashwani Kr Sharma

  • How to handle exception thrown in standard bo method in the workflow design

    Hi Experts
        how to handle exception thrown from standard bo method in the workflow design. For example, bo BUS2032, METHOD confirm. If the user cancel it, it will throw exception. In the workflow, how to catch this exception and add corresponding steps in the workflow.

    @jrockman li
    Try to implement the logic that what ever you are performing in the BO mehtod in a FM and in the FM you have tab with name EXECPTIONS define the execption in that tab.Now in the BO method you call this FM  and if the exception occurs by using RAISE you can raise the exception in the FM and based on the number of exceptions your sy-subrc value will be set
    so when sys-subrc is not eq 0 then pass a value back t the workflow container., I think this will work.
    a sample Snippet for understanding purpose
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename         = <path>
        filetype         = 'ASC'
      IMPORTING
        filelength       = lv_len
      TABLES
        data_tab         = l_txt_tab
      EXCEPTIONS
        file_write_error = 1          " If this Exception occurs
        invalid_type     = 2
        no_authority     = 3
        unknown_error    = 4
        OTHERS           = 10.
    CASE sy-subrc.
      WHEN 1. " SY-SUBRC value will be 1 then,
          " Pass or set the value back to the workflow conatiner element
    ENDCASE.

  • How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents

    Dear
    Experts, I have a very exciting demand, the board of a customer.
    I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
    How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
    I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
    I ask, what is the standard solution that is used in these cases?
    Thank you
    Miki

    Dear
    Experts, I have a very exciting demand, the board of a customer.
    I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
    How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
    I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
    I ask, what is the standard solution that is used in these cases?
    Thank you
    Miki

  • How RMI handle exception in RMI kernel ?

    hi everyone.
    How RMI handle exception in RMI kernel ?
    That is , when RMI catch an exception ,
    what RMI should do to handle the exception?
    best regards.

    it throws an exception (some derived class of RemoteException) which is transmitted to, rethrown at, and must be caught at, the client.

  • Mac book pro has become very slow. How to analyze this and resolve this?

    My mac book pro has become very slow. How to analyze and resolve this?

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • How to handle exception

    I have catch some exception ,but i don't know how to handle them. I means that if a caller call my method, the caller how to know exception .
    This is my codes:
    public byte[] encrypt(String algth,byte[] obj,Key key){
         byte[] data=null;
         try{
         Cipher cipher = Cipher.getInstance(algth);//encrypted secretkey
         cipher.init(Cipher.ENCRYPT_MODE,key);
         data=cipher.doFinal(obj);
    }catch(NoSuchAlgorithmException e){
    }catch (NoSuchPaddingException e) {
    }catch(InvalidKeyException e){
    }catch(IllegalBlockSizeException e){
    }catch(BadPaddingException e){
    return data;
    Can you tell me how to handle NoSuchAlgorithmException ,NoSuchPaddingException,InvalidKeyException and so on

    you dont. you're stuffed. If there's 'NoSuchPadding' or NoSuchAlgorithm, or the encryption fails (the other 3), nothing you can do at that point will change that fact.
    2 options.
    return null, and check the return value every time you call the function
    throw an exception, either the exception caught, or one of your own design with information pertinent to your application.

Maybe you are looking for

  • SAP Crystal integration Add on - error message

    Hi, I installed the add on the server and it works fine. I installed on the workstatation and it installed without error. When I got to run a report through the Manage Crystal Reports screen on the server, the report prints fine. When I do the same o

  • Query Tuning - using CASE statement in the WHERE clause

    Hi All, My query has been modified to use a CASE statement in the WHERE clause to consider data from certain columns based on a parameter value. This modified query is doing a full table scan and running endlessly. Please suggest what may be done to

  • Importing a .3ds file --- Can anyone help please

    Here is a world i have written in java 3d I can import a .obj file into this world but i want to import a file called Flipp.3ds but it keeps giving me an error Here is the complete class ..... Can anyone help Im pretty new to java 3d import java.io.*

  • Unable to perform clean install of win7 or winxp(!) in windpad 100w

    Hi all! Recently a friend of mine lent me his windpad 100w which had windows 8 installed in it [it originally had win7 which was removed and win 8 clean installed]. As I am not a big fan of win 8 [especially when installed in older devices] I decided

  • Adobe Reader X - 64 Bit Windows 7 compatibility Problem?

    On a 2 mo. old HP computer I recently removed all files related to trial Norton software and installed free AVIRA software. Now, pdf documents cannot be viewed at web sites. AVIRA scan reports two findings; WARNING: unsupported Archive Version AcroRd