Dbms_metadata.GET_DDL for all procedures for a schema

I am trying to capture all the procedure DDLs for schema CUSTOM
I am using 11g on Linux.
I run this command...
SELECT dbms_metadata.GET_DDL('PROCEDURE',NULL,'CUSTOM') FROM DUAL;
And get this error:
ORA-31600: invalid input value NULL for parameter VALUE in function SET_FILTER
ORA-06512: at "SYS.DBMS_METADATA", line 4018
ORA-06512: at "SYS.DBMS_METADATA", line 5843
ORA-06512: at line 1
Thanks in advance.

user13716252 wrote:
I am trying to capture all the procedure DDLs for schema CUSTOM
I am using 11g on Linux.
I run this command...
SELECT dbms_metadata.GET_DDL('PROCEDURE',NULL,'CUSTOM') FROM DUAL;
And get this error:
ORA-31600: invalid input value NULL for parameter VALUE in function SET_FILTER
ORA-06512: at "SYS.DBMS_METADATA", line 4018
ORA-06512: at "SYS.DBMS_METADATA", line 5843
ORA-06512: at line 1
Thanks in advance.specify actual procedure name; not NULL

Similar Messages

  • Usage of 'Select for all entries' for dynamic internal tables..

    Hi all,
    I have a situation where I need to use select for all entries for a dynamic internal table.
    select * from /BIC/AZHSD_O1500 into i_table for all entries in <b>Dynamic_table</b> where doc_number = <dynamic_table????????>
    here iam not knowing how to match the <dynamic_table????????> doc_number ?
    the dynamic_table contains the doc_number as one field.
    here dynaimc_table is the internal table which is dynamic.
    I have tried various options but couldnot find the solution.
    Please resolve.
    Sidhartha.

    data : i_dyn_where type char72 occurs 0.
    field-symbols : <fs> type table.
    assign itab[] to <fs>.
    i_dyn_where = 'docno = <fs>-docno'.
    append i_dyn_where.
    select *
    from   vbak
    into   table t_vbak
    for    all entries in <fs>
    where  (I_dyn_where).   "Populate this where condition dynamically too
    Hope this will solve ur prob.

  • T.Code for Release Procedure for Purchase Order Type

    Hi Frd
    im working in ECC 6.0.
    OMGS is t.code for Release Procedure for Purchase Order Type in SAP 4.6.
    Can anyone tell me what is the t.code for Release Procedure for Purchase Order Type in ECC 6.0 .the OMGS t.code is not working in ECC.
    Thanks
    By
    Pari

    Hi Rajasekharan,
        Go to tcode ME22 and enter the Purchase order number.
    inside the Display screen,u can see a GREEN flag button on the Application Toolbar.
        Click on a item and press the Green Button.
    U will see the release code,provided the Purchase order is set to release strategy,after that Go to tocde ME28 enter the release code ,along with Document number and then release the Purchase order.
    Actually the tcode for releasing purchase order is ME28
    Reward points if useful.
    Cheers,
    Swamy Kunche

  • How Can I Defined Amount Limit For All Invoices For A Supplier ?

    Hi ,
    I Want To Define Amount Limit For All Invoices For Supplier When all Invoices Amounts Be Specify Amount It Make hold For It
    Thanks,
    Mohamed Gamal

    Hi.
    At Suppliers site:
    Invoice Amount Limit. If you enter an invoice for a supplier site that exceeds the invoice amount limit you specify, Payables applies an Amount hold to the invoice during Invoice Validation. You cannot pay the invoice until you release the hold. You can release the hold by adjusting the invoice amount, changing the Invoice Amount Limit for the supplier site, or you can manually release the hold in the Holds tab of the Invoice Workbench.
    Octavio

  • How do you make Motion templates availabe for all users for FCPX?

    How do you make Motion templates availabe for all users for FCPX?

    Copy your Motion Templates folder that is in your Movies folder to the movies folder of your other users.

  • Why dbms_metadata.get_ddl can not work for db link?

    db: 10.2.4
    os: RH linux 5
    our problem is that we can not get ddl from dbms_metadata.get_ddl for database link, however the db link does exist here as below.
    SQL> select * from dba_db_links where owner='XXRPTH';
    OWNER DB_LINK USERNAME HOST CREATED
    XXR TO_DOPDB.XXR.COM TEST db_opdb 18-FEB-08
    XXR XXRPTH_OPDBC.XXR.COM TEST db_opdb 15-JUL-08
    XXR XXRPTH_BLIS.XXR.COM BLIS dbls 02-JUN-08
    SQL> select dbms_metadata.get_ddl('DB_LINK','XXRPTH_OPDBC.XXR.COM','XXR') from dual;
    ERROR:
    ORA-31603: object "XXRPTH_OPDBC.XXR.COM" of type DB_LINK not found in schema "XXR"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2806
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    appreciate for any guides
    thanks

    I ran into this in a slightly different form, I can't remember all the rules and details, but to work around it I had to specify a fake name appendage in the db link creation in order to keep it from automatically appending the global domain.
    Something like
    create database link abcdef.remotealias connect to ... using 'remotealias'
    rather than
    create database link abcdef connect to... using 'remotealias'
    At least I think it was fake, I was flopping around trying things until I got it to work, and I wound up making it the same as the tnsnames alias. I think I decided I didn't have to, but left it as the lesser of two confusions, and was miffed that the creation scripts I had been using for years suddenly had to be fixed. Yeah, it was my own damned fault, but I still think the way this works is crazy. Now hopefully someone will explain this simply so I look foolish.

  • Audit activity for all objects in a schema

    Hi,
    Is there a way to audit all DDL statements and certain DML statements (i.e. DELETE) for all objects in a particular schema? I've been going through the Oracle documentation, and there doesn't seem to be a straightforward way to do this. For example, I've figured out that I can audit all DELETEs (too broad) or DELETEs on a particular schema object (too narrow), but nothing in between.
    The "AUDIT...BY <USER>" statement looked promising, but it doesn't cover statements issued by other users with access to the schema.
    Any help greatly appreciated!

    Is there a way to audit all DDL statements and certain DML statements (i.e. DELETE) for all objects in a particular schema?You can audit all the DDLs you need and the DMLs you need.
    For example, I've figured out that I can audit all
    DELETEs (too broad) or DELETEs on a particular schema
    object (too narrow), but nothing in between.I think you need to explain more on what you need to do because your "but nothing in between" is not clear.
    Something in between ?
    SQL>AUDIT DELETE ON EMP;
    SQL>AUDIT DELETE ON EMP WHENEVER SUCCESSFUL;
    SQL>AUDIT DELETE ON EMP WHENEVER NOT SUCCESSFUL;
    SQL>AUDIT SELECT ON EMP;
    The "AUDIT...BY <USER>" statement looked promising, but it doesn't cover statements issued by other users with access to the schemaYou can audit BY ACCESS, BY PROXY, BY SESSION

  • Error when running dbms_metadata.get_ddl on different as logged in schema

    Hi ,
    I am running 10gR2 and trying to export views from different schema as logged in by using dbms_metadata.get_ddl.
    Now I logged as user 'USER_01' and run query like :
    SELECT dbms_metadata.get_ddl('TABLE','MY_TABLE', 'USER_01') FROM DUAL;
    I get the my_table definition,
    but if I stay logged in as USER_01 and try to get table definitions for YOUR_TABLE from schema USER_02 like
    SELECT dbms_metadata.get_ddl('TABLE','YOUR_TABLE', 'USER_02') FROM DUAL;
    -> I do get following error message:
    ORA-31603: object "YOUR_TABLE" of type TABLE not found in schema "USER_02"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2805
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    Do I need additional GRANTS on USER_02?
    Thanks

    I guess I need SELECT_CATALOG_ROLE role
    http://www.orafaq.com/node/807
    SYS and users with SELECT_CATALOG_ROLE can see all objects.

  • Problem in creating Release group for Release Procedure for PR

    Hi Experts,
    I could not able to create Release Group ( 01 & 02 ) for Release Procedure and assigning it with a Class
    ( Z_CLASS_PR ) in Set up Procedure with Classification.
    The following error is getting displayed.
    Please check release classes (see long text)..
    How to over come this problem.
    Thanks in advance.
    Regards,
    Nani

    Release group:
    You are only allowed to use one class for each release object (1=PReq, 2=Purchase order). When you use the overall release (as of Release 4.0A), you are only allowed to use one class for the overall release or individual release. If you use the overall release for purchase requisitions, you must mark this for the document type (transaction OMEB, flag for V_T161-GSFRG) and the release group (transaction OMGQ, flag for V_T16FG-FRGFG). In the overall release, the system only takes into account characteristics that are identical for all items. If, for example, item 10 of a purchase requisition contains material group 001 and item 20 contains material group 002, the material group is set to BLANK for the strategy determination.

  • I NEED select ..... for all entries for this logic

    From table RBDRSEG, we need to pick up the field RBDRSEG-MATNR where RBDRSEG- RBLNR= RBKP-BELNR. If the program does not find any data then it can pick up the material id field from EKPO-MATNR for all the invoices picked up during the processing.

    Hi,
    Lets say that Invoices are in Int table ITAB.
    IF NOT ITAB[] IS INITIAL.
    SELECT MATNR FROM RBDRSEG INTO V_MATNR
    for all entries in itab
    where RBLNR= ITAB-BELNR.
    IF SY-SUBRC <> 0.
    SELECT MATNR FROM RSEG INTO V_MATNR
    for all entries in ITAB
    where BELNR= ITAB-BELNR.
    ENDIF.
    ENDIF.
    Use RSEG instead of EKPO because EKPO don't have BELNR(Invoice) field.
    Regards,
    Anji
    Message was edited by:
            Anji Reddy Vangala
    Message was edited by:
            Anji Reddy Vangala

  • Tlanes not being created for all locations for one product

    Hello Experts - I need some advice on the following situation:
    We have a set of products where tlanes are only being created for 3 locations out of many.  What would cause the tlanes to not be generated for all locations if all master data elements are present?  We have a valid inforec, mrp views, etc.  I can't see anything different with the 3 locations that are working correctly.
    Any help would be much appreciated.
    Thanks!

    Thank you for your resopnse:
    To answer your questions, yes, we have done all of these things and the tlanes are still not being created.  We have been using SPP for 6 months and this is the first time we've seen this problem.  Do you have any other suggestions or is there any more information I can provide you that would be helpful in solving.
    Thanks in advance for your advice.
    AAF1999

  • Inner join Vs for all entries for performance

    hi,
        i need to fetch data from 5 tables where i have common key vbeln, is this suggestable to write a select query with inner join or write an inner join for 2 tables with more fileds and for remaining using for all entries.... please suggest how can i increase the performance...all points are rewarded....
    thnaks alot.

    Is this a dialog program or a data extract? Rob is right in that the difference is negligible IF the number of records involved are only a few.
    On the other hand, if you are extracting a large number of records, then the performance depends on a number of things and is generally unpredictable.
    The way I approach it is by first developing the extract program with a join because it is easier to code. If the program run time is within the acceptable range, I would let it be and migrate to production. If the performance is of high priority and if the join appears to take long time, then I will comment out the code and try the FAE approach. If the run time with FAE is not markedly better, then I would go back to join.

  • Permisssion for executing procedure from different schema

    Hi ,
    I am executing following procedure in different package and, I am getting error. Following procedure and error:
    Procedrue:
    DECLARE
    l_tbl_timecard_info APPS.HXC_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info APPS.HXC_self_service_time_deposit.app_attributes_info;
    l_tbl_messages APPS.HXC_self_service_time_deposit.message_table;
    l_new_timecard_id NUMBER;
    l_new_timecard_ovn NUMBER;
    l_time_building_block_id APPS.HXC_time_building_blocks.time_building_block_id%TYPE;
    begin
    --FND_GLOBAL.APPS_INITIALIZE( user_id => 12345,resp_id => 56789,resp_appl_id => 809 );
    APPS.HXC_timestore_deposit.create_time_entry ( p_measure=> 7, p_day => APPS.fnd_date.canonical_to_date ('2002/09/02'), p_resource_id=> 9389, -- Identifies a person on our DB, REPLACE WITH YOUR IDs
    p_app_blocks=> l_tbl_timecard_info, p_app_attributes=> l_tbl_attributes_info, p_time_building_block_id=> l_time_building_block_id);
    end;
    Error:
    Error starting at line 1 in command:
    DECLARE
    l_tbl_timecard_info APPS.HXC_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info APPS.HXC_self_service_time_deposit.app_attributes_info;
    l_tbl_messages APPS.HXC_self_service_time_deposit.message_table;
    l_new_timecard_id NUMBER;
    l_new_timecard_ovn NUMBER;
    l_time_building_block_id APPS.HXC_time_building_blocks.time_building_block_id%TYPE;
    begin
    --FND_GLOBAL.APPS_INITIALIZE( user_id => 12345,resp_id => 56789,resp_appl_id => 809 );
    APPS.HXC_timestore_deposit.create_time_entry ( p_measure=> 7, p_day => APPS.fnd_date.canonical_to_date ('2002/09/02'), p_resource_id=> 9389, -- Identifies a person on our DB, REPLACE WITH YOUR IDs
    p_app_blocks=> l_tbl_timecard_info, p_app_attributes=> l_tbl_attributes_info, p_time_building_block_id=> l_time_building_block_id);
    end;
    Error report:
    ORA-00942: table or view does not exist
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT_UTIL", line 1519
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT_UTIL", line 1599
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT", line 1233
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT", line 1327
    ORA-06512: at line 10
    00942. 00000 - "table or view does not exist"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The schema on which you are running this procedure do not have the access to the tables that you are referring in this procedure.

  • How to make pdf's searchable for all words for multiple documents?

    I scan hundreds of documents every week at work. These documents are mostly field invoices for industrial work. I have been saving them with the most important/most searched information as the file name so I can search that information from anywhere in my computer and easily find it. As the work we are doing and our customers are becoming more complex I am needing to search for documents by keywords that just would not be efficient to include all into the file name. I have tried OCR to no avail. After doing OCR on many many files, I will try to search for a word that is right in front of me and it says zero found. My ideal: to be able to search my computer from my desktop for a keyword (like I can with word or excel dosuments), and have all pdf's containing that keyword to populate. I have been working on this for far too long and am not finding the solution, so before I set out to find a new program instead of Adobe I'm hoping there is something out there I just don't know about yet. I have googled this issue til my fingertips are bruised and it always brings me back to: Use OCR! Not only hasn't  it found any pdf using keywords (unless I have that specific document open), half of my files it gives me an error message stating those files can not be rendered OCR. The whole point of what I'm trying to do is to ensure I find EVERY SINGLE document that would have the keyword.
    Please help! Thank you!!

    So, park the PDFs that hold those scanner output images of text.
    Now, using Acrobat Pro  create an Action to OCR these PDF files and save.
    Having been OCR'd these PDFs can have a Catalog index of the collection (built with Acrobat Pro).
    Using the Catalog index you can use advanced search (the includes Boolean search).
    Be well...

  • Re-Validate all Procedures in a Schema ?

    Hi,
    Could anyone tell me how to re-validate all Oracle stored Procedures in a particular Schema ?
    Thanks

    There's also DBMS_UTILITY.COMPILE_SCHEMA
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_util.htm#sthref7730
    edit
    which is also mentioned in Amit's reply, which I noticed too late ;)
    Edited by: hoek on Aug 5, 2010 10:25 AM

