Teradata database error when using a Universe-defined Date condition

I have encountered an odd problem when connecting Crystal to a Universe.  There is a pre-defined Date condition built into the Universe that is defined as follows:
@Select(Date\Week End Date)  >  @Select(Conditions\User Response Select Date week -28)  AND @Select(Date\Week End Date)  <=  @Select(Conditions\User Response Select Date)
The filter is designed to retrieve a rolling 4 weeks of data.
When I try and create and refresh a Crystal Report that includes this Date prompt, I get the following error:
Failed to retrieve data from the database.
Details: 22003:(ODBC Teradata Driver)(Teradata Database) A character string failed conversion to a numeric value.
If I create the same query in a WebI report it works fine, but in Crystal the error is produced.  I have also tried constructing the same prompt and filter within Crystal rather than use the pre-built prompt but that did not work either.
Does anyone have any experience or advice on this error?  I can't seem to find many related postings on this specific error.
BO Enterprise XI 3.1 SP2 running on Windows 2008 Server R2
Crystal Reports 2008 SP2 running on Windows XP SP3
Universe is built on a Teradata 12 source
Thanks!

One item I found I had to do with Teradata was cast my date/time values to dates, otherwise I got weird errors like this. You say it's working in Web Intelligence, so this might not be the issue, but it is an easy thing to test.
In the universe, change your end date definition to
cast(table.end_date as date)
and see if that helps.

