Error "  is not a time unit" while updating table that is Copy of CATSDB

Hi,
We have created a new table which is a copy of CATSDB and has some more Fields in it. While inserting records to the table, it is throwing the error saying "  is not a time unit". Can you please provide some info on this ?
This is a complete custom Table that reuses all the Includes of CATSDB table and some more columns.
Regards,
Srikanth.

Thanks for the Inputs. The issue was I do not have access to update these tables. Now I got it. Thank you.
Regards,
Chiranjeevi.

Similar Messages

  • When i want to go another from a tab,it shows firefox not responding, for a while then opens that tab!this is embarrassing me a lot by taking so much time!!why

    I have two inconviniences with fire fox..
    1)when i want to go another from a tab,it shows firefox not responding, for a while then opens that tab!this is embarrassing me a lot by taking so much time!!why it happens?
    2) every time when adobe flash player is updated, it shows flash player can't be installed and it crashes! it says 'disable real player' though i never installed real player!!
    plz Let me know why it happens to me????

    1. Update firefox to the latest version 2. and disable real player in menu->addons->plugins.
    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox 13 are most probably caused by a recent Flash 11.3 update and/or a malfunctioning Real Player browser plugin.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    [[Flash 11.3 crashes]]
    [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    http://forums.adobe.com/thread/1018071?tstart=0
    http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Please tell us if this helped!
    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Why the sound of my ipad3 gone suddenly,not first time after i update the software

    Why the sound of my ipad3 gone suddenly,not first time after i update the software

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Error while updating table in database.

    Hi,
    While updating a table I came across following error-
    ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'
    I have following undo parameters set in my parameter file-
    undo_management=auto
    undo_tablespace=UNDOTBS1
    If I have seperate undo tablespace then why Oracle is trying to use System undo segments?
    Thanks,

    Let's assume your settings are correct. However the error means you don't have an UNDO tablespace available. It could be because your tablespace doesn't exist, or you think you have started up your instance with this initialization parameter file.
    You should make sure you have your undo tablespace attached to your database, and you are using your correct initialization file.
    Have you edited this parameter in your pfile? Or have you configured this parameter in you spfile?
    Issue a query against v$rollname, you should see something simmilar to this:
    SQL> SELECT * FROM V$ROLLNAME;
    USN NAME
    0 SYSTEM
    1 _SYSSMU1$
    2 _SYSSMU2$
    3 _SYSSMU3$
    4 _SYSSMU4$
    5 _SYSSMU5$
    6 _SYSSMU6$
    7 _SYSSMU7$
    8 _SYSSMU8$
    9 _SYSSMU9$
    10 _SYSSMU10$
    If you can't then definitely you are not starting up your database with undo segments.

  • Unique Key Violation error while updating table

    Hi All,
    I am having problem with UNIQUE CONSTRAINT. I am trying to update a table and getting the violation error. Here is the over view. We have a table called ActivityAttendee. ActivityAttendee has the following columns. The problem to debug is this table has
    over 23 million records. How can I catch where my query is going wrong?
    ActivityAttendeeID INT PRIMARY KEY IDENTITY(1,1)
    ,ActivityID INT NOT NULL (Foreign key to parent table Activity)
    ,AtendeeTypeCodeID INT NOT NULL
    ,ObjectID INT NOT NULL
    ,EmailAddress VARCHAR(255) NULL
    UNIQUE KEY is on ActivityID,AtendeeTypeCodeID,ObjectID,EmailAddress
    We have a requirement where we need to update the ObjectID. There is a new mapping where I dump that into a temp table #tempActivityMapping (intObjectID INT NOT NULL, intNewObjectID INT NULL)
    The problem is ActivityAttendee table might already have the new ObjectID and the unique combination.
    For example: ActivityAttendee Table have the following rows
    1,1,1,1,NULL
    2,1,1,2,NULL
    3,1,1,4,'abc'
    AND the temp table has 2,1
    So essentially when I update in this scenario, It should ignore the second row because, if I try updating that there will be a violation of key as the first record has the exact value. When I ran my query on test data it worked fine. But for 23 million records,
    its going wrong some where and I am unable to debug that. Here is my query
    UPDATE AA
    SET AA.ObjectID = TMP.NewObjectID
    FROM dbo.ActivityAttendee AA
    INNER JOIN #tmpActivityMapping TMP ON AA.ObjectID = TMP.ObjectID
    WHERE TMP.NewObjectID IS NOT NULL
    AND NOT EXISTS(SELECT 1
    FROM dbo.ActivityAttendee AA1
    WHERE AA1.ActivityID = AA.ActivityID
    AND AA1.AttendeeTypeCodeID = AA.AttendeeTypeCodeID
    AND AA1.ObjectID = TMP.NewObjectID
    AND ISNULL(AA1.EmailAddress,'') = ISNULL(AA.EmailAddress,'')

    >> I am having problem with UNIQUE CONSTRAINT. I am trying to update a table and getting the violation error. Here is the over view. We have a table called Activity_Attendee. <<
    Your problem is schema design. Singular table names tell us there is only one of them the set. Activities are one kind of entity; Attendees are a totally different kind of entity; Attendees are a totally different kind of entity. Where are those tables? Then
    they can have a relationship which will be a third table with REFERENCES to the other two. 
    Your table is total garbage. Think about how absurd “attendee_type_code_id” is. You have never read a single thing about data modeling. An attribute can be “attendee_type”, “attendee_code” or “attendee_id”but not that horrible mess. I have used something like
    this in one of my busk to demonstrate the wrong way to do RDBMS as a joke, but you did it for real. The postfix is called an attribute property in ISO-11179 standards. 
    You also do not know that RDBMS is not OO. We have keys and not OIDs; but bad programmers use the IDENTITY table property (NOT a column!), By definition, it cannot be a key; let me say that again, by definition. 
    >> ActivityAttendee has the following columns. The problem to debug is this table has over 23 million records [sic: rows are not records]<<
    Where did you get “UNIQUE KEY” as syntax in SQL?? What math are you doing the attendee_id? That is the only reason to make it INTEGER. I will guess that you meant attendee_type and have not taken the time to create an abbreviation encoding it.
    The term “patent/child” table is wrong! That was network databases, not RDBMS. We have referenced and referencing table. Totally different concept! 
    CREATE TABLE Attendees
    (attendee_id CHAR(10) NOT NULL PRIMARY KEY, 
     attendee_type INTEGER NOT NULL  --- bad design. 
        CHECK (attendee_type BETWEEN ?? AND ??), 
     email_address VARCHAR(255), 
    CREATE TABLE Activities
    (activity_id CHAR(10) NOT NULL PRIMARY KEY, 
    Now the relationship table. I have to make a guess about the cardinally be 1:1, 1:m or n:m. 
    CREATE TABLE Attendance_Roster
    (attendee_id CHAR(10) NOT NULL --- UNIQUE??
       REFERENCES Attendees (attendee_id), 
     activity_id Activities CHAR(10) NOT NULL ---UNIQUE?? 
      REFERENCES Activities (activity_id)
     PRIMARY KEY (attendee_id, activity_id), --- wild guess! 
    >> UNIQUE KEY is on activity_id, attendee_type_code_id_value_category, object_id, email_address <<
    Aside from the incorrect “UNIQUE KEY” syntax, think about having things like an email_address in a key. This is what we SQL people call a non-key attribute. 
    >> We have a requirement where we need to update the ObjectID. There is a new mapping where I dump that into a temp table #tempActivityMapping (intObjectID INTEGER NOT NULL, intNewObjectID INTEGER NULL) <<
    Mapping?? We do not have that concept in RDBMS. Also putting meta data prefixes like “int_” is called a “tibble” and we SQL people laugh (or cry) when we see it. 
    Then you have old proprietary Sybase UODATE .. FROM .. syntax. Google it; it is flawed and will fail. 
    Please stop programming until you have a basic understanding of RDBMS versus OO and traditional file systems. Look at my credits; when I tell you, I think I have some authority. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Error while updating table

    Hi,
    I am using oracle 11g db.
    Trying to update one of my table using following query :
    UPDATE EMPLOYEE_HISTORY_ALL_T TMDC
    SET LAST_UPDATE_DATE = '01-apr-1901'
    WHERE EXISTS
    (SELECT 1
    FROM PROJECT_T TMP
    WHERE TMP.PROJECT_ID = TMDC.PROJECT_ID
    AND NVL(TMP.COL_CHG_DATE, TO_DATE('01-apr-1901', 'dd-mon-yyyy')) >= '01-apr-1901')
    AND FIRST_PROCESS_DATE >= '01-apr-1901';
    Error comes like "Table or view doesn't exist". Table is in the same schema in which I am trying this update stmt.
    Also when I do Select * from this table data is coming.
    In the all_objects I can see there is public synonym also with the same name. I think while updating it is refering to that synonym instead of table , so error is coming.
    please tell me how can I refer to table in this case and not the synonym.

    For table EMPLOYEE_HISTORY_ALL_T
    OWNER     OBJECT_NAME     SUBOBJECT_NAME     OBJECT_ID     DATA_OBJECT_ID     OBJECT_TYPE     CREATED     LAST_DDL_TIME     TIMESTAMP     STATUS     TEMPORARY     GENERATED     SECONDARY     NAMESPACE     EDITION_NAME
    PUBLIC     EMPLOYEE_HISTORY_ALL_T          726992          SYNONYM     11/15/2011 6:17:37 PM     11/15/2011 6:17:37 PM     2011-11-15:18:17:37     VALID     N     N     N     1     
    MIS     EMPLOYEE_HISTORY_ALL_T          726988     1752101     TABLE     2/23/2007 10:18:18 PM     11/15/2011 6:19:44 PM     2011-11-15:18:19:44     VALID     N     N     N     1     
    For table PROJECT_T
         OWNER     OBJECT_NAME     SUBOBJECT_NAME     OBJECT_ID     DATA_OBJECT_ID     OBJECT_TYPE     CREATED     LAST_DDL_TIME     TIMESTAMP     STATUS     TEMPORARY     GENERATED     SECONDARY     NAMESPACE     EDITION_NAME
         PUBLIC     PROJECT_T          35158          SYNONYM     3/1/2006 3:33:23 PM     11/14/2009 4:00:21 PM     2009-11-14:16:00:21     VALID     N     N     N     1     
         BSC     PROJECT_T          35250          SYNONYM     2/25/2006 3:49:46 AM     11/15/2009 1:15:35 PM     2009-11-15:13:15:35     VALID     N     N     N     1     
         CDWSTG     PROJECT_T          37350          SYNONYM     2/25/2006 5:32:32 AM     11/15/2009 11:01:34 AM     2009-11-15:11:01:34     VALID     N     N     N     1     
         CDWPROD     PROJECT_T          40102          SYNONYM     2/25/2006 11:46:03 AM     1/1/2010 3:42:17 PM     2010-01-01:15:42:17     VALID     N     N     N     1     
         MIS     PROJECT_T          810675     7360542     TABLE     4/2/2007 3:30:07 PM     11/11/2011 5:23:55 PM     2009-11-14:15:28:15     VALID     N     N     N     1     
         DEL25PROD     PROJECT_T          645792     1237989     TABLE     1/9/2007 6:28:08 PM     9/6/2009 8:18:13 PM     2007-01-09:18:28:08     VALID     N     N     N     1     
         DELSTG     PROJECT_T          1271755          SYNONYM     11/1/2007 1:54:32 PM     1/1/2010 3:42:17 PM     2010-01-01:15:42:17     VALID     N     N     N     1     
    I am logging through MIS schema. In this schema only I am running the update query.

  • Invoice validation program error:Could not find operating unit options

    Dear Team,
    Once my Payables Open Interface Import program successfully completed, I am trying to running invoice validation program which is ended with warning as bellow,
    (Bulk CALCULATE) START SYSDATE 17-DEC-2012 04:04:19
    Could not find operating unit options
    Encountered unexpected error: User-Defined Exception
    (Bulk CALCULATE) END SYSDATE 17-DEC-2012 04:04:23
    and invoice placing into Dist Variance hold,
    my interface program placed data in to based tables (ap_invoices_all and lines_all ) but distributions are not getting generating. Can you please do help me.
    Find attached excel sheet for ur references.
    Thanks
    Sathiya

    Make sure the library (pll file) is in the path indicated by your FORMS60_PATH in the registry.
    Hope that helps,
    Karim.

  • Error: could not find program unit being called

    I am getting the following error:
    FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-06508 (see below for description)
    when I call this from my WHEN-NEW-FORM-INSTANCE TRIGGER:
    check_button('PROJECT.SHIFT_DATES','project.first_deadline');
    I have an attached library with the following Program Unit:
    PROCEDURE check_button (button in VARCHAR2, field in VARCHAR2)
    IS
    BEGIN
    if get_item_property(field,update_allowed)='TRUE' then
    SET_ITEM_PROPERTY(button,ENABLED,PROPERTY_TRUE);
    ELSE
    SET_ITEM_PROPERTY(button,ENABLED,PROPERTY_FALSE);
    END IF;
    END;
    It works fine when I run it through the debugger, and when I replace the procedure call to the full code in the trigger.
    ORA-06508: PL/SQL: could not find program unit being called
    Cause: An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action: Check that all referenced programs, including their package bodies, exist and are compatible.
    null

    Make sure the library (pll file) is in the path indicated by your FORMS60_PATH in the registry.
    Hope that helps,
    Karim.

  • Getting Errors: could not find program unit being called ORA-0651

    Hello,
    I'm new to Oracle and I need your help. I'm using Oracle SQL Developer and I have a package that compiles without errors (only warnings) but it still shows a little red x in package's body icon. I get the following error message:
    ORA-04063: package body "SAFETYUSER.SEL_INCIDENT_INFO" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1
    Here is the body of the package. I would appreciate your help.:
    create or replace PACKAGE BODY "SEL_INCIDENT_INFO" as
    procedure sel_0022Info
    in_ID0022 in number,
    out_eName out t_varChar2,
    out_mName out t_varChar2,
    out_Work out t_varChar2,
    out_Loc out t_varChar2,
    out_Sign out t_varChar2,
    out_obsDate out t_varChar2,
    out_veh out t_varChar2,
    out_vehType out t_varChar2,
    out_vehTag out t_varChar2,
    out_secSup out t_varChar2,
    out_dlic out t_varChar2,
    out_dlType out t_varChar2,
    out_rc out t_varChar2,
    out_JTitle out t_varChar2,
    out_actTake out t_varChar2,
    out_jobfunc out t_varchar2,
    out_ecuid out t_varchar2,
    out_mcuid out t_varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR cur0022 IS
    select o.ecuid,o.mcuid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID (NMC 11/28/2006)
    select o.euid,o.muid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID
    from TBL_0022 o
    where o.id0022 = in_ID0022;
    -- variables
    out_eFN varchar2(50);
    out_mFN varchar2(50);
    out_eJF varchar2(4);
    out_DL varchar2(100);
    out_DLT varchar2(100);
    out_Sec varchar2(100);
    out_Vh varchar2(50);
    out_VhT varchar2(50);
    out_VhTg varchar2(50);
    out_eID varchar2(7);
    out_eRC varchar2(10);
    out_signFull varchar2(50);
    out_eJT varchar2(100);
    -- rows for cursors
    row0022 cur0022%rowtype;
    begin
    open cur0022;
    fetch cur0022 into row0022;
    sel_eFullName(row0022.ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT); (NMC 11/28/2006)
    sel_eFullName(row0022.euid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT); -- Changed ecuid to euid NMC 11/28/2006
    --sel_mFullName(row0022.mcuid,out_mFN);
    sel_DL(row0022.DLID,out_DL,out_DLT);
    sel_Sec(row0022.secid,out_Sec);
    sel_Veh(row0022.vehid,out_Vh,out_VhT,out_VhTg);
    out_veh(1) := out_vh;
    out_vehType(1) := out_vht;
    out_vehTag(1) := out_vhtg;
    out_secSup(1) := out_Sec;
    out_dlic(1) := out_DL;
    out_dlType(1) := out_DLT;
    out_eName(1) := out_eFN;
    out_mName(1) := out_mFN;
    out_Work(1) := row0022.workperf;
    out_Loc(1) := row0022.loc;
    sel_mfullname(row0022.sign,out_signFull);
    out_Sign(1) := row0022.sign;--out_signFull;
    out_obsDate(1) :=row0022.obsdate;
    out_actTake(1) :=row0022.action;
    out_jobFunc(1) := out_eJF;
    out_rc(1) := out_eRC;
    out_ecuid(1) := row0022.ecuid; (NMC 11/28/2006)
    out_ecuid(1) := row0022.euid; -- Changed ecuid to euid. (NMC 11/28/2006)
    out_mcuid(1) := row0022.mcuid;  (NMC 11/28/2006)
    out_mcuid(1) := row0022.muid; -- Changed mcuid to muid. (NMC 11/28/2006)
    out_JTitle(1) := out_eJT;
    close cur0022;
    end;
    procedure sel_eFullName
    in_0022EcuID in varchar2, --number,
    out_eFN out varChar2,
    out_eJF out varchar2,
    out_eID out varchar2,
    out_eRC out varchar2,
         out_eJT out varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR curCUID IS
    select e.efn, e.eln,e.jobfunc,ecuid,rc,e.eid, e.jTitle
    from TBL_EINFO e
    where e.ecuid = in_0022ecuid
    order by e.eid desc;--eid = in_0022EID;
    -- rows for cursors
    rowCUID curCUID%rowtype;
    begin
    open curCUID;
    fetch curCUID into rowCUID;
    out_eFN := rowCUID.efn||' '||rowCUID.eln;
    out_eJF := rowCUID.jobfunc;
    out_eID := rowCUID.eid;--ecuid;
    out_eRC := rowCUID.rc;
    out_eJT := rowCUID.jTitle;
    close curCUID;
    end;
    procedure sel_mFullName
    in_mcuid in varchar2,
    out_mFN out varChar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR curCUID IS
    select m.mname
    from TBL_managers m
    where m.mcuid = in_mcuid;
    -- rows for cursors
    rowCUID curCUID%rowtype;
    begin
    open curCUID;
    fetch curCUID into rowCUID;
    out_mFN := rowCUID.mname;
    close curCUID;
    end;
    procedure sel_DL
    in_DLID in number,
    out_DL out varChar2,
    out_DLT out varChar2
    )is
    -- get Last DL
    CURSOR curDL(parDLID number)IS
    SELECT D.DL, D.DLTYPE, D.DLID
    FROM tbl_DL D
    WHERE D.DLID = parDLID;
    -- rows for cursors
    rowDL curDL%rowtype;
    begin
    -- get DL if not 0
    open curDL(in_DLID);
    fetch curDL into rowDL;
    if(rowDL.DL!='0')then
    out_DL := rowDL.dl;
    else
    out_DL := '';
    end if;
    if(rowDL.DLType !='0')then
    out_DLT := rowDL.dltype;
    else
    out_DLT := '';
    end if;
    close curDL;
    end;
    procedure sel_Sec
    in_SecID in number,
    out_Sec out varChar2
    )is
    -- get Last Second Supervisor
    CURSOR curSec(parSecID number)IS
    SELECT s.Super
    FROM tbl_SecSup s
    WHERE s.secsID = parSecID;
    -- rows for cursors
    rowSec curSec%rowtype;
    begin
    -- get Sec if not 0
    open curSec(in_SecID);
    fetch curSec into rowSec;
    if(rowSec.Super!='0')then
    out_Sec := rowSec.Super;
    else
    out_Sec := '';
    end if;
    close curSec;
    end;
    procedure sel_Veh
    in_VehID in number,
    out_Veh out varChar2,
    out_VType out varChar2,
    out_VTag out varChar2
    )is
    -- get Last Second Supervisor
    CURSOR curVeh(parVehID number)IS
    SELECT v.vehicle, v.vehtype, vehtagnumber
    FROM tbl_Vehicle v
    WHERE v.vehID = parVehID;
    -- rows for cursors
    rowVeh curVeh%rowtype;
    begin
    -- get vehicle if not 0
    open curVeh(in_VehID);
    fetch curVeh into rowVeh;
    if(rowVeh.vehicle!='0')then
    out_Veh := rowVeh.Vehicle;
    else
    out_Veh := '';
    end if;
    if(rowVeh.vehtype!='0')then
    out_VType := rowVeh.vehtype;
    else
    out_VType := '';
    end if;
    if(rowVeh.vehtagnumber!='0')then
    out_VTag := rowVeh.vehtagnumber;
    else
    out_VTag := '';
    end if;
    close curVeh;
    end;
    procedure sel_ObsIds(
    in_IncID in number,
    out_obsID out t_number
    is
    -- cursor
    cursor curFindObsID is
    select o.obsID from tbl_obs o where o.id0022 = in_incID;
    -- variables
    obsExist tbl_Obs.obsid%type;
    pcount number default 1;
    begin
    FOR xLoop IN curFindObsID
    LOOP
    out_obsID(pcount) := xLoop.obsID;
    pcount := pcount + 1;
    END LOOP;
    end;
    procedure sel_ObsIdsWSitem(
    in_IncID in number,
    in_SitemID in number,
    out_obsID out t_number
    is
    -- cursor
    cursor curObsIDwSitemID is
    select o.obsID from tbl_obs o where o.id0022 = in_incID and o.sitem_id = in_sitemID;
    -- variables
    pcount number default 1;
    begin
    FOR xLoop IN curObsIDwSitemID
    LOOP
    out_obsID(pcount) := xLoop.obsID;
    pcount := pcount + 1;
    END LOOP;
    end;
    procedure delObsId(
    in_obsID in number
    is
    begin
    DELETE FROM tbl_obs o WHERE (o.obsID=in_obsID);
    end;
    procedure sel_last0022(
    in_ecuid in varchar2,
    --in_mcuid in varchar2,
    out_secSup out t_varChar2,
    out_dlic out t_varChar2,
    out_dlType out t_varChar2,
    out_rc out t_varChar2,
    out_veh out t_varChar2,
    out_vehtag out t_varChar2,
    out_vehtype out t_varChar2,
    out_eName out t_varChar2,
    out_mcuid out t_varChar2,
    out_ecID out t_varchar2,
    out_jobFunc out t_varChar2,
    out_jTitle out t_varchar2
    is
    ---cursor
    cursor curGetLast0022 is
    select o.vehid, o.dlid, o.secid, o.eid, o.mcuid (NMC 11/28/2006)
    select o.vehid, o.dlid, o.secid, o.eid, o.muid
    from tbl_0022 o
    -- where o.ecuid = in_ecuid and o.mcuid = in_mcuid (NMC 11/28/2006)
    where o.euid = in_ecuid and o.mcuid = in_mcuid Changed ecuid to euid (NMC 11/28/2006)
    order by o.id0022 desc;
    ---variables
    row0022 curGetLast0022%rowtype;
    out_eFN varchar2(50);
    out_mFN varchar2(50);
    out_eJF varchar2(4);
    out_DL varchar2(50);
    out_DLT varchar2(50);
    out_Sec varchar2(50);
    out_Vh varchar2(50);
    out_VhT varchar2(50);
    out_VhTg varchar2(50);
    out_eRC varchar2(10);
    out_eID varchar2(7);
    out_eJT varchar2(100);
    pOut_mCuid varchar2(7);
    begin
    open curGetLast0022;
    fetch curGetLast0022 into row0022;
    sel_eFullName(in_ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT);
    --sel_mFullName(in_mcuid,out_mFN);
    sel_DL(row0022.DLID,out_DL,out_DLT);
    sel_Sec(row0022.secid,out_Sec);
    sel_Veh(row0022.vehid,out_Vh,out_VhT,out_VhTg);
    out_veh(1) := out_vh;
    out_vehType(1) := out_vht;
    out_vehTag(1) := out_vhtg;
    out_secSup(1) := out_Sec;
    out_dlic(1) := out_DL;
    out_dlType(1) := out_DLT;
    out_eName(1) := out_eFN;
         if(row0022.mcuid IS NULL)then
              sel_EInfoMCuid(in_ecuid,pOut_mCuid);
              out_mcuid(1) := pOut_mCuid;
         else
              out_mcuid(1) := row0022.mcuid; (NMC 11/28/2006)
    out_mcuid(1) := row0022.muid; -- Changed mcuid to muid. (NMC 11/28/2006)
         end if;
         --sel_EInfoMCUID(in_ecuid,pOut_mCuid);
         --out_mcuid(1) := pOut_mCuid;
    out_rc(1) := out_eRC;
    out_ecID(1) := out_eID;
    out_jobfunc(1) := out_eJF;
         out_jTitle(1) := out_eJT;
    close curGetLast0022;
    end;
    procedure sel_EInfoMCUID(
    pIn_ecuid in varchar2,
    out_mcuid out varchar2
    is
    -- cursor
    cursor curEInfoMCuid is
    select e.eid, e.mcuid from tbl_einfo e where e.ecuid = pIn_ecuid order by e.eid desc;
    -- variables
    rowMCuid curEInfoMCuid%rowtype;
    begin
         open curEInfoMCuid;
         fetch curEInfoMCuid into rowMCuid;
         close curEInfoMcuid;
         out_mcuid := rowMCuid.mcuid;
    end;
    procedure sel_empInfo
    in_0022EcuID in varchar2, --number,
    out_eFN out t_varchar2,
    out_eJF out t_varchar2,
    out_eID out t_varchar2,
    out_eRC out t_varchar2,
         out_eJT out t_varchar2,
         out_eStA out t_varchar2,
         out_eStaN out t_varchar2,
         out_eMcuid out t_varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR curCUID IS
    select e.efn, e.eln,e.jobfunc,ecuid,rc,e.eid, e.jTitle,e.stA, e.stacode,e.MCUID
    from TBL_EINFO e
    where e.ecuid = in_0022ecuid
    order by e.eid desc;--eid = in_0022EID;
    -- rows for cursors
    rowCUID curCUID%rowtype;
    begin
    open curCUID;
    fetch curCUID into rowCUID;
    out_eFN(1) := rowCUID.efn||' '||rowCUID.eln;
    out_eJF(1) := rowCUID.jobfunc;
    out_eID(1) := rowCUID.eid;--ecuid;
    out_eRC(1) := rowCUID.rc;
    out_eJT(1) := rowCUID.jTitle;
    out_eStA(1) := rowCUID.sta;
    out_eStaN(1) := rowCUID.staCode;
    out_eMcuid(1) := rowCUID.mcuid;
    close curCUID;
    end;
    end;

    This is the results of that query:
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    PLW-07203: Message 7203 not found; No message file for product=plsql, facility=PLW
    40 rows selected

  • Reg:Shortdump in Program while updating Table AUSP

    Hi All,
    i have a problem in the program while updating the AUSP table am using the function module
    CLVF_VB_INSERT_CLASSIFICATION
    in that function module the short dump occurs while try to insert ausp in the following line,
    insert auspc_v1 client specified from table auspcv1.
    the problem is while updating transaction CL20N the update has been failed thats why i have tried to manually insert in AUSP even though its short dumping.
    i have maintained all the necessary settings in cl24n.
    could you please resolve my issue.

    I am not sure of the Tables and there uses but it looks like you need to update SAP tables through standard transaction which is failing.
    Are there any data inconsistancies for the data that you are trying to maintain?
    Also maintaining the SAP table manually is not advisable as ther could be some other dependant/related tables which also might require updation.
    By the way what is the Message diplyed in ABAP dump it will definately help in solving the problem.
    Regards
    Shital

  • Change dimension and update table that was used in the AUTOBIND

    Is there a way that I can update the definition of my dimension by adding a column and
    have it update the definition of the table that was used in AUTOBIND without destroying all my constraints to the table.
    I just want to bring over the new coulmns.
    This is in 11gr1
    I guess if I have to I can change the dimension to manual and then perform the binding manually.
    Is this the only way.
    thanks
    greG

    yes, that is the way to do.
    Alter the table to add new columns
    Alter the dimension to add new columns ( change storage type to manual)
    manually connect the dim to table
    rgds
    Mahesh

  • Network time out while updating to 2.2.1

    I have tried unsuccessfully more than 2 months now to update my iPhone to 2.2.1. Each time it takes 25 minutes to download the update, then I receive an error message saying the network has timed out. The same problem happened last time when I tried to update to 2.2 and I just keep trying once every while and just out of the blue my iphone finally got updated to 2.2 finally. I think this is really annoying when everytime there is an updated sofeware coming up and same problem happened, especially when some of the applications in itunes store can only worked with the lastest sofeware version!
    Also, after I have updated my itunes to version 8.2.0.23, the program is not able to read any of the music that I have previously downloaded and I have to do it manually again!
    Can someone in Apple do something about these software problems or is it the kind of service standard that I should expect from such an important product from such a prestigious company?

    If you have a PC, try temporarily disabling your firewall and your anti-virus software and any other anti-whatever that is required with Windows before downloading the update. Since an iPhone firmware update includes an installer and is a large download, this likely causes problems with anti-virus software that is required with Windows.
    Was all or most of your iTunes music purchased from the iTunes store, or was it imported into your iTunes library from another source?

  • Error while updating table before branching to a report

    Hi,
    I have an apex form screen where on click of a button, i need to change a few flags on the screen and then display a bi publisher report.
    when the user clicks the PRINT Button a javascript function is called, which will set the flags and submits the form. I have the default process row of table process to update the form fields.
    in the branch i gave the BI publisher report url.
    everything works fine so far.
    if i click the print button again for a second time, i get a checksum ... error as shown below.
    ORA-20001: Error in DML: p_rowid=982-000790, p_alt_rowid=_ID_NUMBER, p_rowid2=, p_alt_rowid2=. ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "BD63FDD3142B79017CCD2C8DA8ED8CA7" application checksum = "B2FD7581A9478214E59264F9C1CFAF96"
    Error Unable to process row of table .
    OK
    Any idea how to fix this?
    What i am trying to do is:
    when the print button is clicked then i need to set the Print flag in the screen and database to true.I am using the default row update process generated by apex for a table form.
    Thanks
    Knut

    Hi Scott,
    example 1
    I have a demo at the following url
    http://apex.oracle.com/pls/otn/f?p=30091:6:1206476651563662::NO:::
    1. page 6 is the report and page 7 will be the details form.
    2. select a record from the report click edit and it will take you to the details screen page 7.
    3. on page 7 i have 2 select boxes with YES/NO flag. Initially set them to NO.
    save changes.
    4. click on the print button. it will reset the select lists to YES and opens a report.
    5.now go and edit anything on the screen and click apply changes.
    we will get the an error.
    All i am trying to do is update the flags to YES before displaying the report which works fine. but if i try to edit any data and save it throws an error.
    is my table.
    CREATE TABLE "DEMO_MINISTER"
    (     "MINISTER_ID" VARCHAR2(12),
         "NAME" VARCHAR2(50),
         "CERT_FLAG" VARCHAR2(1),
         "LABEL_FLAG" VARCHAR2(1)
    MINISTER_ID" is the primary key generated using a sequence. (i have to actually generate it with - year prefix etc hence a varchar)
    example 2:
    http://apex.oracle.com/pls/otn/f?p=30091:1:607292687304632:::::
    i have another page page 1 with demo_customers list. here the id is a number here. on edit it displays page 5 where i tried the same print reset flag stuff here and it works.
    Table Data Indexes Model Constraints Grants Statistics UI Defaults Triggers Dependencies SQL
    CREATE TABLE "DEMO_CUSTOMERS"
    (     "CUSTOMER_ID" NUMBER NOT NULL ENABLE,
         "CUST_FIRST_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "CUST_LAST_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "CUST_STREET_ADDRESS1" VARCHAR2(60),
         "CUST_STREET_ADDRESS2" VARCHAR2(60),
         "CUST_CITY" VARCHAR2(30),
         "CUST_STATE" VARCHAR2(2),
         "CUST_POSTAL_CODE" VARCHAR2(10),
         "PHONE_NUMBER1" VARCHAR2(25),
         "PHONE_NUMBER2" VARCHAR2(25),
         "CREDIT_LIMIT" NUMBER(9,2),
         "CUST_EMAIL" VARCHAR2(30),
         "PRINT_FLAG" VARCHAR2(1),
         "PRINT_LABEL_FLAG" VARCHAR2(1),
         CONSTRAINT "DEMO_CUST_CREDIT_LIMIT_MAX" CHECK (credit_limit <= 5000) ENABLE,
         CONSTRAINT "DEMO_CUSTOMERS_PK" PRIMARY KEY ("CUSTOMER_ID") ENABLE
    So what should i do to get the example 1 to work.
    Thanks
    knut

  • ERROR WHILE UPDATING TABLE 'COBK'

    DEAR ALL!
    I am facing the following error while posting goods issue through VL01N and stock posting through MB1C ( m.type 521 without production order ).
    Table COBK is not updated wile doing those trasactions, this cause the runtime error.how to solve this issue?
    I searched SAP notes but problem not yet solved.Kindly go through the following error and give your suggestions.
    Thanks in advance.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "INSERT_TABLES" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Sivasubramaniam,
    SD consultant.

    I am pretty sure table COBK is a the Cost Center Accounting table.
    You need to get your Finance consultant to check the periods and years are open in CCA. In fact check that they want to post to CCA.
    Also check the number ranges have been set up correctly for the type of postings.
    Please award points if this is useful.

  • Mutating Trigger error while updating table

    Hi Guys,
    I am updating one table and after trigger also fire at the same time. Now, I want to avoid mutating trigger error. Can any one help me on this.
    Thanks in advance!
    Regards,
    -LRK

    You'll have to read these articles first, they explain what's the problem and how to deal with it:
    http://www.oracle-base.com/articles/9i/MutatingTableExceptions.php
    http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551198119097816936
    but, as Saubhik already said, using Oracle's AUDIT functionality would be the way to go.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4007.htm
    Using an autonomous transaction can result in corrupted data or unexpected errors, stay away from them if you want to use them in order to bypass/hide your mutating table error.

Maybe you are looking for