How to view defination of already defined packages ?

Hi,
how can i view defination of a already defined package? Its spec and its body?

Hi,
user12222356 wrote:
My package name is 'PackageTest1' , since at the time of creation i had given that name.
But while writing this query
select text from user_source where name='PacklageTest1'no row is selected, and when i give this command
select text from user_source where name='PACKAGETEST1'defination is shown .But why only capital letter package name is identified ?One reason is that the names are different; there's an 'l' (5th character) in 'PacklageTest1', but not in 'PACKAGETEST1'.
A more subtle reason is that identifiers in Oracle are case-sensitive. You can have one package called
"PackageTest1", another called
"Packagetest1" (with a small 't'), another called
"PACKAGETEST1" (all capitals), another called
"pAckAgEtEst1" (vowels capitalized),
all in the same schema.
Normally, the parser capitalizes all unquoted text, so if you say
EXEC  packagetest1.foo ('Hello, world!');what actually gets compiled is
EXEC  PACKAGETEST1.FOO ('Hello, world!');If you actually have an identifier with lower-case letters, then you have to use quotes around it; double-quotes, in places where you don't want it mistaken for a string literal:
EXEC  "PackageTest1"."Foo" ('Hello, world!');or single-quotes when it really is a string literal:
select       text                     -- Column name is actually TEXT, but lower-case will work here
from      user_source                -- View name is actually USER_SOURCE, but lower-case will work here
where     name     = 'PackageTest1'     -- String literal is already quoted
and       type     = 'PACKAGE BODY'     -- If you don't want source code from package spec mixed in
order by  line                    -- Only way to make sure output is in order
;

