Using public views to check function implementation

Hi All,
I'm trying to use some public views to check whether the repositories of Development, Acceptance and Production are in sync.
In order to check the functions and procedures, I came up with the following query to have a simple comparison mechanism:
SELECT f.function_type
, f.schema_name
, f.function_name
, LENGTH(i.SCRIPT) script_length
FROM all_iv_functions f
, all_iv_function_impls i
WHERE f.FUNCTION_ID = i.FUNCTION_ID
Unfortunatly I get an error message:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "OWB_OWNER.OWM_VIEW_UTILITIES", line 572
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
The same error occurs when I try to view data of all_iv_function_impls in TOAD.
Checked the viewdef, it selects (among others) the following:
OWM_VIEW_UTILITIES.FUNCTION_SCRIPT(im.elementid) AS script.
Of course the package body is wrapped so no way to see what's happening in there.
I tried a search on this problem, no result.
I did a general search on OWM_VIEW_UTILITIES, but no results.
Checked Metalink, only Note 237082.1 mentions this package but doesn't clarify the situation.
Any suggestions?
Cheers, Patrick

Hi,
You may try powershell, here are two PowerShell scripts that use
SMLets to reveal interesting information about user roles in SCSM, please refer to it:
https://gallery.technet.microsoft.com/Service-Manager-SCSM-User-ebcdfcd6
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • What is the difference using start condition and check function module

    what is the difference  between using start condition and check function module

    That's new to me, I thought a start condition was evaluated before the workflow started, and thus now workflow work item is available. That's why I think the only situation in which start conditions/check functions can't be used, is when the availability of a workflow log for investigation of exactly what stopped the workflow is a requirement.
    I suppose the <a href="http://help.sap.com/saphelp_46c/helpdata/en/4c/86bf43feca11d2a64f0060087a79ea/frameset.htm">SAP documentation</a> is in need of an update.

  • Use of public views for metadata

    Hi,
    I am trying to create metadata around source to target data lineage (not using the OWB provided metadata browsers). I have used some of the public views (with sql)to produce most of this. At this point however I am trying to "bring across" the original source names (as they exist on soruce systems being ETL'd by us). I noticed there are business name columns in the all_iv_columns and all_iv_tables views.
    My Q's:
    How does this field get populated ?
    Is it the right place/reliable to capture the original source table/column names ?
    Is there any doc (other than the view definitions with a brief column description for each) that would answer some of my questions above ?
    Is there anything else I should be considering to create my "custom metadata queries" ?
    Thank you in advance
    Anthony

    Anthony,
    1. How does this field get populated ?
    This field is populated from a private view cmpelement_v. For example, the field Business_name is the logical name and table_name is the physical name.
    2. Is it the right place/reliable to capture the original source table/column names ?
    Physical names are more reliable than logical names for lineage because physical names are unique. I suggest using public views instead of private views because there is documentation.
    Is there any doc (other than the view definitions with a brief column description for each) that would answer some of my questions above ?
    No, the Public API Guide is the only available guide.
    Have you considered using the Warehouse Builder Browser as a stand alone browser? It is no longer required to have iAS server to use both the Runtime Audit Browser and the Design browser. Check the Warehouse Builder install guide for details.

  • Views to check the catalog database name from target database.

    Hi,
    Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
    We can check the catalog database name from the following ways but I want views to check it from target database.
    1.TNSnames.ora
    2.Any backup script connecting to catalog database.
    3.From catalog database we can use rc_database view to check the databases registered with the catalog database.

    Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
    In the scheduled script check rman command.
    You can then identify the database alias (of the catalog db) that is used in the rman backup script.
    Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
    Once the entry is found, you can find the IP address and catalog db name from the tns entry.
    Edited by: st. osh on Nov 22, 2012 11:38 PM

  • Implementing maker-checker functionality using PLSQL

    Hi,
    I would like to know if someone has implemented maker-checker functionality. If so then please let me know the tables/views to be created. PLSQL code to implement the logic. If you have any design document then please share.
    Looking forward for your help.

    user10566312 wrote:
    Hi,
    I would like to know if someone has implemented maker-checker functionality. If so then please let me know the tables/views to be created. PLSQL code to implement the logic. I'm not going to do your work. But I'd like to share an Idea:
    The table containig the objects needing double-check would get a mandatory Creat_user attribut filled with the (front end) user name drawn from the v$session.
    Then I'd create a "Check" table with Object_id and check_user as the only attributes. The check_user
    attribut would also be filled with user name found in v$session.
    I'd have a Trigger on the "Check" table making sure that the user inserting the "Check" entry is not the same as the one that created the Object.
    Of cause I'd prevent inserting or updating the user attributes with custom values.
    bye
    TPD

  • Spell checker Functionality to be Implemented in a Oracle Ebiz Custom form

    Hi,
    I have tried implementing the Spell checker functionality in one of our Custom form,I used the OLE2 Built in Package in forms 6i to invoke the Spell checker functionality in Microsoft word but i am getting an error,Could anyone please help me in implementing the functionality?
    I used the following procedure to Implement the spell checker functionality in Forms 6i and registered the same in Oracle Applications 11i,
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
    my_application   ole2.obj_type;
    my_documents     ole2.obj_type;
    my_document      ole2.obj_type;
    my_selection     ole2.obj_type;
    get_spell        ole2.obj_type;
    my_spell         ole2.obj_type;
    args             ole2.list_type;
    spell_checked    VARCHAR2 (4000);
    orig_text        VARCHAR2 (4000);
    BEGIN
    orig_text := NAME_IN (item_name);
    my_application := ole2.create_obj ('WORD.APPLICATION');
    ole2.set_property (my_application, 'VISIBLE', FALSE);
    my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
    my_document := ole2.invoke_obj (my_documents, 'ADD');
    my_selection := ole2.get_obj_property (my_application, 'SELECTION');
    ole2.set_property (my_selection, 'TEXT', orig_text);
    get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
    ole2.invoke (get_spell, 'CHECKSPELLING');
    ole2.invoke (my_selection, 'WholeStory');
    ole2.invoke (my_selection, 'Copy');
    spell_checked := ole2.get_char_property (my_selection, 'TEXT');
    spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
    COPY (spell_checked, item_name);
    args := ole2.create_arglist;
    ole2.add_arg (args, 0);
    ole2.invoke (my_document, 'CLOSE', args);
    ole2.destroy_arglist (args);
    ole2.RELEASE_OBJ (my_selection);
    ole2.RELEASE_OBJ (get_spell);
    ole2.RELEASE_OBJ (my_document);
    ole2.RELEASE_OBJ (my_documents);
    ole2.invoke (my_application, 'QUIT');
    ole2.RELEASE_OBJ (my_application);
    END;
    I am getting the following error,
    *305501:non-ORACLE exception*
    I get this error exactly after the following line of the procedure,
    my_application := ole2.create_obj ('WORD.APPLICATION');
    This Spell check functionality works fine when implemented in a standalone form(When a form is ran from the Form Builder),Facing issue only when it is registered in the Oracle applications 11i.
    I searched various Forums,But i unable to find any solution,Expecting your help on the same asap.
    Thanks,
    Venkat
    Edited by: 946005 on Jul 12, 2012 3:47 AM

    Hi Raja,
    Thanks for the Reply..
    Thanks a lot for your quick and efficient responses.
    But Iam unable to figure out how to implement this auto save functionality in this BSP Applicaition. If anyone has worked on this BSP Application <b>HAP_DOCUMENT</b>, can you please tell me how to do this auto save functionality. Is it possible that when I give this popup to save using java script and when the User clicks on OK, can I get the return code for this and use it to trigger the auto save functionality? And where exactly do I have to code this. Because the code here is bit confusing and the pages are called dynamically, even Iam unable to figure out the Button Id. Can anyone please help me out on this. This is a very urgent requirement.
    As specified by you, I have used this code to give the popup.
    <script type="text/javascript">
    function alertUser()
    alert('Please Save the changes by clicking Save button');
    window.setInterval("alertUser()",300000);
    </script>
    Can I use the same code for save also, like this:
    <script type="text/javascript">
    function autosave()
    htmlbSL(this,2,'SAVE:SAVE');
    window.setInterval("autosave()",300000);
    </script>
    I was trying with this but it is not working.
    Regards,
    Raju
    Message was edited by:
            Narayana Raju Sampathirao

  • Can I use OLAP kind of functionality  without installing OLAP ( using materialized views etc)

    Hi,
    Can OLAP cube be implemented without having ORACLE OLAP installed? As per my understanding, cubes are something which keeps aggregate data. So can I just use materialized view functionality ( which is already there in Oracle)?
    Which other Oracle object can I use without  installing ORACLE OLAP ( Dimension etc?)
    Thanks a lot.
    Nitin

    If you mean by implementing an OLAP cube, you mean setting up reports for various summary level data analysis, it is possible to query materialized views to get the same data in some cases.   A position paper that describes the advantages of the OLAP Cube v. among other things standard materialized views may be found at this URL: http://www.oracle.com/technetwork/database/options/olap/olap-wp-12c-1896136.pdf?ssSourceSiteId=ocomen
    I also would recommend posting this question on the general database forum (General Database Discussions) as well.
    Hope this helps,
    Ken Chin

  • How to check if column_ name is used by any procedure ,package ,function

    Hello
    Help Is greatly appreciated .
    Kindly please let me know for the folllwoing:
    How to check if column_ name is used by any procedure ,package ,function ,trigger or in any dataabse objects

    >
    How to check if column_ name is used by any procedure ,package ,function ,trigger or in any dataabse objects
    >
    In general you can't. Code can always exist outside the database and it is always possible that you have dynamic code and there is no way to find references like that if used by dynamic code. That dynamic code reference could be based on a query stored in a table.
    And there is no way of knowing if external code (e.g. a Java app) references that column.
    Another issue is that a column could exist in multiple schemas and in multiple objects of different types in those schemas. So a global DB search for 'MY_COLUMN' might turn up references in multiple schemas and you may only care about one schema.
    Unfortunately a reference to 'MY_COLUMN' in code could refer to many different objects or to an object in different schemas so how would you resolve those? Especially if you take synonyms into account which can ponit about anywhere.
    Why don't you tell us what it is you are really trying to do?
    Are you trying to find the references to a particular column? Why? Are you planning on removing/renaming the column? If so then the simplest way is to remove/rename the column and see what objects become invalid. Those invalid objects will have become invalid because that column is no longer available.
    As suggested you can use DBA_SOURCE for references in code that use the standard names. But for tables/views you need to use all_tab_columns. And for dynamic code or client code (e.g. a Java application) there is no way.

  • What is the use for CREATING VIEW WITH CHECK OPTION?

    Dear Legends,
    I have a doubt
    What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.
    A: Enforcing constraints at DB level.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
    Please clear my doubt's Legends
    Lots of Thanks....
    Regards,
    Karthik

    Hi, Karthick,
    karthiksingh_dba wrote:
    ... What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
    Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
    Views are necessary for INSTEAD OF triggers.
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
    A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables.

  • How to use Spell-check functionality for textbox (like Orkut, gtalk)

    How to use Spell-check functionality for tex Hello Friends,
    I am working on a JSP application. I wanted to add Spell check for text box like we have here, when we post a message. It automatically shows red line under the word, when ever spelling is wrong. Please tell me how I can do this. If possible, the code too.
    Thanks.

    I believe the spell checking you see here, or on any other site, is the spell checking built into Firefox. At least that's what I see. Are you using Firefox?

  • Using the Dollar($) Sign in a User Function Implementation

    Hi All,
    Just a quick question: how could you use a dollar($) sign in the implementation (Oracle) of a user function? I'm asking because the table name that I'm using in the implementation happens to contain the dollar sign (I$_FACT_SALES) and from the results I'm getting now, ODI reads the $ as reference to a variable, therefore removing the $-sign from my table name upon execution (I_FACT_SALES). Is there something like a backslash or some other character that could be inserted before the $ so it would register as part of the table name?
    Any response would be greatly appreciated.
    Thanks very much,
    Marco

    You may have 3 options:
    1.) Try using the tablename in quotes "MY$TABLE" or may be MY$$TABLE using double $ symbol
    or
    2.) I found this code snippet : odiRef.getInfo( \\u0022DEST_WORK_SCHEMA\\u0022 )+\\u0022.\\u0022,\\u0022\\u0022)?. So on these lines you can use \\u0022 as a symbol for "
    You can see similar problem/solution/explanation in
    Re: Regular Expression wierdness - problem with $ character
    or
    3.) Change the Work Tables Prefix in Topology Manager > Physical Schema > Your_Schema
    from E$_ , C$_ , I$_ to something like ERR_ , SRC_ , INT_
    Edited by: Ace2 on Dec 2, 2009 9:57 AM

  • How to use Check Function Module???

    Hi Friends,
    How to use Check Function Module in Workflow???
    My requirement is to trigger the workflow at the last line item of the Material Document.
    Rewards for sure for helpful answer.
    -Satish

    Hi Satish,
    You know, the real power of forums like these is the search functionality. First you locate the correct forum, you succeeded in that and then you locate the search field and type in your question. In your case "check function module"
    I suggest you do this right away and be amazed at all of the answers about his topic. Maybe you'll even find some topic about exactly the same issue with a different solution than check function modules and on top of that you learn something this way. Talk about win-win situation
    Kind regards, Rob Dielemans

  • Using SET DATEFIRST inside a function to call into a view

    Hi,
    I need to use the statement SET DATEFIRST inside a function. This operation is not available, but I need to use this command into a function to call inside a view.
    How can I solve this issue?
    Thanks

    Eventually you will learn 2 very important things.  First, the term "working day" has no absolute definition and varies by country, organization, culture, etc.  Second is that circumstances will occur that change what should be considered a working
    day to a non-working day (or vice versa).  While you might attempt to create logic that "forecasts" whether a given date in the future is a working day, you cannot apply that logic to past dates.  The best solution is to create a calendar table for
    this purpose - some forum/internet searching will find many different variations.

  • What's user variable name using Smart View POV function (ex:HypGetActiveMember)?

    Hi,
    We want to use Smart View POV function (ex:HypGetActiveMember) to get the active member of user variables from HFM forms selected into Excel, but we don't know the user variable name in the following paragraph of Smart View developer guide:
    "To uniquely identify the user variable, provide the user variable name rather than the dimension name."
    For example, what's the user variable name of Year dimension? How to get the user variable name?
    Any information would be appreciated. Thank you!

    Hi,
    I guess user variable name is set by users/developers. I am not very clear on your question. If you have defined some variables to select any members from a dimension then it will be in HFM only. In planning we have two kinds of variables User Variables (we set it from Planning Preferences) and Substitution variable (we set it from Essbase Consol in the backend). Without looking into your application it is difficult to say the user variable name. Like for Year the user variables can be "PreviousYear", "CurrentYear", or "NextYear" etc.
    Soumya

  • I have a folder with 10 folders inside it, 8 of the folders will not function when I use "show view options".

    I have a Folder with 10 Folders inside it, 8 of the Folders will not function when I use "show view options", they always default back the default.  The "show view options" works on all my other Folders in my system, even on the first two of the Folder in question.  How can I correct it?  I have tried every thing I can think of, even deleting the Folders & reintalling them.  For some strange reason the "show view options" only does not work on the last 8 Folders in the Folder in question.

    Instead GarageBand recognize my keyboard and i can play normally, also, if it can help, those are the Audio and Midi Logic Preferences and the Controller Surfaces Setup with the keyboard connected :

