Invalid Procedures that are not invalid

Why do I keep seeing "INVALID" next to some of my stored procedures even though they they compile and work perfectly fine? It happens randomly. One day everything is cool, then a whole bunch of them (usually the same ones) show "INVALID" next to them. In 2.0 they have a "red bar" which I guess means invalid.
I go and rerun the script to create them (i.e. "create or replace procedure ...") and once they are recreated the red bar (or "INVALID" in 1.6) go away. But then a few hours later they reappear as INVALID again. It is not affecting the way my application works, but I did run into problems when originally trying to import my application from 1.6 to 2.0 b/c those procedures were flagged as invalid. In order to get around the problem I had to quickly recompile all of them and then export the application before they were all reset to INVALID.
What gives?

Ami - Invalid objects have no effect on application export or import. You have erred in reaching that conclusion. Also, if you don't like to see "Invalid" (or the red bar) in the object reports, you need to find out which dependent objects are changing (apparently without your knowledge) as the anonymous user explained. The aim should not be to address the aesthetic, however, but rather to obtain a basis for believing that what is at the moment an inconsequential problem will remain so.
Scott

Similar Messages

  • How do I include those empployee numbers that are not 8 digits?

    Hello all again.
    My script currently doesn't find those employee numbers that are NOT 8 digits (some emp nos are 6, 7, 9) when doing comparisons. I've tried LPAD but it still doesn't find. Can anybody suggest a reason for this? I can post my whole script if you want but basically it doesn't match record in my temp table (SU_TEMPLOYEE_DETAILS):
      SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
                 std_email_address, std_emp_status,
                 LPAD (std_employee_number, 8, '0') std_employee_number,
               --  std_employee_number,
                 std_first_name, std_marital_status, std_middle_names,
                 std_nationality, std_title, std_national_identifier,
                 std_address_line1, std_address_line2, std_address_line3,
                 std_address_line4, std_post_code, std_telephone_1, std_country,
                         std_location_id,         LPAD (std_supervisor_number, 8, '0') std_supervisor_number
          FROM   SU_TEMPLOYEE_DETAILS
           WHERE  std_employee_number = :p_emp_number..with the existing record in Production instance:
                 SELECT DISTINCT per.person_id, per.business_group_id, per.last_name,
                          per.start_date, per.date_of_birth, per.email_address,
                         --LPAD (per.employee_number, 8, '0') employee_number,
                        per.employee_number,
                          per.first_name,
                          per.marital_status, per.middle_names, per.nationality,
                          per.national_identifier, per.sex, per.title,
                          padd.address_id, padd.primary_flag, padd.address_line1,
                          padd.address_line2, padd.address_line3,
                          padd.town_or_city, padd.postal_code,
                          padd.telephone_number_1, paas.assignment_id,
                          paas.assignment_number, paas.object_version_number,
                          paas.effective_start_date, paas.effective_end_date,
                          paas.job_id, paas.position_id, paas.location_id,
                          paas.organization_id, paas.assignment_type,
                          paas.supervisor_id, paas.default_code_comb_id,
                          paas.set_of_books_id, paas.period_of_service_id
                     FROM per_all_people_f per,
                          per_all_assignments_f paas,
                          per_addresses padd
                    WHERE padd.person_id(+) = per.person_id
                      AND paas.person_id(+) = per.person_id
                      AND per.employee_number LIKE 'C%'-- :p_emp_number 
                          AND per.national_identifier = :p_ni_number
                          AND  REGEXP_LIKE(per.employee_number, '[[:alpha:]]');The Employee Number is 7 digits long (0000016). But I need the script to match its record where it may be 000016 or 00000016 in Production. Is this possible?
    Many thanks for looking..
    Steven

    JackyWhite wrote:
    My script currently doesn't find those employee numbers that are NOT 8 digits (some emp nos are 6, 7, 9) when doing comparisons. I've tried LPAD but it still doesn't find. Can anybody suggest a reason for this? I can post my whole script if you want but basically it doesn't match record in my temp table (SU_TEMPLOYEE_DETAILS):
    The Employee Number is 7 digits long (0000016). But I need the script to match its record where it may be 000016 or 00000016 in Production. Is this possible? I would like to use the TRIM Function here rather than a simple LPAD (with hard coded length) especially if the length of the column std_employee number varies based on the leading zeroes. Something like:
    SQL> WITH test_tab AS
      2       (SELECT '000016' col
      3          FROM DUAL
      4        UNION ALL
      5        SELECT '10000016'
      6          FROM DUAL
      7        UNION ALL
      8        SELECT '00000016'
      9          FROM DUAL)
    10  -- "end of test data "
    11  SELECT col, TRIM (LEADING '0' FROM col) changed_col_2
    12    FROM test_tab
    13  /
    COL      CHANGED_
    000016   16
    10000016 10000016
    00000016 16
    3 rows selected.
    SQL> variable param VARCHAR2(30);
    SQL> exec :param := '00016';
    PL/SQL procedure successfully completed.
    SQL>  WITH test_tab AS
      2        (SELECT '000016' col
      3           FROM DUAL
      4         UNION ALL
      5         SELECT '10000016'
      6           FROM DUAL
      7         UNION ALL
      8         SELECT '00000016'
      9           FROM DUAL)
    10   -- "end of test data "
    11   SELECT col, TRIM (LEADING '0' FROM col) changed_col_2
    12     FROM test_tab
    13    WHERE TRIM (LEADING '0' FROM col) = TRIM (LEADING '0' FROM :param)
    14   /
    COL      CHANGED_
    000016   16
    00000016 16
    2 rows selected.
    SQL> exec :param := '016';
    PL/SQL procedure successfully completed.
    SQL>  WITH test_tab AS
      2        (SELECT '000016' col
      3           FROM DUAL
      4         UNION ALL
      5         SELECT '10000016'
      6           FROM DUAL
      7         UNION ALL
      8         SELECT '00000016'
      9           FROM DUAL)
    10   -- "end of test data "
    11   SELECT col, TRIM (LEADING '0' FROM col) changed_col_2
    12     FROM test_tab
    13    WHERE TRIM (LEADING '0' FROM col) = TRIM (LEADING '0' FROM :param)
    14   /
    COL      CHANGED_
    000016   16
    00000016 16
    2 rows selected.
    SQL> So your where clause will become something like:
    WHERE TRIM (LEADING '0' FROM std_employee_number) =
                                              TRIM (LEADING '0' FROM :p_emp_number)Hope this helps.
    Regards,
    Jo

  • How do I get to see the procedures that are running?

    Good afternoon. How do I get to see the procedures that are running?
    Thanks.
    Daniel Sousa

    I agree with Billy: never use undocumented procedures, they can change anytime.
    The link you were referring to is probably this one: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:767025833873 and the post was not from Tom Kyte but from a reviewer.
    The comment from Tom was:
    sorry -- x$ tables are magical and I give no help in that area at all.
    The same user that posted the query added in a following post:
    Tom, I agree 101% - X$ are "magical", they CAN and WILL change anytime, without warning, and worse, NO READ-CONSISTENCY here - so, in a very busy db, chances are of X$ being "late", not refreshed, or alike.
    Regards.
    Al

  • There are values for cost element 80000 that are not assigned to any line I

    Hi,
    While calulating WIP I am getting below error:
    There are values for cost element 80000 that are not assigned to any line ID
    Message no. KJ161
    Diagnosis
    Not all values for the cost element are assigned to a line ID.
    Procedure
    Assign the cost element to a line ID. If you don't want to include the cost element in results analysis, assign it to a line ID of category N.
    You can access a detailed list of unassigned cost elements as follows: Start results analysis in the individual processing mode (transaction KKA1, KKA2, or KKA3). Select the field Full log. Execute the function. On the next screen, choose Logs -> Parameter List in the menu. A list is generated. The unassigned values are shown at the end of the list.
    If cost element "+++++++++" was shown in the message, this is because in the assignment of costs and revenues to line IDs, you have not used a cost element other than the full masking "+++++++++". In this case a presummarization eliminates the information on the cost element.
    Cost Element 80000 is of type 43 Internal activity allocation, I have Masked this in OKGB as below:
    Controlling Area = FLGP
    RA Version = 0
    Masked Cost Element = 000008++++
    Masked Cost Center = ++++++++++
    Masked Activity Type = +++++
    ReqToCap= COS (Secondary Cost)
    I have Configure OKGA also but still system is giving error.
    Please help me to understand.
    Regards,
    Vivek

    I was wondering if you could help me I am trying to configure the RA key for Refurb orders and when I go into txn OKGB for the Assignment of C/E for WIP there is sample config already there which I copied.  But I am having difficulty getting the KK1A to work I am getting the message as outlined above.  Could you explain how this OKGB works and how to configure it a bit more fully.  In my sample config there is a ReqTOCap section and in it there are letters like ABR, EK, FK, EL what do they mean.  This is a screen shot of it.  I am not sure how to go about this entirely so any light you could shed would be greatly appreciated.  Can you suggest a good resource or documentation you may have, would be greatly appreciated.

  • "The new table link contain TargetFieldNames that are not valid?

    I am designing a report based on a sql stored procedure with 3 parameters required.  I have a parameter that I would like to make dynamic based on an "Item" table for multiple selections.
    I keep getting this error when I run the report
    Prompting failed with the following error message: 'List of VAlues failure: fail to get values. (Cause of error: the new table link contains TargetFieldNames that are not valid.  Error source: prompt.dll
    Error code: 0x8004380d
    Can someone point me to an example or tell me if this even possible to do?
    Edited by: SHARON SCHMIDT on Feb 17, 2009 3:16 PM

    Hi Sharon,
    Searching for the error message got many KBase but I hope referring to the following would help you:
    1211133 - Using parameters to select one, some or all values in a record selection formula
    1220118 - Error: "List of Values failure"prompt.dll Error code: 0x8004380D"
    Regards,
    Sheeba

  • Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?

    Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?
    Thanks!
    -Adrian

    the old apps are on my computer but they have had upgrades since they were put on the ipod originally.  you think you would get a warning about this when you restored. I was not worried about losing the progress of the apps but i would have been worried about the app it self!!!!!

  • How to list files that are NOT in a .jar file?

    Is it possible to list files (resources, .gif/.jpg files, etc.) that are NOT included in the jar but are still to be considered part of the application somewhere in the jnlp-file?
    My applications requires lots of icons which I have put into .gif files. So far I kept them in individual files next to the .jar file and that worked fine.
    JWS now seems to support only stuff that is included in (a) .jar-file(s). That in itself woul not be much of a problem, however, when I include my .gif files into the .jar files they seem to get corrupted by the jar-signing process (at least that what's the code says, which can suddenly not handle these images any more).

    My previous seem to have been non-sense. The .gif file were not corrupted, but rather they were not found at all. They actually must NOT be included in the .jar file, or else they are not found. Strange enough, the .properties-file seemingly HAS to be in the .jar file to be found.
    This is something I'll probably never fully understand with java: which file-types it searches where...

  • How do you add/use typekit fonts that are not edge web fonts?

    I am just trying out the new Muse CC 2014.1 (August) release and was keen to try the new font facilities.  As far as I can see that while I can now add other fonts for which I have downloaded web font files via the Self Hosted Web Fonts function, Typekit fonts that are not "Adobe Edge Web Fonts" are effectively unavailable?  Have I missed something.
    As an example I want to use the Proxima Nova web font family.  I have selected it on the type kit site, set them up to Sync via my Creative Cloud account.  So for example if I select a font in Photoshop CC or Illustrator, the Proxima Nova fonts appear. Even ok in Word for Mac.  They do not appear in Muse.
    To add them as self hosted web fonts, I would need to physically download the relevant fonts files and install them on my desktop using the OS-X font tool.  However as they are being sync'd via Creative Cloud this shouldn't be necessary should it?  Also I don't see an option for doing so on the typekit site.
    Any help or guidance would be very welcome.
    PS:  I seem to have a separate issue with the Creative Cloud app, which is not listing fonts under the Assets tab.  But I don't think that is related as they are working fine for Photoshop, etc.

    Hi David,
    I'm sorry that you ran into trouble with this. To add fonts from Typekit to your Muse website, you will want to use the web fonts path instead of desktop fonts.  (You can use a desktop font synced from Typekit in your Muse design, but it will exported as an image the same as any other system font.)
    There are a couple options for using Typekit web fonts in Muse:
    o) The Muse Insider wrote a post on how to insert the Typekit embed code from the Muse interface:
    http://museinsider.com/how-to-add-typekit-fonts-to-your-muse-site.html
    o) Or you can add the embed code to the Page Properties dialog within Muse, which will include it in the <head> of the page when you export your website. The steps are the same as this tutorial, but you will add the Typekit embed code to Muse instead of into your page directly:
    TYPEKIT | Adding fonts to your site
    Note that in either case the Typekit fonts will not be displayed in the Muse preview window. You'll need to publish your site to a server in order for the Typekit fonts to be loaded into the page.
    If those look like more coding that you are comfortable with, you might try one of the fonts which you can select from the font menu instead. Here are some that are similar to :
    https://edgewebfonts.adobe.com/fonts#/?xHeight=high&contrast=low&class=sans-serif&width=re gular
    We are also working on a more complete integration of Typekit with Muse in the future, but I can't say yet when that will be available.
    >> PS:  I seem to have a separate issue with the Creative Cloud app, which is not listing fonts under the Assets tab.  But I don't think that is related as they are working fine for Photoshop, etc.
    Do you see a "loading" icon in the tab (e.g. a blue spinner wheel)?  It sounds similar to this thread; you might try these suggestions:
    Re: Adobe Creative Cloud / Desktop App / Home Screen: Constant Spinning Wheel
    I hope that this helps; let me know if you have any other questions.  Best,
    -- liz

  • How to create a view for all Service Requests that are not approved by reviewer

    Hallo,
    I want to create a view in the Service Requests library that shows all SRs that are not approved. How to configure condition that says: if a SR has related Review Activity which is In Progress, show that SRs?
    I couldn't find this when creating the view. Thank you.

    So here's the first problem with that: Which review activity? a SR can contain multiple RAs, so how do we decide if an arbitrary SR is approved or not? 
    As to the specific language you use (Any child RA is In Progress) you might want to look at the criteria from the default Change approval view, which does something similar: 
    <QueryCriteria Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd">
    <Criteria>
    <FreeformCriteria>
    <Freeform>
    <Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
    <Expression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity' TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity']/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </And>
    </Expression>
    </Criteria>
    </Freeform>
    </FreeformCriteria>
    </Criteria>
    </QueryCriteria>
    This is a simple AND criteria with two componets. one looking for a Review Activity (TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity') which is related to the targetting CR by Contains Activity ($Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity';
    Context in this... context means the CR targeted by the view) where it's status (/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$) is In Progress ($MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$). The other is filtering
    for the target change request's status ( $Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$) is In Progress ($MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$). 
    You could convert the second criteria to point to SRs and SR status values, and then use the similar text for the first criteria. i'd recommend
    Anton's Advanced View Editor (or
    the free version) to do the criteria adjustment. 

  • Report to Show PR that are not released by release codes

    Hello Experts,
    I would like to know if there is any report on SAP 6.0 that shows all the purchase requisitions that are not released which shows the releease code (the person's name who has to release the PR). In me55 only could be found by release code, and it is required, I cannot has a report
    I think that there is not, but i would like to confirm it.
    Thank you in advance,
    Best regards

    Hello,
    1)Go to ME5A t-code & select DYNAMIC SELECTIONS.
    2)Select "Purchase Requisition" section and you can make use of parameters like Release Code, Release Indicator , Release Status etc., to fetch the required results.
    Hope this helps you in resolving your matter.
    Regards
    Mahesh

  • How can I display images that are not included in any collection?

    How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.

    Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.

  • HT201322 itunes 11.0.3 - in my iTunes library I can no longer see purchased TV shows and Movies that are not downloaded to my computer. also In my Itunes account i have no hidden TV shows or Movies

    I'm running itunes 11.0.3 -
    in my iTunes library I can no longer see purchased TV shows and Movies that are not downloaded to my computer.
    In my Itunes account i have no hidden TV shows or Movies
    I used to be able to view all cloud and downloaded content.  I no longer can.

    There used to be option to show items that are in the cloud in your library, but I can't find where that now is (unless it's been removed). You should be able to see what items that you can re-download via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page (at the top right of that there should be a 'not on this computer' button)
    Edit : Just seen your reply, though I don't appear to have that setting on mine.

  • "one or more of the items in your selection contains Aperture albums that are not supported in iphoto".

    I have some folders in iPhoto called 'Recovered Folder'. When I try to delete them I get this message: "one or more of the items in your selection contains Aperture albums that are not supported in iphoto".
    I don't use Aperture (did install it to try it out), and have deleted Aperture App from my Mac.
    How can I get rid of these fodlers?

    i finally figured this out:
    fyi, iphoto and aperture can now share (i.e., access) the same library. apple details it here:
    http://support.apple.com/kb/HT5260?viewlocale=en_US&locale=en_US
    i use both iphoto and aperture, and i suspect something went amiss, at some point, while aperture was accessing my iphoto library.
    this is how i fixed the problem:
    i launched aperture, then (per the instructions linked above) switched to (i.e., accessed) my iphoto library. i was then able to delete the "recovered folder" and the album it contained. i then quit aperture and relaunched iphoto.
    NOTE: at that time, although i expected the "recovered folder" to be gone, it was still present. but this time, i was able to delete the folder from within iphoto without the "contains aperture items" error message.
    (Sparky030405, i realize you've since deleted aperture. while i can't say my method is the *only* way to solve this problem, it's the way i was able to solve it. so, you might consider reinstalling aperture in order to delete the folder, then uninstalling aperture, once again.)

  • How can I find photos that are not assigned to any collection?

    Hi !
    I'm using LR 5.7.1 on a Mac.
    When I've retouched raw pictures with PS CC (and do not need the PSD file any longer) I export the PSD (that is in my catalog) as JPG and let it add to my catalog automatically. After that I delete the PSD file. That works fine.
    But .... the new JPG file is not assigned to any collection. That's no problem unless I forget to do it manually after that export (and import).
    That brings me to my question.
    How can I find photos that are not assigned to any collection?
    I tried it with a smart collection after I found nothing suitable in library filter. The search criteria I tried are Source -> Collection with any of the conditions. One with an empty value field, then with just a space and so on.
    Has anybody a good hint for me?
    Thomas

    You can also add numbers if you have collections that don't use alphabet characters.

  • Best approach to delete records that are not in the source table anymore.

    I have a situation where I need to remove records from dimensions that are not in the source data anymore. Right now we are not maintaing history, i.e. not using SCD but planning for the next release. If we did that it would be easy to figure the latest records. The load is nightly and records are updated and new added.
    The approach that I am considering is to join the dimension tables the the sources on keys and delete what doesn't join. However, is there perhaps some function in OWB that would allow to do this automatically on import so it can be also in place for the future?
    Thanks!

    Bear in mind that deleting dimension records becomes problematic if you have facts attached to them. Just because this record is no longer in the active set doesn't mean that it wasn't used historically, and so have foreign key constraints on it in your database. IF this is the case, a short-term solution would be to add an expiry_date field to the dimension and update the load to set this value when the record disappears rather than to delete it.
    And to do that, use the target dimension as a source table, outer join it to the actual source table on the natural key, and so your update will set expiry_date=nvl(expiry_date,sysdate) to set to sysdate if this record has not already been expired on all records where the outer join fails.
    Further consideration: what do you do if the record is re-inserted into the source table? create a new dimension key? Or remove the expiry date?
    But I will say that I am not a fan of deleting records in most circumstances. What do you do if you discover a calculation error and need to fix that and republish historical cubes? Without the historical data, you lose the ability to do things like that.

Maybe you are looking for

  • Different Logical Systems ?

    HI, is it possible to use another Logical Systemname (Sender Service) ? i know 2 possibilities. 1) Change the LS in the SLD but i can´t do that because a lot of companies using this LS. 2) Check "Using sender from payload" but this is already changed

  • Copying movies and films from external HDD to new Momentus XT

    I have recently installed a new Momentus XT 500 drive on a mid 2010 macbook pro 13" Drive model - ST95005620AS revision - TD24 Drive seems to be working fine with very fast boot times ect.  However, if I copy across movies from my external drive to t

  • Page navigation problem

    Guys, I have two pages, each one with table with a hyperlink column. I use the same code in the hyperlink_action method for both (... return "nav-string"...). For one table this works, for the other not... I can't see a difference - navigation rules

  • How do I do a dynamic textarea in Dreamweaver CC

    How do I do a Dynamic textarea in Dreamweaver CC? I have a Text field in my database for comments.  I need to be able to update that field from the form. I think this used to be one of the server behaviors in DW 5.6, but it's not in the Extension tha

  • Nano - Major problems, I think.

    I can't seem to get my ipod nano into recovery mode, it doesn't appear to be charging and it clearly doesn't turn on. It has been doused in water twice, once in a pool (don't ask) and once through the laundry machine. Is this the cause of these probl