List of Pre-defined exceptions ???

Where can I find (on line)a list and description of pre-defined
and undefined exceptions ?
Thanks
Jordi

"http://otn.oracle.com/doc/server.804/a58236/06_errs.htm"

Similar Messages

  • Is there anyway to obtain a list of pre-define adf facet ?

    Hi,
    is there anyway that I can obtain a list of pre-defined adf facets except those mentioned in the documentation for panelPage tag?

    you can find the facets defined across each of the component in components documentation.
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/index.html

  • Can we handle the pre defined exceptions?

    Hi people,
    I have a simple stored procedure in oracle 9i with following code.
    create or replace procedure psam1( no int) is
    a number;
    b number;
    e exception;
    v varchar(10);
    begin
    select sal into a from sample where sno=no;
    select count(*) into b from sample where sno=no;
    if b>1 then
    raise e;
    elsif a>1000 then
    v:='PASS';
    else
    v:='FAIL';
    end if;
    dbms_output.put_line(v);
    exception
    when e then
    raise_application_error(-20002,'MORE THAN ONE RECORD EXISTS');
    end;
    My question is if i want to handle the exception
    'ORA-01422: exact fetch returns more than requested number of rows'.
    If my fetch retrieves more than one row then Exception e should be raised.but can we handle those predefined exceptions?.

    Hi Vids,
    As said already, yes you can.
    But there is some misunderstandig in your code. If in fact you do have ORA-01422, you second select will never get executed, since the first one will raise that.
    You code could be as simple as this:
    create or replace procedure psam1(no int)
    is
       a   number;
       v   varchar(10);
    begin
       select sal, case sign(sal -1000)
                    when 1 then 'PASS'
                    else 'FAIL'
                    end
         into a, v
         from sample
        where sno = no;
       dbms_output.put_line(v);
    exception
       when no_data_found  -- Predefined exception for ORA-00001
       then
          do_some_thing; -- Perhaps, just raise;
       when too_many_rows -- Predefined exception for ORA-01422
       then
          do_another_thing;  -- Perhaps, just raise;
    end;As you see ORA-01422 is predefined (TOO_MANY_ROWS), read more about those here [Predefined PL/SQL Exceptions|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/errors.htm#insertedID4]
    If you choose just to (re)-raise the exception then you should omit that exception handler.
    Regards
    Peter

  • How can I pre-define the default selection in a SelectOneChoice?

    How can I pre-define the default selection in a SelectOneChoice?
    (1) Here's my JSF-code:
    <af:selectOneChoice label="#{res['usercreate.input.sex']}"
    value="#{bindings.Sex.inputValue}"
    binding="#{SelectListBean.sexlist}"
    readOnly="false" autoSubmit="false">
    <af:selectItem label="#{res['data.sex.women']}" value="1"/>
    <af:selectItem label="#{res['data.sex.man']}" value="2"/>
    </af:selectOneChoice>
    (2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
    import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
    public class MBSListBean {
    private CoreSelectOneChoice sexlist;
    public MBSListBean() {
    public void setSexlist(CoreSelectOneChoice sexlist) {
    this.sexlist = sexlist;
    this.sexlist.setValue(1);
    public CoreSelectOneChoice getSexlist() {
    return sexlist;
    (3) when i launch the page, it often gives me such warnings:
    WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
    how to solve the problem ?
    Thanks,
    wzzdx

    You could also set the default on your entity or viewobject, in the properties of your attribute.

  • How to use pre-defined scenarios for RosettaNet with XI 3.0

    Hi all.
       I am working in Comgroup Shanghai co. ltd. which is partner of SAP China.
       We have a potential customer who use RosettaNet as their Supply Chain EDI system.
       I would like to make a demo for demostrate the pre-defined scenarios for RosettaNet RNIF 2.0 packages.
       Where can I find such guideline ? I have checked the article: implementing RosettaNet with XI 3.0, but it cannot help me.
       Another question is how I can develop my own scenarios for the RNIF standards which are not included in XI RosettaNet business package ?

    Hi Andy,
    See the instructions below after you installed the RosettaNet STK.
    Below given is the sample config for PIP3B2 Scenario. Part I is using STK and Part II is using 2 XI systems.
    <b>Part I. Test Using STK</b>
    In your XI ID:
    1) Define both the parties 1) Shipper(Your Partner) 2) Receiver(Your company) with identifiers like DUNS Number.
    2) In ID goto>Tools>Transfer Integration Scenarios from IR-->select the scenario "PIP3B2_Receiver" from the drop down list.
    3) Follow the 4 steps in the config wizard.
    4) While creating your CC, create it from the channel template delivered with the RosettaNet BP.
       4.1) Specify the URL for STK which should be in the following format
    http://<STK Server>:<port>/rosettanet/servlet/listenerServlet?userId=<Party Name>
       4.2)In the location fields, enter your location and your partner location.
    In your STK
    1) Start the RosettaNet STK.
    2) enter the UserID<Partner Name in XI>
    3) Select the Test Scenario, 3B2V01.01-AdvanceShipmentNotification-0001-Scenario-Shipper
    4) Enter Global Business ID(DUNS Number) and Location ID for both the partners. These fields should be same as in your R/3 Party configuration.
    5) Enter the URL as follows:
    http://<XI Server:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    If everything is configured correctly as mentioned, you should be able to test your single-action scenario.
    <b>Part II Test using another XI System</b>
    For these follow the steps above for XI Config.
    Configure one XI System as PIP3B2 Shipper using the Scenario "PIP3B2_Shipper" and config wizard as mentioned above.
    Configure the other XI as PIP3B2 Receiver using the scenario "PIP3B2_Receiver" and config wizard.
    In the Url field, specify the URL as follows:
    http://<XI host>:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    Hope this helps.
    Regards,
    Sam Raju

  • IE only: wwsec_app_priv.process_signon (User-Defined Exception) (WWC-41417)

    I am using Portal 3.0.6 in Sun SunOS 5.8. The site will be running in https mode. As everybody knows, 443 is the default port number for ssl mode. I setup the httpd.conf to 443. No problem. I ran ssodatan to relate Login Server to Portal - I had to specify 443 at the end of URL in ssodatan syntax. Otherwise, I got "Error:You cannot login because there is no configuration information stored in the enabler configuration table. (WWC-41439)" both in Netscape navigator and MS Internet Explorer.
    I now am able to log in Portal site. But, the problem happens just after loggin in. With Navigator I don't get any problems. But, IE gives me "Error: Unexpected error encountered in wwsec_app_priv.process_signon (User-Defined Exception) (WWC-41417)". I guess this happens because of how IE works with https. It takes 443 off from URL in https mode. The portal is unable to match the url and what it has in wwsec_enabler_config_info$ which has 443. When I tested with 444 as port number. It worked! Putting a port number in URL will be cumbersome. That's why I am trying with 443.
    I tried also with ssodatax to add an additional entry for without 443 as specified in a document "Oracle9ias Portal configuration options" page 30. Ssodatax has a bug so it updates existing entry, too. I had to update it back to its original value. It's fine. But, this time another error comes up. "WWC-00000". I don't see any solution for this.
    null

    When a new user is logging on for the first time, the portal adds them to the AUTHENTICATED_USERS group under the portal's group container. In your case, for some users, this is apparently running into some problem.
    To debug this, try turning on additional logging on the OID server and attempt logging in as these users, and see what is reported.
    You should enable the following debug flags:
    Search Filter Processing
    Access Control List Processing
    Status Log Connections/Operations/Results

  • Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict?

    When I've used lvc_fieldcatalog_merge in the past, I've always set i_structure_name to a literal - the name of a structure that I've defined in Data Dictionary.
    If I declare a structure type in the "TOP" of an X function group, can I set i_structure_name to the name of this type ????
    Or does i_structure_name have to be the name of a pre-defined dictionary structure?
    Thanks for whatever time you can afford to spend considering this matter?

    check the sample code..
    REPORT  ZTEST_FIELDCATLOG.
    type-pools: slis.
    DATA: it_fieldcat type SLIS_T_FIELDCAT_ALV,
         it_lvcfcat type lvc_t_fcat.
    include ztest_top.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'IT_DATA'
       I_INCLNAME                   = 'ZTEST_TOP'
      CHANGING
        ct_fieldcat                  = it_fieldcat
    * EXCEPTIONS
    *   INCONSISTENT_INTERFACE       = 1
    *   PROGRAM_ERROR                = 2
    *   OTHERS                       = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'LVC_TRANSFER_FROM_SLIS'
      EXPORTING
        it_fieldcat_alv       = it_fieldcat
    *   IT_SORT_ALV           =
    *   IT_FILTER_ALV         =
    *   IS_LAYOUT_ALV         =
    IMPORTING
       ET_FIELDCAT_LVC       = it_lvcfcat
    *   ET_SORT_LVC           =
    *   ET_FILTER_LVC         =
    *   ES_LAYOUT_LVC         =
      tables
        it_data               = it_data
    * EXCEPTIONS
    *   IT_DATA_MISSING       = 1
    *   OTHERS                = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    BREAK-POINT.
    Top include
    *&  Include           ZTEST_TOP
    data: begin of it_data occurs 0,
            vbeln like vbak-vbeln,
            matnr like mara-matnr,
          end of it_data.

  • Rating scale does not appear in Pre-defined Performance Mgmt Wizard

    Hi Experts,
    I am implementing SAP Pre-defined Performance template.
    When configuring IMG entry u201CDefine Templates for Performance Managementu201D I run the wizard for Performance, and when I get to the rating the only options that are presented are SAP standard delivered values e.g. Standard Quality Scale 1-5, Standard Quality Scale 0-10, Standard Quality Scale 1-3, Standard Quality Scale 1-3.
    Now I have previously configured rating scale Team Performance with rating values
    1-below expectations
    2-meets expectations
    3-exceeds expectations
    However, this rating scale does not appear in the dropdown list to select from.
    Please can someone explain what could be missing or if they had this issue before and were able to solve this.
    Many thanks
    Oliver

    Hi joker_of_the_deck
    thank you for your quick response. Much appreciated.
    I checked transaction OOHAP_BASIC and my scale is already valid within the Value List.
    There are many other scales in our system within this value list but only the entries I mentioned previously are available in the Pre-defined performance wizard.
    Do you have any other suggestions on why the system would not allow my scale  rating to be selected from the pre-defined performance template as part of the wizard setup?
    Regards
    Oliver

  • Oracle Pre-defined Business Flows for BF.015

    Hi All,
    I am new to ABF 1.4. I need to prepare a BF.015 (the old BP.080). In the guideline for preparing BF.015, the ABF Guide says -
    "The work product for this task is the Future Process Model. It consists of all the Oracle Business Flows being implemented including pre-defined Business Flows obtained from one of the Business Flow repositories...."
    Where can I access these predefined business flows from? For example, if I want to see Oracle's predefined flow diagram for Procure-to-Pay or Order-to-Cash, where can I find it?
    I would highly appreciate any knowledge you can share in this regard.
    Regards,
    Ari

    I've found this list of variables inside the "Oracle® Business Intelligence Answers, Delivers, and Interactive Dashboards User Guide"
    system.productVersion = 10.1.3.2 (Build 091506.1900)
    system.currentTime = 2006-9-21 14:1:35
    session.locale = en-gb
    session.language = en
    session.rtl = false
    session.timeZone = Unknown Time Zone
    session.loginTime = 2006-9-21 14:0:17
    session.logoutTime = 2006-9-21 16:0:17
    session.lastAccessTime = 2006-9-21 14:01:35
    session.currentUser = administrator
    user.id = administrator
    user.displayName = administrator
    user.homeDirectory = /users/administrator
    dashboard.currentPage = test page name
    dashboard.xml = the dashboard XML
    Hope is usefull.
    Bye,
    Pierfrancesco

  • Pre defined set types are not determined in CAtegory

    Hi all,
    when i try to create a category for a service product for SLA, the pre defined set types are not getting populated for me.
    I have created a new hierarchy, assigned to product and product type.....
    but still when i create a category the list of predefined some of the predefined set types are not getting displayed.
    Can anyone help this issue.
    kindly advice in this regard.
    Thanks,
    Subhashini.

    Hi,
    Thanks for the reply.
    I have assigned the product type service in the category.
    This is the only custom category available. only one std category has this set types. other than that nothing is there in the system.
    is there any services that has to be activated or any authorization that is missing for me...
    nut i have sap_all...could not able to trace out the problem.
    kindly guide.
    thanks,
    Subhashini.

  • 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

  • Administração de lista de preço por item

    Pessoal, Alguém sabe me explicar a funcionalidade do campo "Lista de preços" na tela de cadastro do item? Ao indicar uma lista de preço e atualizar o SAP não grava. Ele sempre retorna a Lista de preços 1 e não sugere o preço da lista desejada nos documentos de marketing conforme esperado. Verifiquei a documentação referente a Listas de preços e só explica como administrar as Listas de preços por PN. Alguém sabe se existe uma maneira de fazê-lo por item? Se sim, como fazê-lo? Obrigado.

    Olá ..
    A lista principal dos preços de commodities, é só rever os preços deste artigo é definido em listas diferentes.
    Agora, a questão é que, em documentos de marketing, que vai trazer o preço para o item, definido na lista de preços associados ao parceiro de negócios, ou seja, o cliente ou o fornecedor.
    Espero que ajuda
    Saudações

  • Variação de Preços em Listas de Preços

    Bom dia.
    Estou com um problema com listas de preços e taxas de câmbio. Por exemplo, tenho uma lista de preços em Kwanzas, baseada numa outra em USD. Sempre que existe variação do USD, os preços na lista de preços (em kwanzas) são também actualizados.
    Existe alguma forma de não permitir que os preço da lista de preços sejam actualizados?
    Neste exemplo, a moeda local é o Kwanza e a moeda de sistema o USD.
    Obrigado
    Marta Silva

    Prezada Marta,
    para a questão levantada, acredito que a nota 1255925 possa ajuda-la na solução deste caso.
    Atenciosamente,
    Wesley Honorato

  • Custom Report using pre-defined template

    In 2012, How to create custom report using pre-defined reports template in below format?
    Column1 :- Device Name
    Column2 :- When installed (Date & Time)
    Column3 :- Success (Date & Time)
    Column3 :- Failed (Date & Time - With which error code)
    Column4 :- Not Installed
    Regards,
    Onkar.

    Here is what you need to do.
    Start by writing the SQL query that you want.
    Clone one of the existing report
    Replace the SQL query with the new query.
    Update the columns with what you need.
    http://www.enhansoft.com/

  • Validation returns : no data found + unhandled user-defined exception

    Hi, I'm working with Application Express 4.1.1.00.23.
    I have an application for timesheet management.
    On one page, I've got a report (not interactive) in which you can enter the hours you've worked. First you add a free line, choose the task and then enter the hours you've spent.
    You can only have one empty line at a time. If you try to add a line when you already have an empty line, a validation will display an error. It worked fine in version 3.2. Now we upgraded to 4.1 and get a weird error :
    1) The validation msg appears fine
    2) The report appears fine
    3) There is a msg at the end of the report saying :
    report error:
    ORA-01403: no data found
    ORA-06510: PL/SQL: unhandled user-defined exception
    Could somebody point out the source of this problem ?
    Thank you!
    Here is the debug :
    0.31117     0.00204     parse query as: FEUILLES_DE_TEMPS     4     
    0.31319     0.07865     ...Execute Statement: select NULL "CHECK$01", NULL "nom_projet2", NULL "NO_TACHE_ENTRE", NULL "NO_TACHE", NULL "NO_SEMAINE_EMPLOYE", NULL "NOM_TACHE", NULL "Tâches", NULL "SEQUENCE", NULL "Heures dim", NULL "DIM", NULL "Heures lun", NULL "LUN", NULL "Heures mar", NULL "MAR", NULL "Heures mer", NULL "MER", NULL "Heures jeu", NULL "JEU", NULL "Heures ven", NULL "VEN", NULL "Heures sam", .........
    0.39191     0.00158     print column headings     4
    0.39342     0.02546     rows loop: 500 row(s)     4
    0.41889     0.00087     report error: ORA-01403: no data found ORA-06510: PL/SQL: unhandled user-defined exception
    .....

    Hi, thanks for your answer. Here is the validation we are executing. I'm pretty sure its fine since count(*) always return a value (plus we see V2 in the debug...) :
    declare
    l_count number;
    begin
    apex_debug_message.enable_debug_messages(7);
    apex_debug_message.log_message('-----------------------------------V1----------------------------------');
    -- get remaining empty tasks count
    SELECT count(*) into l_count
    FROM VIEW_TACHE_SYSTEME
    WHERE NO_TACHE NOT IN (SELECT DISTINCT NO_TACHE FROM TACHE_JOUR WHERE NO_SEMAINE_EMPLOYE = :P36_NO_SEMAINE_EMPLOYE);
    apex_debug_message.log_message('-----------------------------------V2----------------------------------');
    apex_debug_message.log_message(l_count);
    if l_count = 0 then
    return 'Veuillez utiliser la tâche vide avant d''ajouter une ligne.';
    else
    return null;
    end if;
    end;
    Here is the debug :
    0.14643     0.00318     ...Validation "ADD_ROW_VALIDATION" - Type: FUNC_BODY_RETURNING_ERR_TEXT     4     
    0.14961     0.00318     ...Execute Statement: declare function x return varchar2 is begin declare l_count number; begin apex_debug_message.enable_debug_messages(7); apex_debug_message.log_message('-----------------------------------V1----------------------------------'); -- get remaining empty tasks count SELECT count(*) into l_count FROM VIEW_TACHE_SYSTEME WHERE NO_TACHE NOT IN (SELECT DISTINCT NO_TACHE FROM TACHE_JOUR WHERE NO_SEMAINE_EMPLOYE = :P36_NO_SEMAINE_EMPLOYE); apex_debug_message.log_message('-----------------------------------V2----------------------------------'); apex_debug_message.log_message(l_count); if l_count = 0 then return 'Veuillez utiliser la tâche vide avant d''ajouter une ligne.'; else return null; end if; end; return null; end; begin wwv_flow.g_computation_result_vc := x; end;     4     
    0.15280     0.01299     -----------------------------------V1----------------------------------     6     
    0.16578     0.00310     -----------------------------------V2----------------------------------     6     
    0.16888     0.00235     0     6     
    0.17123     0.00225     ......Result = Veuillez utiliser la tâche vide avant d'ajouter une ligne.     4     
    0.17347     0.00276     ......Did NOT pass     4     
    0.17624     0.00314     Add error onto error stack     4     
    0.17938     0.00343     ...Error data:     4     
    0.18280     0.00327     ......message: Veuillez utiliser la tâche vide avant d'ajouter une ligne.     4     
    0.18607     0.00446     ......display_location: INLINE_IN_NOTIFICATION     4     
    0.19053     0.00323     ......is_internal_error: false     4     
    0.19375     0.00323     ......error_backtrace: - PL/SQL Call Stack - object line object handle number name c000000382130f30 717 package body APEX_040100.WWV_FLOW_ERROR c000000382130f30 833 package body APEX_040100.WWV_FLOW_ERROR c00000039da9b5c8 154 package body APEX_040100.WWV_FLOW_VALIDATION c00000039da9b5c8 363 package body APEX_040100.WWV_FLOW_VALIDATION c00000039da9b5c8 784 package body APEX_040100.WWV_FLOW_VALIDATION c00000039da9b5c8 905 package body APEX_040100.WWV_FLOW_VALIDATION c00000039d1142c8 10005 package body APEX_040100.WWV_FLOW c000000381287050 31 anonymous block

Maybe you are looking for