Similar Messages

  • How can I know how many views are maintained for specific or group material

    Hello, All,
    How can I get know how many views which are already maintained in the material master for one specific or one group material? And which views? Is there any T-code or table to get those views list for material?
    Thank you very much

    Hi,
      You can check in table MARA, field VPSTA details as given below
    User department     Maintenance status
    Work scheduling           A
    Accounting                                 B
    Classification                            C
    MRP                                 D
    Purchasing                                  E
    Production resources/tools       F
    Costing                                  G
    Basic data                                  K
    Storage                                  L
    Forecasting                              P
    Quality management           Q
    Warehouse managemen          S
    sales                                        V
    Plant stocks                                 X
    Storage location stocks            Z
    regards,
    zafar

  • How to use user-defined packages in JAX-RPC web service

    I am trying to use Object of my class located in my package in jax-rpc webservice,the code is
    package supercomputer;
    import Hello.*;
    public class SuperImpl implements SuperIF
    public String sendParam(String data)
    Temp ob=new Temp();
    int i=ob.get1(10000);
    return data+"returned by supercomputer";
    Temp is located in Hello package,I have jar the Hello package as Hello.jar and has set its classpath in targets.xml of Ant tool.
    The code compiles well and service is deployed successfully,but when i try to call the service from the client its gives me following error.
    [echo] Running the supercomputer.SuperClient program....
    [java] java.rmi.ServerException: Missing port information
    [java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
    [java] at supercomputer.SuperIF_Stub.sendParam(SuperIF_Stub.java:60)
    [java] at supercomputer.SuperClient.main(Unknown Source)
    I dont know if it deploys why it gives error on client side.
    Please tell how to use user-defined packages and class in jax-rpc service code ,i am not talking about passing user-defined parameters i am just talking about making objects of user defined classes in jax-rpc service.I think there is some problem in classpath.
    Please guide me in doing that.
    Thanks,
    Farrukh

    Farrukh,
    I don't know if your error is about a missing class from your custom package, ... what track did you followed to say that?
    To use your package in the implementation of you web service, you should only follow the rules of making a web application: put your package jar in your \lib directory inside WEB-INF/ or your package classes unjared in classes (also in WEB-INF/).
    As I already said, I have doubts that your error should be originated from a missing class from your package, but:
    -try to see the logs (errors?) when you deploy your web service that could give a hint about the problem.
    -try to see if you can access your endpoint through your browser to see if there is a online status
    -display your config/WSDL file, and the steps you did to build your web service.
    regards,
    Pedro Salazar.

  • How to make an applet load user-defined package?

    How to have an applet load user-defined package?
    I have packages in their own directories, and the applet compiles and links with them, by use of CLASSPATH env variable. But when it comes time to run, it ignores that and does not know where the classes (in the packages) are.
    If I don't use packages and put all code in one directory, runs fine. If I use an application, I can link with and load my packages.
    I know applets can't use things like CLASSPATH for security reasons, but still, they should be able to be compiled out of several packages, why do I have to put all code together??

    OK, for reference for future newbies, here's the answer:
    use CODEBASE attribute in your html file (if on Windows server, don't use drive letter but relative path to .html file, Unix style, and put all your .class files beneath that, for example, in your .html file
    <applet
    CODEBASE="..\class
    and then have package bar Bar.class file, in ..\class\bar

  • Find views defined on tables

    I am trying to create a prebuilt MV on a table.
    but it some up with the error:
    ORA-32334: cannot create prebuilt materialized view on a table already
    referenced by a MV
    Just wondering how to find the list of views defined on teh table.
    I am using oracle 10g.
    can someone hlep.
    Cheers,

    user1000979 wrote:
    I am trying to create a prebuilt MV on a table.
    but it some up with the error:
    ORA-32334: cannot create prebuilt materialized view on a table already
    referenced by a MV
    Just wondering how to find the list of views defined on teh table.
    I am using oracle 10g.
    can someone hlep.
    Cheers,Hi,
    If they are on the same database,
    For materialized view
    select name, owner from dba_snapshots where
                              table_name ='<table_name>' and master_owner =<'owner of table>'For views
    select name, owner, type from all_dependencies where
    REFERENCED_TYPE ='TABLE' and REFERENCED_NAME ='<table_name>'
    and REFERENCED_OWNER ='<owner of the table>' and type Like '%VIEW'Regards
    Anurag

  • Creating a custom view - define NavBar ID

    Hi Guys,
    Well im new to all this but like ive got some preliminary knowledge. The problem is i started off with the cookbook but somehow got blocked. I wanted to create my own views.
    As far as ViewSet and ViewAreas and Views are concerned i got through. But here is the problem How am i suppose to link them.
    I mean where? and what sort of changes are required.
    Coz what ive been through till now was not much of a help. The problem is that when i followed the examples i was supposed to get automatically generated in and outbound plugs. So i dint get any.
    In navigation bar which way should i follow. I mean in the Navigation Bar entry i tried to hang up one. But it was obviously wrong one so i had runtime errors. Where and how should i define my NavBar ID so it can be called.
    My question is getting uglier. So id stop. I hope ud understand.
    Regards,
    Ragwan

    Thanks alot Anand,
    But where am i supposed to define this TargetID in SPRO. Coz right now im through with the link but its not shown in the browser. As soon as click on this defined link of mine i come up with a browser window with std. SAP Header and footer but the rest is gone. I think the way you have pointed out its because of this missing hook.
    Thats why i wanted to know the exact location where in SPRO am i supposed to hook it up. I know it sounds a bit preliterate, but i'd appreciate your help.
    Regards,

  • How can I define the variable "UITableViewScrollPositionNone" in Applescript-Objc?

    I'm trying to select a row in a Table View using the following code:
    NavigationTable's selectRowAtIndexPath_animated_scrollPosition_((IndexHandler's indexPathWithIndex_(1)), true, UITableViewScrollPositionNone)
    (IndexHandler is the NSIndexPath class)
    But when I run the code, I get the error:
    The variable UITableViewScrollPositionNone is not defined.
    How do I define "UITableViewScrollPositionNone", in Applescript-Objective-C?

    For some strange reason, after admitting that I'm utterly lost, and after literal days of endless searching, I've found the proper snippet of code.
    For those who need to select an NSTableView row in Applescript-Objc:
    property IndexSetHandler : class "NSIndexSet"
    set DefaultRow to (IndexSetHandler's indexSetWithIndex_(1))
    NavigationTable's selectRowIndexes_byExtendingSelection_(DefaultRow, false)
    Thank you both for all the help you've given me as well, and sorry for bothering you with previous response.

  • How i can define the installation path of the setup.msi installation file ?

    Hi everybody,
    The msi package generated during AIR app install is  in a temporary folder ..../User/Username/Local/Temp/fla%.tmp/setup.msi.
    My problem is the installation folder is always changing.
    how can i define this folder in order to grant elevated access for users to install this package ?

    up

  • Java User-defined packages problem!

    Hi everyone,
    I am new to java programming.I am trying to do a small program to see how the user-defined pckages work.I wrote 2 small programs one is Balance.java and TestBalance.java.
    The code for Balance.java is as follows..
    package MyPack;
    public class Balance{
            String name;
            double bal;
            public Balance(String n, double b){
                    name = n;
                    bal = b;
            public void show(){
                    if(bal < 0)
                         System.out.print("--->");
                      System.out.println(name + ": $" + bal);
          }The code for TestBalance.java is as follows..
    import MyPack.*;
    class TestBalance{
            public static void main(String args[]){
                    Balance test = new Balance("Leela",99.88);
                    test.show();
      }These r both in the same directory....I am able to compile Balance.java...but when I try to compile TestBalance.java I am getting the following errors
    TestBalance.java:1: package MyPack does not exist
    import MyPack.Balance;
                  ^
    TestBalance.java:5: cannot resolve symbol
    symbol  : class Balance
    location: class TestBalance
                    Balance test = new Balance("Leela",99.88);
                    ^
    TestBalance.java:5: cannot resolve symbol
    symbol  : class Balance
    location: class TestBalance
                    Balance test = new Balance("Leela",99.88);
                                       ^
    3 errorsI am using j2se1.4 version ....my path is set to bin folder..
    Could someone plz tell me what is the mistake...it would be very helpful for me if someone could plz tell me what the problem is...
    Thanx in advance.

    99% going to work
    i have noticed some of the few thing
    trying to help
    u told that ur both the classes r in same directory right
    ok
    now ur first class has this as first line
    package mypack;//till here its ok only "mypack" should be small case
    now put this same line also in the other class as firat line
    and remove that import statement since both r in same package so no
    need to import it ok
    here's the code
    package mypack;class TestBalance{        public static void main(String args[]){                Balance test = new Balance("Leela",99.88);                test.show();           } }
    now compile it this way
    create a folder call mypack and put this both the classes in that folder
    say its c:\mypack\ur classes
    now in dos prompt
    type this
    set classpath=%classpath%;C:\mypack \
    now u compile ur first class and then second
    Surely this going to work if not tell me the errors u r getting

  • How do I define a start point to Cover Flow, in OS X 10.6?

    I'd like it to display all my video's preview, after the first 5 seconds, instead of the very beginning. This was available in one of my office's Mac stations, but no one knows how it was defined to work that way... Thanks!

    The slide show editor is windows only. The PDF is all there is in the mac version. I guess Adobe figured that with iphoto, imovie, and idvd you already have enough slideshow options on a mac.

  • How do we Define Multilevel Catagorization for Service Ticket

    Hi Experts,
    Can Any one Help on
    How do we define Multi Level Catagorization For Service Tickets in IC WEB Clients for CRM 5.0.
    Cheers !!
    Dan.

    Hi
    You can user multi level categorzation using the category modler PCUI application.
    you can access transaction code crmc_pcuitools tcode from GUI and type ERMS CAT* and execute then you will get the category modler pcui screen . then you can create the new schema for  your service ticket transaction which can be view in ic webclient 5.0 .
    category modler will provide the option of creating the schema where you define the node and subnodes and you can assign the subject profile under the application level and codes can be assigned to each of the label you define for your dropdown values which will be appeared  in the ic webclient service ticket transaction type.
    categoru modler schema once defined needs to be activated inorder to see the dropdown values in the multilevel categorization fields of ic webclient service ticket view header . you need to give the future date and time  in order to activate the schema .
    after defining the schema and activating you can see the dropdown field labels in the ic webclient what you have defined in the category schema.
    upto 4 levels only categorization can be maintained or allowed in schema.
    please reward points if helpful
    Regards
    Dinaker vikas

  • E-Recruiting EP4: How do you define a Hiring Manager?

    Hi Everyone
    I am test on how to create a requisition in EP4. There is field called Hiring Manager and a dropdown that has a search help Find Hiring manager or Find Employee. How do I define a Hiring manager so the search help will find it? Same question for the Recruiter field. How do I define a Recruiter so that the search help Find Recruiter will find that employee.
    Thanks
    Vince

    Hi,
    this question is open for some days although the answer is quite easy. The search help in EhP 4 has this dropdown. If you choose "Find Employee" it will search for all employees (internal candidates) matching the entered name pattern in the system. If you choose "Find Hiring Manager" the system simply searches over every internal candidate already assigned to another requisition as hiring manager. (There might be some additional status logic on the requisitions taken in account) So as you go on maintaining requisitions the result list will be populated. Assumption here is that only a small amount of employees actually are hiring managers so the amount of entries searched can be reduced.
    I personally prefere the option to use the personal list of favorites in this search help :o)
    Best regards
    Roman

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

  • How can I define Double Click Processing in SAP Query ?

    The first question is : How Can I define drill-down for SAP Query report ?
    The second one :  How can I program Double Click in SAP Query report for Different columns like ALV Grid processing ?

    you can attach a repot or at tcode etc in an SAP query using report assignment in SQ01 but as far as i remember you cannot attach multiple reports.
    regards,
    khusro habib

  • How do I define javascript global variables to use across windows

    I have a number of web pages. I have javascript for each page. I need to share some data across the web pages. How do I define javascript variables that can be accessed from multiple web pages?

    Use SugarSync.

Maybe you are looking for

  • Problem With Submitting Data to Php Mail Script.

    So i am working with this Flash template that my boss purchased. It has a contact form, you are supposed to be able to fill it out, and it sends an email to a specified email address. However, it does not work. At all! There are 4 Fields on the form

  • ABAP/4 processor: CALL_FUNCTION_NOT_FOUND

    Hi I have no knowlesdge in ABAP. I can no more create purchasing order (ME21N). when I save , the system  I receive a message in my inbox. apparently, there is a problem with a functions: CALL FUNCTION FMTAB-FUNCT DESTINATION FMTAB-RFCDS EXPORTING pl

  • SX510 does not connect to laptop

    The camera finds the access point  (my home network) and the device (laptop) just fine--it says connecting, but then never does. I have downloaded Camera Window and even given the program access through the firewall. What else can I do? I have Window

  • How to clear the value of variable declared with STATICS keyword in FM?

    Hi All, I am using a standard CRM FM:CRM_CLA_RES_UPDATE_FM in that a STATICS variable is declared. In my code this STATICS varible value is populating. Iam to clear that Varible. How to do that. Thanks and Regards, Shabeer Ahmed,

  • My nested clips in Premier Pro CC 2014 are performing unpredictably.

    Back in July I had some issues with Premier Pro CC 2014 (my projects would suddenly stop rendering due to an unknown error). I stopped using Premier Pro CC 2014 and went back to the previous version. I am once again giving Premier Pro CC a try, but I