Similar Messages

  • Error when using dbms_pumpdata to export data

    DECLARE 
           l_dp_handle   NUMBER; 
        BEGIN 
           l_dp_handle := 
              DBMS_DATAPUMP.open (operation => 'EXPORT', job_mode => 'TABLE'); 
           dbms_datapump. 
            add_file (handle      => l_dp_handle 
                    , filename    => 'scott_tb_emp.dmp' 
                    , directory   => 'DB_DUMP_DIR' 
                    , filetype    => DBMS_DATAPUMP.KU$_file_type_dump_file); 
           dbms_datapump. 
            add_file (handle      => l_dp_handle 
                    , filename    => 'scott_tb_emp.log' 
                    , directory   => 'DB_DUMP_DIR' 
                    , filetype    => DBMS_DATAPUMP.KU$_file_type_log_file); 
           DBMS_DATAPUMP.metadata_filter (handle        => l_dp_handle 
                                        , name          => 'NAME_EXPR' 
                                        , VALUE         => ' =''MYTABLE'' ' 
                                        , object_type   => 'TABLE'); 
         DBMS_DATAPUMP.data_filter( handle       => l_dp_handle 
                                    , name         => 'SUBQUERY' 
                                    , VALUE        => 'WHERE DT < ''11/01/2010''' 
                                    , table_name   => 'MYTABLE' );                                 
           DBMS_DATAPUMP.start_job (l_dp_handle); 
           DBMS_DATAPUMP.detach (l_dp_handle); 
        END;
    I want to export a subset of data in MYTABLE, it gave error
    11:17:54  [DECLARE - 0 row(s), 0.000 secs]  [Error Code: 39001, SQL State: 99999]  ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3444
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3693
    ORA-06512: at line 6
    ... 1 statement(s) executed, 0 row(s) affected, exec/fetch time: 0.000/0.000 sec  [0 successful, 0 warnings, 1 errors]

    Hi,
    Check this test, i can get the successful dump file
    SQL> DECLARE
           l_dp_handle   NUMBER;
           job_status VARCHAR2(30);
        BEGIN
           l_dp_handle :=
              DBMS_DATAPUMP.open (operation => 'EXPORT', job_mode => 'TABLE');
           dbms_datapump.
            add_file (handle      => l_dp_handle
                    , filename    => 'scott_tb_emp.dmp'
                    , directory   => 'DATA_DD_DIR'
                    , filetype    => DBMS_DATAPUMP.KU$_file_type_dump_file);
           dbms_datapump.
            add_file (handle      => l_dp_handle
                    , filename    => 'scott_tb_emp.log'
                    , directory   => 'DATA_DD_DIR'
                    , filetype    => DBMS_DATAPUMP.KU$_file_type_log_file);
           DBMS_DATAPUMP.metadata_filter (handle        => l_dp_handle
                                        , name          => 'NAME_EXPR'
                                        , VALUE         => ' =''EMP'' '
                                        , object_type   => 'TABLE');
         DBMS_DATAPUMP.data_filter( handle       => l_dp_handle
                                    , name         => 'SUBQUERY'
                                    , VALUE        => 'WHERE SAL > 1000'
                                    , table_name   => 'EMP' );                                
           DBMS_DATAPUMP.start_job (l_dp_handle);
           dbms_output.put_line ('DataPump Export - '||to_char(sysdate,'DD/MM/YYYY HH24:MI:SS')||' Status '||job_status);
           DBMS_DATAPUMP.detach (l_dp_handle);
        END;
       2    3    4    5    6    7    8    9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31 
    32  /
    PL/SQL procedure successfully completed.
    SQL> !ls -lrt|tail
    total 144
    -rw-rw-r-- 1 oracle oracle    858 Sep 13 11:08 scott_tb_emp.log
    -rw-rw---- 1 oracle oracle 110592 Sep 13 11:08 scott_tb_emp.dmp
    SQL> !cat scott_tb_emp.log
    Starting "ME"."SYS_EXPORT_TABLE_01": 
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 64 KB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/AUDIT_OBJ
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "ME"."EMP"                                  8.515 KB      13 rows
    Master table "ME"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    Dump file set for ME.SYS_EXPORT_TABLE_01 is:
      /home/oracle/MYSHELL/scott_tb_emp.dmp
    Job "ME"."SYS_EXPORT_TABLE_01" successfully completed at 11:08:47
    SQL> select count(*) from emp where sal>1000;
      COUNT(*)
            13
    Hope this help

  • Transfer(IDocs and TRFC) error when use infopackage to load data from R/3

    I create an infopackage to load data from R/3, when start immediately ,there is no data transfered. The return error is :
      transfer(IDocs and TRFC): Errors occurred
         request IDoc: Application document not posted
    Does anybody know how can correct this error?
    Thanks great.

    Hi Yimeng,
    Check in SM58 transaction code in R/3 and see if any LUWs are stuck there. If so you can execute them manually and complete the data load.
    regards,
    Sumit

  • Database Querry error when using # in column name

    I am using the Database toolkit to work with a MySQL database. 
    Some of the columns in the database have names with special characters:
    Batch# and Employee#.  The database tools give me an error when I
    try to write data to those fields.  I have tried square brackets
    around the column name [Batch#] but that doesn't seem to help.  Is
    there a way to update these fields with the Database tools?
    Here is the errror:
    Error -2147217900 occurred at Cmd Execute.vi->DB Tools Insert Data.vi->Move to NCP.vi
    Possible reason(s):
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers,
    [MySQL][ODBC 3.51 Driver][mysqld-3.23.49-log]You have an error in your
    SQL syntax near '' at line 1.  in Rec Create - Command.vi->Cmd
    Execute.vi->DB Tools Insert Data.vi->Move to NCP.vi
    Attachments:
    Move to NCP.vi ‏60 KB

    Hi Anuj,
    Yes i am using SOA Suite 11g and i have chosen the right platform class as i am able to insert into other tables in DB2.The problem is in one table which has # appended in the column name.e.g.
    'abc#'.# charater is not supported in the wizard as the column name and that is why this error.I changed from backend and than tested i got the same error in the em.I need way to handle the columns have names like 'abc#'.
    Thanks

  • ARM approval error after upgrading to SP14: Database error while using the secure store.

    Dear GRC experts,
    After upgrading GRC 10 to SP14, assigning manual passwords during the approval of a request, the approval process is failing.
    Here is the scenario; your advice will be appreciated.
    Task: Manually assign passwords to multiple systems contained in the request
    Where: On the access request, go to “User System Details” tab
    Issue: After approving/submitting the request, the error “Database error while using the secure store” is generated
    Logs: Nothing on transactions SLG1 or ST22; however ST11 shows the error attached below:
    This is the failed approval of the request:
    Other scenarios executed as a workaround, and passed the password assignment this time:
    The approval will work if only one password is assigned to any of the given systems. The rest of the systems get an auto-generated
    password.
    ARM also accepts multiple passwords when the requestor assigns passwords on the “User System Details” prior submitting a
    request. The GRC admin can approve once reached for system approval.
    AS FYI, “Confirm Password” is only required when creating the request but not on any other stage.
    System information:
      -Netweaver 7
      -GRCFND_A SP14
      -GRCPINW SP13
    Regards,
    Gustavo

    SAP just delivered a note to fix this issue. The number is 2022294.

  • Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

    I'm trying to migrate a Sql Server 2k database to an Oracle 8i schema using OMWB. After using BCP to collect metadata information on the source database, I tried to capture the source data model and got a "Capture aborted" message on the progress screen (even though then it appears a dialog window reporting "0 errors and 0 warnings", funny!). Down there is the error log OMWB generated. After reading some posts, I changed some columns of the OMWB dictionary that holds the source database name, but still got the same error. If someone can enlighten me on this toppic, I'd greatly appreciated it.
    Here's the error log of OMWB:
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: D:\Datos\Download\Oracle\Oracle Migration Workbench\omwb
    ** user language: es
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows 2000
    ** o.s. version: 5.0
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Fri Feb 23 17:18:48 GMT-03:00 2007
    ** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@ServerCms:1521:sigcewbc
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 7.0 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : SQLServer2K
    EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
    ** Shutdown : Fri Feb 23 18:00:50 GMT-03:00 2007

    Duplicate thread
    Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

  • Error when using findbykey method

    hi am having this error when using below method cannot assign of type sms1405.common.agrROW TO variable of type oracle.jbo.row[]. type 'oracle.jbo.row[]' excepected but 'sms1405.common.agRROW' found the error is in this line agrRows = (AGRRow)agrRows[0]; the methos is
    am using this sample
    http://amulyamishras-tech-blog.blogspot.com/2011/01/viewobject-getrow-vs-findbykey.html
    where does EmpVORow in EmpVORow empRow =
    (EmpVORow)EmpVO.getRow(key); define from above sample
    where does EmpVO from EmpVORow empRow =
    (EmpVORow)EmpVO.getRow(key); define from above sample
    am in Jdeveloper 11.1.2.1.0
    Edited by: Tshifhiwa on 2012/07/03 4:36 PM

    Man, you should be able to find this out your self by now!
    Hint: there is one 's' too much in the line you get the error (i guess cut & past error)
    Try to understand the code you copied!
    Timo

  • Oracle giving Block corruption errors when using CDC for sending the data to SQL Server 2012

    Hello Friends,
    We are facing an error while using CDC with Oracle. It is a "Block corruption" error, which indicates at some level of data corruption. We ran RMAN validate command to scan the database for corruption but it returned with no errors, however he
    Alert Log in Oracle is still coming up with the following error. Has anyone experienced this error when using Oracle Standard Edition and SQL 2012 ?
    Trace file e:\app\pulse-ad\diag\rdbms\orcl\orcl\trace\orcl_ora_5992.trc
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU                 : 4 - type 8664, 4 Physical Cores
    Process Affinity    : 0x0000000000000000
    Memory (Avail/Total): Ph:6782M/24575M, Ph+PgF:12203M/30844M
    Instance name: orcl
    Redo thread mounted by this instance: 1
    Oracle process number: 151
    Windows thread id: 5992, image: ORACLE.EXE (SHAD)
    *** 2013-12-12 03:04:33.655
    *** SESSION ID:(1281.3832) 2013-12-12 03:04:33.655
    *** CLIENT ID:() 2013-12-12 03:04:33.655
    *** SERVICE NAME:(orcl) 2013-12-12 03:04:33.655
    *** MODULE NAME:(xdbcdcsvc.exe) 2013-12-12 03:04:33.655
    *** ACTION NAME:() 2013-12-12 03:04:33.655
    Lost-write detected for sequence 70856. The lost-write starts occurring in block 11193. The current block being validating is 12930.
    Block dump of the first lost-write block:
    Flag: 0x1 Format: 0x22 Block: 0x00002bb9 Seq: 0x000114bf Beg: 0x94 Cks:0x68ee
    Dump of memory from 0x0000000598D06C00 to 0x0000000598D06E00
    598D06C00 00002201 00002BB9 000114BF 68EE8094  [."...+.........h]
    598D06C10 00085BF1 0023BDA1 000DE19C 000DE19C  [.[....#.........]
    598D06C20 0000000C 00000000 2209160A 5BF10000  [..........."...[]
    598D06C30 3EB10502 00C0F5CA 0031BDA1 00010205  [...>......1.....]
    598D06C40 02B22C6A 038A6D69 00000001 00000000  [j,..im..........]
    598D06C50 4D554407 30373230 35BB0206 001100AE  [.DUM0270...5....]
    598D06C60 0001040A 000D000E 038A6D69 56B25735  [........im..5W.V]
    598D06C70 729C0003 E19C0001 000C0006 000D0006  [...r............]
    598D06C80 02BB0502 00C0F5CD 0023BDA1 000A0002  [..........#.....]
    598D06C90 00C00013 000000D0 00030201 56B25736  [............6W.V]
    598D06CA0 03890001 00000000 00000000 002E0105  [................]
    598D06CB0 FFFF0003 00C0F5CD 56B25736 3EB10003  [........6W.V...>]
    598D06CC0 FFFF0024 0014000C 000C0018 00120014  [$...............]
    598D06CD0 09CC0058 E75B0022 0009000F 00085BF1  [X...".[......[..]
    598D06CE0 0024BDA1 000DE19D 000DE19D 0000000C  [..$.............]
    598D06CF0 00000000 2309160A 5BF10000 3EB10502  [.......#...[...>]
    598D06D00 00C0F5CD 0020BDA1 00010205 02B22C72  [...... .....r,..]
    598D06D10 03900974 00000019 00000000 3030300A  [t............000]
    598D06D20 33303030 06323132 AE35BB02 0B441100  [0003212...5...D.]
    598D06D30 0001040A 000D000E 03900974 56B25736  [........t...6W.V]
    598D06D40 729C0003 E19D0011 000C0006 000D0006  [...r............]
    598D06D50 02BB0502 00C0F5CD 0024BDA1 00EA0002  [..........$.....]
    598D06D60 00270016 000001FC 00032C01 56B25736  [..'......,..6W.V]
    598D06D70 00000001 00000000 30393007 002E0105  [.........090....]
    598D06D80 FFFF0003 00C0F5CD 56B25736 00000003  [........6W.V....]
    598D06D90 FFFF0025 00140052 000C0018 00070035  [%...R.......5...]
    598D06DA0 0003000A 00070003 0001001D 00030001  [................]
    598D06DB0 00010001 00010001 00010001 00010001  [................]
    598D06DC0 00010001 00010001 00010001 00010001  [................]
    598D06DD0 00010001 00000001 00010001 00010001  [................]
    598D06DE0 00010001 00000014 09720174 00000022  [........t.r."...]
    598D06DF0 0009000F 00085BF1 0025BDA1 000DE19A  [.....[....%.....]
    Block dump of the current block being validating:
    Flag: 0x1 Format: 0x22 Block: 0x00003282 Seq: 0x000114c8 Beg: 0x0 Cks:0x312a
    Dump of memory from 0x0000000598DDFE00 to 0x0000000598DE0000
    598DDFE00 00002201 00003282 000114C8 312A8000  [."...2........*1]
    598DDFE10 50424703 31303607 34353335 69745319  [.GBP.6015354.Sti]
    598DDFE20 6E696C72 72502067 6375646F 4C207374  [rling Products L]
    598DDFE30 4E206474 C3025650 0380013D 0457454E  [td NPV..=...NEW.]
    598DDFE40 4E1E09C2 1E09C204 10C2024E 1E09C204  [...N....N.......]
    598DDFE50 09C2044E C2024E1E 03C30510 021B0929  [N....N......)...]
    598DDFE60 C3053DC3 0F192602 2602C305 C3050F19  [.=...&.....&....]
    598DDFE70 0C1A6203 5102C105 C2041F4E 044E1E09  [.b.....QN.....N.]
    598DDFE80 4E1E09C2 0410C202 4E1E09C2 1E09C204  [...N.......N....]
    598DDFE90 10C2024E 2903C305 78071B09 011D0B71  [N......)...xq...]
    598DDFEA0 BF020101 1FBF0215 4E018001 53014E01  [...........N.N.S]
    598DDFEB0 0723002C 0B0C7178 0A3C3C18 30303030  [,.#.xq...<<.0000]
    598DDFEC0 33373030 4D033337 47034255 36075042  [007373.MUB.GBP.6]
    598DDFED0 38333936 4E113331 2065776B 74616C50  [693813.Nkwe Plat]
    598DDFEE0 6D756E69 56504E20 0B0AC303 4E038001  [inum NPV.......N]
    598DDFEF0 C2045745 0459512E 59512EC2 5253C203  [EW...QY...QY..SR]
    598DDFF00 512EC204 2EC20459 C2035951 C3055253  [...QY...QY..SR..]
    598DDFF10 1B092903 0B0AC303 3C04C305 C3053239  [.).........<92..]
    598DDFF20 32393C04 4F08C305 C105114F 1F4E5102  [.<92...OO....QN.]
    598DDFF30 512EC204 2EC20459 C2035951 C2045253  [...QY...QY..SR..]
    598DDFF40 0459512E 59512EC2 5253C203 2903C305  [.QY...QY..SR...)]
    598DDFF50 78071B09 01190A71 C0030101 C0034709  [...xq........G..]
    598DDFF60 8001330A 4E014E01 002C5301 71780723  [.3...N.N.S,.#.xq]
    598DDFF70 3C180B0C 30300A3C 30303030 33373337  [...<<.0000007373]
    598DDFF80 42554D03 50424703 31304207 344C5131  [.MUB.GBP.B011QL4]
    598DDFF90 6F725020 63657073 614A2074 206E6170  [ Prospect Japan ]
    598DDFFA0 646E7546 64724F20 44535520 30302E30  [Fund Ord USD0.00]
    598DDFFB0 04C30331 03800133 0557454E 5B1603C3  [1...3...NEW....[]
    598DDFFC0 03C30521 04215B16 1F4004C3 1603C305  [!....[!...@.....]
    598DDFFD0 C305215B 215B1603 4004C304 03C3051F  [[!....[!...@....]
    598DDFFE0 031B0929 043304C3 4D245AC2 245AC204  [).....3..Z$M..Z$]
    598DDFFF0 02C3054D 040A1A18 494002C1 1603C305  [M.........@I....]
    *** 2013-12-12 03:05:07.984
    ** LOGMINER WARNING - Invalidated 6 LCRs **
    Complete dump of first invalid START LCR follows:
    ++  LCR Dump Begin: 0x0000000532C004E0 - CANNOT_SUPPORT
         op: 255, Original op: 3, baseobjn: 0, objn: 233316, objv: 1
         DF: 0x00000002, DF2: 0x00000000, MF: 0x00000000, MF2: 0x00000000
         PF: 0x40000001, PF2: 0x00002000
         MergeFlag: 0x00, FilterFlag: 0x00
         Id: 0, iotPrimaryKeyCount: 3, numChgRec: 4
         NumCrSpilled: 0
         RedoThread#: 1, rba: 0x0114c8.0001c6ce.00d4
         scn: 0x0003.56b593be, xid: 0x0008.00c.00100d85, pxid: 0x0008.00c.00100d85
         ncol: 0newcount: 0, oldcount: 0
         LUBA: 0x3.c109c0.c.15.38f64
    Thanks
    Dee

    Hi Dee,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Mike Yin
    TechNet Community Support

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

  • Errors when querying against universe with DBlink tables

    Running XI 3.1
    DB1: MS SQL Server
    DB2: Oracle 11g
    Universe created on DB2 has linked tables from DB1.
    I created a view as Select * from table@DB1
    Using Webi Rich Client: successful query results
    Using Webi Lite: ORA-12154 error: TNS:could not resolve the connect identifier specified
    Using Deski: ORA-01002: fetch out of sequence. ORA-02063: preceding line from DBlink_name
    I've tried numerous array fetch size parameters but Deski still has that error message. Is there a different way to fetch data from a DBLink table? Why no errors when using Webi Rich? when creating universe against DBlink tables
    Thanks

    In our environemnt, we have encountered ORA-4030 and ORA-4031 in the past in one particular windows server. What i remember from that is , a single process in windows will be limited to use 2Gb of memory(irrespective of how much you allocate and how much RAM the server has). All the oracle user and server processes in windows has to get their share from this 2Gb allocated to a single process called oracle.exe. There is some way to extend this 2Gb limit to 3Gb or 4Gb by enabling a switch on some windows config file. You can easily get that by google.
    Check the memory used by oracle.exe in 10g server's task manager.
    Next, you may need to reduce SGA size... to give more room for user processes. You may investigate on these lines.

  • Photoshop CS4 "Program Error" when using Text tool

    Hello. I was having problems with Photoshop displaying a "Program Error" every so often, so I deleted the preference file and all seemed good. But after deleting the preference file for my Photoshop CS4 and re-launching Photoshop, the text tool causes Photoshop to display a Program Error when using the tool. It never did this before. Should I reinstall Photoshop? I am using a Powermac G5 running 10.5.8. I have already tried repairing the disk permissions.
    Thanks

    Thats kinda what I thought too, but the problem started happening randomly. It started when we were trying to use photomerge with large photos. The program just started giving the program errors. I still think it may be a font problem, but without going through my 2000+ fonts and disabling them one by one, how can I resolve this issue?
    Thanks

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

  • Syntax error when creating a user-defined table type in SQL Server 2012

    Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
    CREATE TYPE ReportsTableType AS TABLE 
    ( reportId INT
    , questionId INT
    , questionOrder INT );
    Results:
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'AS'.

    Hope these posts could help, 
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
    Regards, Dineshkumar,
    Please Mark as Answer if my post answers your question and
    Vote as Helpful if it helps you

  • "Index: 0, Size: 0" error when using lexical references

    I got "Index: 0, Size: 0" when using lexical references in data template. Can any body tell me what happen? The detail error is:
    [042308_084608187][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, S
    ize: 0
    at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492
    at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
    at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(Dat
    aTemplateParser.java:1802)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:329
    at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:2
    84)
    at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:271)
    at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:213)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:252)
    at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProc
    essor.java:390)
    at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.ja
    va:355)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataP
    rocessor(AdvancedQueryBoundValue11.java:212)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(
    AdvancedQueryBoundValue11.java:101)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportC
    ontextImplV11.java:399)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:143)

    Here is the data template, the lexical reference is &where_clause, thanks.
    <dataTemplate name="Tamplate" dataSourceRef="dmdb" defaultPackage="RRBY_PKG">
         <properties>
              <property name="debug_mode" value="on"/>
         </properties>
         <parameters>
                   <parameter name="BUName" dataType="character"/>
              <parameter name="StartDate" dataType="date"/>
              <parameter name="EndDate" dataType="date"/>
         </parameters>
    <dataTrigger name="beforeReport" source="RRBY_PKG.dynamic_where(BUName =&gt; :BUName)"/>
         <dataQuery>
         <sqlstatement name="GroupByAgent">
                   <![CDATA[SELECT
      NVL(businessunit.name, 'Unassigned') UNITNAME,
      queue.name QUEUENAME,
      NVL2(businessunit.name, 'Unassigned', businessunit.name || ': ' || queue.name) FULLQUEUENAME,
      COUNT(queueEvent.requestNumber) REQNUM
    FROM((((queueevent queueevent
    INNER JOIN assignment assignment ON queueevent.assignmentkey = assignment.assignmentkey)
    INNER JOIN datedim datedim ON queueevent.datekey = datedim.datekey)
    INNER JOIN businessunit businessunit ON queueevent.businessunitkey = businessunit.businessunitkey)
    INNER JOIN queue queue ON queueevent.forwardedqueuekey = queue.queuekey)
    INNER JOIN timedim timedim ON queueevent.timekey = timedim.timekey
    WHERE dateDim.FULLDATE >= TO_DATE(:StartDate, 'yyyy-mm-dd')
    AND BW_COMMON_DATEADD('s', timeDim.SECONDOFDAY, BW_COMMON_DATEADD('s', queueEvent.EVENTDURATION, dateDim.FULLDATE)) > TO_DATE(:StartDate, 'yyyy-mm-dd')
    AND BW_COMMON_DATEADD('s', timeDim.SECONDOFDAY, BW_COMMON_DATEADD('s', queueEvent.EVENTDURATION, dateDim.FULLDATE)) &lt; TO_DATE(:EndDate, 'yyyy-mm-dd') AND &where_clause
    group by businessunit.name, queue.name]]>
              </sqlstatement>
         </dataQuery>
    </dataTemplate>

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

Maybe you are looking for

  • JWS can't find dependent native library

    Hi, my JNLP file contains the following snippet <resources os="Windows"> <nativelib href="lib/windows/corelib.jar"/> </resources> where corelib.jar contains several DLL files. The first DLL depends on others contained in the same jar file. Lauching t

  • Installing Windows 7 on an external harddrive, through a...

    If i take an external drive that had windows 7 installed on it successfully through another windows 7 laptop, can i take that drive and connect it to my mac pro? will boot camp and the mac pro let it boot up at least?  so that i can then run the .exe

  • Windows XP SP2 Crash at end of CD Burn

    I have a home built PC running Windows XP SP2 with the following components: Asus P4C800-E Deluxe Motherboard (latest bios) Pentium 4 3.0 Ghz Processor 2 gig of DDR ram Two Raid 0 arrays (1 for operating system, 1 for my files) Plextor PX-716-A CD/DV

  • SCSM's Allowed List for SCOM CI Connector not working as expected

    Hi Everyone, We're running into some unexpected behavior with the SCOM CI Connector, wondering if anyone can shed some light on it.  Our requirement is to ensure Distributed Applications are not sync'd from SCOM to SCSM (hence, they don't show up in

  • I am applying an update and it seems to not be connecting to the update server. it just keeps thinking....

    So an update popped up, I hit yes and then it said it recommended that I apply the update as soon as possible. I hit the apply button and now its just the window saying connecting to the update server with the green bar..... but its been that way for