Maybe you are looking for

  • Upgrading PC as a whole

    Hello everyone! I am writing this to speak about upgrading my PC, a HP ENVY Phoenix 810-230qe, as a whole. I originally purchased a PC with an FX-8320 and a sad little graphics card back in 2013, and purchased a carepack with it. After the graphics c

  • I can't import RAW files in LR4.4?

    Hi, i'm using LR4 updated to the latest version LR4.4, I tried to import my RAW pictures from my NIKON D3300 (.NEF) but I can't. it says the following; 'The files are not recognized by the raw format support in lightroom'. What does that mean? and ho

  • URGENT - Webutil

    Dear Folks, Advanced wishes of Merry Christmas and Happy New Year. Our Goal is to export data using Webutil to a pre-formatted Excel Spreadsheet, yes the Formatting is Essential. So, we have Templates of Excel Workbooks onto which we want to load dat

  • BAM integration with Oracle GRID Conrol

    Can some body help me, how to configure Grid control for BAM monitoring. We have installed BAM in a Windows 2003 server. We can have a agent installed in the server for BAM database monitoring , but to confiure for its application, as it doesn't have

  • Cloning EBS using Oracle VM

    Hi does anyone have any practical experience with cloning of release 12 using Oracle VM ? I need to knock out some environments during the upgrade project - vmware technology is ideal for copying an environment - I dont want to have to clone the db a