Retriving text of procedures & triggers

I have few procedures & triggers created in my oracle 8i database.I am loking for the way to find out the text of the procedures & triggers. Help me out.

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Nehal Dave ([email protected]):
I have few procedures & triggers created in my oracle 8i database.I am loking for the way to find out the text of the procedures & triggers. Help me out.<HR></BLOCKQUOTE>
you can use simple query to know the body of triger and also procedure as follow:
select name ,TEXT from all_source where type='PROCEDURE' // or 'TRIGER'
AND NAME='ROW_CNT' //NAME OF TRIGER OR PROCEDURE
null

Similar Messages

  • Privileges needed to view procedures, triggers, package bodies

    What privileges are needed for a user to view procedures, triggers, package bodies in another schema? I don't want to grant privileges more powerful than needed like 'select ANY'.

    If you want to give somebody access to view only some of objects without giving read/execute access to them probably the best method is to build your own view and give select acces to this view.
    Example:
    create view special_definitions as
      select view_name obj_name, 'VIEW' obj_type text
        from dba_views
       where owner='OTHERSCHEMA'
           and view_name in ('VIEW1', 'VIEW2', ...)
    union all
      select trigger_name,'TRIGGER', trigger_body
        from dba_triggers
       where .....
    grant select on special_definitions to special_user;Bartek

  • Help needed in TEXT determination procedure - Urgent

    Hi Experts,
    I have defined my own text determination procedure for complaints. This procedure is for the item category for the transaction(complaint).
    The following are the Text ID's that I have include in my procedure :
    1. C001
    2. C002
    3. C003
    My requirment is to have logs(history) for each of the text id's(C001, C002, C003).
    i.e. what ever i do in C001, it has to be loogged only in text id let;s say ZC001, same way C002 shld be logged only in ZC002 and C003 in ZC003.
    I have also defined ZC001, ZC002, ZC003 in the text detrmination procedure.
    Please help me in slving this problem. Can i do it in the config itself or shld i go for development?.
    Regards,
    Arul Jothi A.

    hi,
    This is what exactly i am lloking for, but i tried with your proposal. It didint work.
    Please find the detailos below.
    Text Object      CRM_ORDERI
    Text Det.Proc:   ZCOMP001
    Text Type  Description              Seq.        changes     Transfer      Access Seq.
    C001     Complaints Text     0001     P              -                   -
    Z001     complaints1     0002     R     A     ZC01
    C002     Internal note     0003     P              -                   -
    Z002     original text test     0004     R     A     ZC02
    C003     Recomm. Solution     0005     P              -                   -
    Z003     original text 3     0006     R     A     ZC03
    Access Seq :
    ZC01 :
    Ref. Object     CRM_ORDERI
    Ref. Text Type  C001
    continue chcked.
    ZC02.
    Ref. Object     CRM_ORDERI
    Ref. Text Type  C002
    continue chked
    ZC03.
    Ref. Object     CRM_ORDERI
    Ref. Text Type  C003
    continue chked
    I want to log all C001 text into Z001 only, C002 in Z002 only and C003 in Z003 only.
    hope you got it....
    Please help.
    Regrads,
    Arul Jothi A

  • Text determination procedure in Marketing Plan

    HI All,
    I am using text object CGPL_TEXT and Text determination procedure MPL assigned under it. Text determination procedure MPL has two text types "Description" and "Notes". System is allowing to select "Notes" in marketing plan and enter the text. Next time if I try to select same type "Note" then system is giving error "Make entry in the field Language". But I can select other type "Description" and enter the text.
    Does it mean system allow to enter text for a text type only once? What if I want to use same text type for multiple time to enter information related to the same item.
    Any pointer?
    Regards,
    Nikhil

    Dear Nikhil,
    You are correct that in standard only one text type can be created per language... i.e. 'Note in English' or 'Description in English' can only be created once. But you can certainly add information to a previously created text type.
    I'm not sure if there is a technical way to change this.
    Regards,
    Anik Roy
    SAP CRM Moderator

  • Purpose of Access sequence in text determination procedure?

    Dear all,
    I can get my text id's at sales document header/item level by simply assigning my defined text id to the text determination procedure.
    now, what is the need for having an access sequence where a text abject and text id is maintained??
    Thanks and regards
    KV

    Hi,
    Define Access Sequences For Determining Texts
    In this IMG activity, you define the access sequences which the SAP System uses to determine the texts for a text object.
    Afterwards, you specify an access sequence for the text search in the determination procedure for every text type.
    You only define access sequences for sales and distribution documents, not for customer master records.
    With an access sequence, you define the sequence and the requirements of the search used by the SAP System to find a text.
    This allows you, for example, to have the system check whether a text exists in the customer language. If this is not the case, then a text in the sales organisation language can be searched for. If this is also unsuccessful, you can have the system carry out the search using English as the fixed value.
    To do this, you make the following specifications for every access sequence:
    acc. no (access number)
    With the access number, you define the sequence in which the text objects of an access sequence should be read. The element with the lowest access number is read first. If an appropriate text is found, the search is ended. Otherwise, the SAP System checks the element with the next number up.
    Text object
    Here, you define which text objects should be checked by the SAP System for an access sequence.
    In the standard SAP R/3 System, for example, in the access sequence 0001 for the text object sales document header is defined, that the SAP System first searches for a form header text in the preceding document (text object VBBK) and afterwards for a sales note in the customer master record (text object KNVV).
    ID (text type)
    Here, you define which text type is to be read from the specified text object.
    It is recommended to select the same text type for the text to be copied. For example, the text for the form header in the customer master record (text type 0001) should be copied into the text for form header of a sales document (text type 0001).
    kapil

  • Significance of access sequence in Text determination procedure.

    Can anybody explain me the significance of access sequence in text determination procedure?
    regards,
    arul jothi a

    hi Prathik,
    I have two text id's.
    1. User Input.
    2. Log
    I want to log all entries in text id 1 into 2 when the transaction is saved.
    Likewise i have three text id's for input and three corressponding logs.
    I have to route those texts that corresponds to a particular text id to the log.
    hope you can suggest me a solution.
    Regards,
    Arul jothi a

  • Error in text determination procedure

    hi gurus
    i have defined text determination procedure from customer master to sales order and it works fine, when i am defining a text det procedure for delivery document i have referenced the text from sales order. i am able to define it but while assigning it to the Delivery doc type it says the text procedure is not defined. i can cleary see the text procedure ( It can be seen in F4 also) and i am sure all the settings are in place. Can anyone guess what could be the reason for this error?
    Thanks in advance
    Srini

    Hi Srini
    I dont have the perfect solution for your problem. But jst wana tel u that watever u have described, seems like the mistake is very minor and un-noticeable. If u r using VOTX, go for VOTXN and try it once again step by step.
    Or go for a break... come back after15 mins and give it more enthusiastic shot, it will work out. Most of such problems get solved by making ur mind free. haha.
    i m not kidding.
    - Best of luck.
    Prashant

  • Text Determination Procedure

    Material PO Text from the Purchase Order in the item detail needs to be brought to Delivery item texts
    I have checked the Text det procedure in Logistics Execution --> shipping ---> Basic Shipping Fns --> Text control
    For my text procedure i have 3 sequences Matl Sales text, Item internal memo, Text from PO
    For my sequence Text from PO when i select the access seq i see Text Object as TEXT
    Is this text same as Material PO text ?
    I dont see material PO text populating in Delivery.
    Please advise
    Thanks
    Shriya

    Follow the instructions given in OSS note 751441

  • Text determination procedure with sales doc type

    For the Sales Doc type 'OR' , I am getting TEXT automatically in the Sales Order Header data , TEXT tab page.
    Can Any one tell me how can I remove the text, when i create sales order.
    Or please can any one give me the document or link or explain how the text determination procedure with sales doc type.

    Hi Sanjay,
    Thanks for your help.
    I managed to go there but I am really confused of what changes I have to do there.
    If you dont mind can you explain a bit in detail.
    Sorry for the trouble

  • Text Determination Procedure and Incompletion Procedure

    Hi Every one,
    I want to maintain Two different Text Determination and Incompletion Procedure at Sales Order Header and Item Level.
    Can any one send me the complete cofiguration guide for "Text Determination Procedure and Incompletion Procedure for maintaining two Different Procedures at Header-level and Item Level.
    Please send it on Priority Basis........
    Thanks in advance
    Regards
    Subramanyam

    Hi,
    The fields {Revenue Recognition, Delimit.Start Date, Incompletion Procedure, Partner determination procedure, Text determination procedure and item category statistics grp} which you've mentioned are coming from assignment in spro, so they would remain as it is if you're copying the item category from an existing one...
    I believe you create a new one with the existing one in open in one more session.
    Hope this will help.
    Hrishi

  • Disable text while procedure execution

    Hi,
    oracle9i
    How to disable the below text while procedure execution ?
    old  15: Procedure_name(&var1);
    new  15: Procedure_name(&var2);
    Regards

    Use SET VERIFY OFF.
    It won't make any difference in the output that you get, but its just for you to see which variable is getting replaced by which value.

  • 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

  • When I start firefox browser an erroe message appear that contain this text "the procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll" I am using windows XP

    when I start firefox browser an erroe message appear that contain this text "the procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll" I am using windows XP in English
    == This happened ==
    Every time Firefox opened
    == start mozila firefox

    This issue can be caused by a problem with the file c:\windows\system32\dwmapi.dll
    The file dwmapi.dll is a Vista file and should not be present in Windows XP.
    See also [tiki-view_forum_thread.php?forumId=1&comments_parentId=417674]

  • Define Text Determination Procedure

    Hi experts,
    I would like to set a "obligatory"  a text type under CRM_ORDERH / SLFN0001
    for example "Description"
    I have completed the entry with "changes = P" and check the obligatoy box.
    But this means that people must type at least one time with this subject,  and I need became it obligatory for each entry in each participation, in order to generate a log of modification.
    Best regards,
    Ignacio

    Hi François,
    this is the normal behavior. If you enter some text into "Description of Change" filed, or any other field, the content is copied to the non-changeable log, and there it is marked as "Description of Change". The content of the field is then cleared.
    You can change this behavior in SPRO (IMG activity CRMC_TEXT_001):
    -> Solution Manager -> Configuration -> Scenario-Specific Settings
    -> Change Management -> Change Request Management -> Extende Configuration -> Change Transaction
    -> Transaction Types -> Text Administration -> Define Text Determination Procedure
    Mark CRMD_ORDERH in Text Objects tree.
    Double Click Procedure
    Mark SDCR0001 - if you want to modify the behavior for change requests (transaction type SDCR)
    Double Click "Definition of Procedure" in the left hand side
    Check column "Changes": you can choose the behavior:
    P is for the current behavior. R is for the general log. This is not changeable.
    If you leave it empty, the "Description of Changes" is always changeable.
    If you ask me, P is the right choice.
    Best Regards,
    Holger

  • Missing text determination procedure RIH for text object CGPL_TEXT

    Hi experts,
    creating a new single item in RPM we get following error message:
    "Text determination procedure RIH for text object CGPL_TEXT does not
    exist." And it does not exist our CRM customizing
    (Customer Relationship Management -> Basic Functions -> Text Management).
    We cannot define the missing procedure via customizing because it is not in our namespace.
    Any ideas where to find the right patch / program or other suggestions?
    Thanks & Regards
    Christoph

    It is not So10 cause you see the parameters for SO10 are
    Text Name, Text ID and Language,
    but I am keying in Text object, <b>TextDetermProc</b>.,Text ID.
    Pls reply fast this is urgent.

Maybe you are looking for