How to view list of all system exceptions from standard package?

Hello,
How to view list of all system exceptions from standard package?
Regards
Krishna

Just for fun:
SQL> conn sys/****** as sysdba
Verbonden.
SQL> select cast(trim(substr(text,instr(text,'(')+1,instr(text,',')-instr(text,'(')-1)) as varchar2(30)) exception_name
  2       , to_number(replace(substr(text,instr(text,',')+1,instr(text,')')-instr(text,',')-1),'''')) error_number
  3    from user_source
  4   where text like '%pragma EXCEPTION_INIT%'
  5     and type = 'PACKAGE'
  6     and name = 'STANDARD'
  7   order by exception_name
  8  /
EXCEPTION_NAME                 ERROR_NUMBER
ACCESS_INTO_NULL                      -6530
CASE_NOT_FOUND                        -6592
COLLECTION_IS_NULL                    -6531
CURSOR_ALREADY_OPEN                   -6511
DUP_VAL_ON_INDEX                         -1
INVALID_CURSOR                        -1001
INVALID_NUMBER                        -1722
INVALID_OBJECT_NAME                  -44002
INVALID_QUALIFIED_SQL_NAME           -44004
INVALID_SCHEMA_NAME                  -44001
INVALID_SQL_NAME                     -44003
LOGIN_DENIED                          -1017
NO_DATA_FOUND                           100
NO_DATA_NEEDED                        -6548
NOT_LOGGED_ON                         -1012
PROGRAM_ERROR                         -6501
ROWTYPE_MISMATCH                      -6504
SELF_IS_NULL                         -30625
STORAGE_ERROR                         -6500
SUBSCRIPT_BEYOND_COUNT                -6533
SUBSCRIPT_OUTSIDE_LIMIT               -6532
TIMEOUT_ON_RESOURCE                     -51
TOO_MANY_ROWS                         -1422
USERENV_COMMITSCN_ERROR               -1725
VALUE_ERROR                           -6502
ZERO_DIVIDE                           -1476
26 rijen zijn geselecteerd.Regards,
Rob.

Similar Messages

  • How to view list of all constraints,triggers,procedures ...etc

    hi,
    how to view a list of all the available constraints, triggers, procedures, functions, packages in a database.And how to view its definition ?

    user12222356 wrote:
    And how to view its definition ?If by definition you mean DDL to create it, use DBMS_METADATA:
    SELECT  DBMS_METADATA.GET_DDL(object_type,object_name,owner)
      FROM  DBA_OBJECTS
      WHERE OBJECT_TYPE IN ('TRIGGER','PROCEDURE','FUNCTION' )
    /For example:
    SET LONG 10000
    SELECT  DBMS_METADATA.GET_DDL(object_type,object_name,owner)
      FROM  DBA_OBJECTS
      WHERE OBJECT_TYPE IN ('TRIGGER','PROCEDURE','FUNCTION' )
    DBMS_METADATA.GET_DDL(OBJECT_TYPE,OBJECT_NAME,OWNER)
      CREATE OR REPLACE PROCEDURE "SYS"."SUBPTXT2" (name varchar2, subname varchar2,
    usr varchar2,
                                 dbname varchar2, dbowner varchar2,
                                 txt in out varchar2) is
    status diutil.ub4;
    begin -- main
        diutil.subptxt(name, subname, usr, dbname, dbowner, txt, status);
        if (status <> diutil.s_ok) then
            if (status = diutil.s_subpNotFound) then
    DBMS_METADATA.GET_DDL(OBJECT_TYPE,OBJECT_NAME,OWNER)
                txt := '$$$ s_subpNotFound';
            elsif (status = diutil.s_stubTooLong) then
                txt := '$$$ s_stubTooLong';
            elsif (status = diutil.s_logic) then
                txt := '$$$ s_logic';
            elsif (status = diutil.s_notInPackage) then
                txt := '$$$ s_notInPackage';
            else txt := '$$$ s_other';
            end if;
        end if;
    end subptxt2;
    DBMS_METADATA.GET_DDL(OBJECT_TYPE,OBJECT_NAME,OWNER)
    SQL> SY.

  • SAP-HR : How to view list of all employees reporting to a manager

    Hi friends,
    I need to get the list of all the employee reporting to a particular manager. How do i do that?
    Please help!!

    go to the org assignment of the manager pernr and look at lla EE's reporting to him
    else go to PPOSE and have a look at the same.
    reward points if issue resolved

  • How to get list of all class names in a package

    hi,
    how can i get all the names of classes in a specified package, for example, if i want to get all names of
    classes in package java.util through java application.

    hi,
    if u read my question with open eyes , i wrote " with java application" not with java API .

  • How to view list of contracts for ship - to - parties

    Hi,
    How to view list of contracts for ship - to - parties
    LM

    Dear LM,
    This is possible through VA45 transaction,but as per the standard you can get sold to party wise .
    If you want ship to party wise then you need to do these configuration settings to add SH partner function to selection list then try
    Go through IMG path
    SPRO>IMG>Sales and Distribution>Sales>Lists-->Set Updating Of Partner Index here you go for new entries then maintain SH -Ship to party partner function for Transaction group 4-contract then save the changes.
    Now go to VA45 transaction then click on partner functions push button here you enter partner function SH then give the other details like ship to paty number ,material and date then execute now system will give the contract document list for that ship to party.
    I hope this will help you,
    Regards,
    Murali.

  • Better way how to get list of all classpath URLs in runtime

    Hello everyone,
    How to get list of all classpath items (URLs) in runtime from Java code?
    I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
    This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
    Does system property "java.class.path" contain ALL loaded JARs?
    Does it contain items (JARs, class directories) loaded by bootstrap classpath?
    What about JARs loaded in runtime?
    Is the separator ":" always same on all operation systems?
    I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
    But there is nothing like this in ClassLoader, Class, Runtime or System classes.
    For curious, here is code I use.
    String classpath = System.getProperty("java.class.path");
    StringTokenizer st = new StringTokenizer(classpath, ":");
    while (st.hasMoreElements()) {
         System.out.println(st.nextElement());
    }

    For curious, here are output prints for all 3 methods:
    1) parsing system property
    2) tschodt
    3) overcast SystemClassLoader to URLClassLoader
    /home/espinosa/workspace/jboss_embedded_test1/target/test-classes
    /home/espinosa/workspace/jboss_embedded_test1/target/classes
    /opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    /opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    /opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
    package com.thoughtworks.qdox.directorywalker
    package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
    package java.util.jar, Java Platform API Specification, version 1.6
    package org.testng.internal.thread
    package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
    package java.net, Java Platform API Specification, version 1.6
    package sun.reflect.misc, Java Platform API Specification, version 1.6
    package esp.ejb.samples1.test
    package sun.security.provider, Java Platform API Specification, version 1.
    file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
    file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
    file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    ...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
    Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
    It prints not absolute paths but logical Java names.

  • How to view what are all programs maped with the event....

    I am new to this events concept - could you please say
    in SM64 we can give Event....
    <b>How to view what are all programs maped with the event..</b>
    Thanks in advance.

    Hi Sam,
    See these links:
    How-to trigger a process chain using ABAP?
    Re: scheduling process chain 3 specific times a day
    NOTE: If you want to trigger the process chain from R/3, there are many examples in this forum. However, since the search function is not working now, I suggest you look at OSS Note 135637. This will show you how to do it also.
    Hope this helps.
    concerning to sm64 ..
    Triggering events manually ...
    Events let you start background jobs when particular changes in the R/3 System take place. When an event occurs, the background processing system starts all jobs that were scheduled to wait for that event.
    example : JOB_OPEN to create a background job..
    When scheduling a background job, you can specify it to start "after event".
    If you do so, you'll have to create an event in SM62.
    If a job is scheduled after event event and you trigger the event with SM64, the job will start.
    Events can be raised by external systems in SAP by sending a command to a SAP application server. You can also raise event in any program using function mosule BP_EVENT_RAISE.
    Reward if helpful.
    Regards,
    Harini.S

  • How to read list of all files in folder on application server?

    How to read list of all files in folder on application server?

    Hi,
    First get the files in application server using the following function module.
        CALL FUNCTION 'RZL_READ_DIR_LOCAL'
          EXPORTING
            name     = loc_fdir
          TABLES
            file_tbl = int_filedir.
    Here loc_fdir contains the application server path.
    int_filedir contains all the file names in that particular path.
    Now loop at int_filedir.
    OPEN DATASET int_filedir-name FOR INPUT IN TEXT MODE ENCODING  DEFAULT MESSAGE wf_mess.
    MESSAGE wf_mess.
        IF sy-subrc = 0.
          DO.
            READ DATASET pa_sfile INTO wf_string.
            IF sy-subrc <> 0.
              EXIT.
    endif.
    close datset int_filedir-name.
    endloop.

  • How to view code of all the custom and complex folder  folder

    How to view code of all the custom and complex folder folder in EUL?

    You do not need to run all the reports.
    Also i am not sure about why do you need to see the code of every thing, i assume you will not get much from it.
    If there is a certain folder you are interested in then this is the way.
    Any way there is no way to get the code of the complex folders since they are logical join of other folders.
    to get the code of the custom folder s you can use:
    select * from eul_us.eul5_objs t
    WHERE t.obj_type='CUO'
    AND t.obj_object_sql1 IS NOT NULL;
    you should look (and concatenate) at the obj_object_sql1,obj_object_sql2.....
    Tamir

  • How to view text of all triggers?

    How to view text of all triggers?
    I tried,
    sqlplus "/ as sysdba"
    SQL> Select Description, Trigger_Body from all_triggers;
    I see only one trigger but there are more than 500 triggers.

    Perhaps you want to query DBA_TRIGGERS instead of ALL_TRIGGERS.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_4162.htm#sthref1922
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2107.htm#sthref1297

  • Catcherror event "catch all system exceptions" is not catching subLanguageExecutionFault

    catcherror event "catch all system exceptions" is not catching subLanguageExecutionFault in BPM process

    hi rani,
    thanks for the response
    i supply all the connection details(gatewayhost, gatewayservice, programid, clinet, systemnumber, applicationhost, userid, password etc.) to the program which extends "JCoIDoc.Server".
    the program is taking care of all the connection establishment details.but still m facing the same problem.
    i have also confirmed that the user is a communication user, not a dialogue user.
    thanks
    pavan

  • How do I find which all system I am logged in from?

    How do I find which all system I am logged in from?

    Safari -> About Safari menu item

  • List of all objects authorized for standard abap role

    Hi all,
    Can any body help me to get " List of all objects authorized for standard abap role "
    And List of all objects authorized for "admin role".
    Thanks
    Basu

    See the database security guide http://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm#BABFHBFH
    Finding Information About User Privileges and Roles
    This section discusses the system views that have the grant information.
    The tricky part of this is that because roles can be granted to other roles the data is hierarchical.
    So start with the grants made to the FDIREADR role. So referring to the doc above;
    select * from role_role_privs where role = 'FDIREADR'will list the roles granted to your role.
    You will want to look at ROLE_ROLE_PRIVS, ROLE_TAB_PRIVS and ROLE_SYS_PRIVS.
    I suggest you walk thru the views manually to see how the information is related. Then write a test script that queries the views for you.

  • How do i re-download all my music from icloud to my mac

    how do i re-download all my music from icloud to my mac

    iCloud does not have your music, don't waste time looking there. In iTunes you can download all the music originally purchased using iTunes, additionally,  and only if you have iTunes Match you can download all of the music in your library regardless of where you got it.
    iCloud is not a backup system, relying on it instead of a real backup will eventually cost you your stuff.

  • How can I remove 'Open all in tabs' from my bookmarks?

    How can I remove 'Open all in tabs' from my bookmarks? It's very annoying when you click on it by error. I downgraded from 29 to 28 because of the various bookmark issues I was having. I never had this issue with previous version of FF, why did they have to mess with stuff that was working.
    I love the new layout. Thanks

    Firefox 28 contains security vulnerabilities. It's best to start a new thread (ask a new question) about the other issues you're having with Firefox 29 and resolve them.
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    # Install Stylish and restart Firefox when prompted.
    #* https://addons.mozilla.org/firefox/addon/stylish/
    # Open the Add-ons Manager (Ctrl+Shift+A).
    # Click User Styles on the left.
    # Click the Write New Style button at the top. Paste the following in the text box, give the style a name, then click the Save button.
    <pre><nowiki>
    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    #BMB_bookmarksPopup .openintabs-menuitem,
    #bookmarksMenuPopup .openintabs-menuitem {
    display: none !important;
    </nowiki></pre>
    If you don't want to install an add-on, you can use the ''userChrome.css'' file instead, but I don't recommend it.
    * http://kb.mozillazine.org/UserChrome.css

Maybe you are looking for

  • How can i install a sata hard drive in my compaq nx6110

    There is a rediculously small hard drive installe in my laptop 40gb. I want to install at least a 240 gb but only can find sata drives that size. How do I go about installing the sata drive.

  • Can I use a variable across events?

    Hi there, SDK newbe! I'm successfully parsing an GroupWise WebAccess event log. At the beginning of each days log is a line with the server name and IP address. Subsequent events only have the date/time and event message. How can I capture the name a

  • Messages "stuck" in draft folder seems to be fixed in 10.6.4

    I contributed some time ago to the annoying "feature" that after a message had been sent, it also remained forever in the "draft" folder. This appears to be fixed in the update - although at first sight, I couldn't find any official info about it. An

  • Script AS 1.0 for AS 2.0 - Help PLZZZZ

    Please how do I convert the code down from AS 1.0 to AS 2.0?? onClipEvent (mouseDown) { if (k> 0) return; zoom = true; dir == 1? (Dir =- 1): (dir = 1); if (dir == 1) pt = {x: _root._xmouse, y: _root._ymouse}; onClipEvent (enterFrame) { if (! zoom) re

  • ORA-17085 bug jdbc update on where statement

    hi, i'm going crazy. i have this bug since 2009 and i don't know how to do. i'm sure it's a bug from jdbc oracle (because it's working with mysql) i guess it's not possible to do update on a row where this row is in the where query. 1) Resultset with