Maybe you are looking for

  • Frames vs. Windows in Acrobat 9

    We recently upgraded from Acrobat 7 to Acrobat 9. Users who open multiple PDF documents in Acrobat have reported the default behavior of Acrobat 9 in opening PDFs is to use a new frame for each document that is opened. They report that Acrobat 7 used

  • Can we use a method in addActionListener ??

    Hello Everyone, can anyone tell me how to use a method in addActionListener ? if u have any example , plz send me Thanks & Regards

  • 8.1.2 Doesn't Upgrade 8.x on Mac OS

    I have systems with Reader 8.0.0 installed. When I downloaded the latest DMG for Reader 8.1.2 and run the install it creates a new install next to "Adobe Reader 8" called "Adobe Reader 8_". So now I have Reader 8.0.0 still installed and I also have 8

  • Late 2009 imac with dead LCD; external monitor?

    Hello, all I need some help.  The LCD on my late 2009 iMac has failed.  I took it into the Apple Store and they told me it was dead and it would be $500+ to replace it, which I do not have. The machine is intact, however, other than that!  The Apple

  • Where to download the SAP GUI patchlevel 14?

    The links on /thread/488760 [original link is broken] do not work, unfortunately. A 'NO DATA AVAILABLE' message apears lonely in the page. Thanks for all the info you can provide.