Oracle report function error..........

Dear
i am using oracle report 6i and database 10g. my function is below---
function CF_ITEMFormula return VARCHAR2 is
v_item varchar2(30);
V_1 VARCHAR2(20);
begin
          SELECT      DISTINCT B.ITEM_CODE,(SELECT WE.WIP_ENTITY_NAME FROM APPS.WIP_ENTITIES WE WHERE WE.WIP_ENTITY_ID=B.CHILD_WIP_ID)
          INTO           V_ITEM ,v_1
          FROM           WEBSUPP.ELE_WIP_EXPLOED_DTL A,
                              WEBSUPP.ELE_WIP_EXPLOED_DTL B
          WHERE      B.AUTO_NUMBER = 1
          AND           B.CHILD_WIP_ID IS NOT NULL
          AND           B.CHILD_WIP_ID = A.PRIMARY_WIP_ID
          AND           A.ITEM_CODE = :ITEM_CODE_1;
IF :ITEM_CODE1 IS NULL THEN
     RETURN V_ITEM;
ELSE
     RETURN :ITEM_CODE1;
END IF;
EXCEPTION
     WHEN OTHERS THEN RETURN :ITEM_CODE1;      
end;
but it gives following error...
Encounter the symbol SELECT when expecting....
pls solve...
PS

Try this also:
FUNCTION cf_itemformula RETURN VARCHAR2 IS
   v_item varchar2(30);
   v_1 VARCHAR2(20);
begin
   SELECT DISTINCT B.ITEM_CODE,WE.WIP_ENTITY_NAME
   INTO v_item ,v_1
   FROM WEBSUPP.ELE_WIP_EXPLOED_DTL A,
   WEBSUPP.ELE_WIP_EXPLOED_DTL B,
   APPS.WIP_ENTITIES WE
   WHERE B.AUTO_NUMBER = 1
   AND B.CHILD_WIP_ID IS NOT NULL
   AND B.CHILD_WIP_ID = A.PRIMARY_WIP_ID
   AND NVL(A.ITEM_CODE,'*') = NVL(:ITEM_CODE_1,'*')
   AND WE.WIP_ENTITY_ID=B.CHILD_WIP_ID
   AND ROWNUM = 1;
   IF :ITEM_CODE1 IS NULL
   THEN
      RETURN v_item;
   ELSE
      RETURN :ITEM_CODE1;
   END IF;
EXCEPTION
   WHEN OTHERS THEN
      RETURN :ITEM_CODE1;
END;Also I notice your "v_1" variable is not used at all except to receive the entity_name, but other than that is not being used, if it is not used then remove it as follows:
FUNCTION cf_itemformula RETURN VARCHAR2 IS
   v_item varchar2(30);
begin
   SELECT DISTINCT B.ITEM_CODE
   INTO v_item
   FROM WEBSUPP.ELE_WIP_EXPLOED_DTL A,
   WEBSUPP.ELE_WIP_EXPLOED_DTL B
   WHERE B.AUTO_NUMBER = 1
   AND B.CHILD_WIP_ID IS NOT NULL
   AND B.CHILD_WIP_ID = A.PRIMARY_WIP_ID
   AND NVL(A.ITEM_CODE,'*') = NVL(:ITEM_CODE_1,'*')
   AND ROWNUM = 1;
   IF :ITEM_CODE1 IS NULL
   THEN
      RETURN v_item;
   ELSE
      RETURN :ITEM_CODE1;
   END IF;
EXCEPTION
   WHEN OTHERS THEN
      RETURN :ITEM_CODE1;
END;Let me know if this helps.
Thanks!

Similar Messages

  • OLE DB provider 'OraOLEDB.Oracle' reported an error The provider did not gi

    Hi, I've setup oracle client tools on a windows server that runs sql server 7
    tnsping works as well as the client tool test feature on my sid.
    However, I can't seem to use it from SQL Server. I've installed and uninstalled the client tools many times, I'm beginning to think perhaps I installed the wrong package. Weird thing is there is no Listener listed in Windows Services, yet the listener I setup is working.
    I enabled the allow in process property of both the MSADAORA and Oracle OLE drivers from SQL Server, help!!
    SELECT * FROM OPENQUERY(ORACLE_MIRROR, 'select count(1) from dual')
    RESULTS IN:
    Server: Msg 7399, Level 16, State 1, Line 1
    OLE DB provider 'MSDAORA' reported an error.
    [OLE/DB provider returned message: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.]
    OLE DB error trace [OLE/DB Provider 'MSDAORA' IDBInitialize::Initialize returned 0x80004005:   ].
    THIS IS AFTER I HAVE INSTALLED THE ORACLE 10.2 CLIENT TOOLS AND SETUP A LISTENER AND TESTED SIDS OK.
    UTILIZING THE ORACLE OLE DRIVER IN THE LINKED SERVER I GET THIS ERROR:
    Server: Msg 7399, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' reported an error. The provider did not give any information about the error.
    OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IDBInitialize::Initialize returned 0x80004005:  The provider did not give any information about the e                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The MS OLEDB for Oracle was built some time ago and requires an older SQL*Net version:
    OLE/DB provider returned message: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    => see Oracle Version V7.3.3 ... but you have installed V10; so the OLEDB driver from MS tries to locate old SQL*Net client library files which are not available in your installation anymore.
    So best would be to use the Oracle OLEDB driver coming with the SQL*Net client you have installed.
    As you mentioned this causes a different error:
    Server: Msg 7399, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' reported an error. The provider did not give any information about the error.
    OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IDBInitialize::Initialize returned 0x80004005: The provider did not give any information about the e
    This error is related to the OLEDB process running by default in "out-of-process" mode which doesn't work with Oracle OLEDB driver. By setting a key in the registry under SQL Server this can be changed to run in-process (the default) the provider will work:
         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Providers\ORAOLEDB.ORACLE
    Change the value of the key "AllowInProcess" under the "OraOLEDB.Oracle" folder
    to a hexadeciaml value of 1.
    If the key does not exist create it as a new DWORD value.
    See also:
    Article-ID:         Note 260775.1
    Title:              ORA-12560 Attempting to Query the Oracle Database from
                        Microsoft SQL Server's SQL Query Analyzer Using the Oracle
                        Provider for OLE DB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Report generation Toolkit: Excel report functions error -2146827284

    Hi,
    I'm trying to create an automated report using excel functions from the report generation toolkit in labVIEW. When I run the program that generates the report first time round (the report consists of several worksheets, each worksheet is added onto the report at a diffferent state in a state machine) it always works fine and no error is generated. However, when I run the program again it will infrequently (sometimes it does, other times it will not) generate the undefined error -2146827284, this is coming from one of the excel report functions and it cannot find it on highlight execution mode.
    Does anyone know anything about this error, why it occurs, how to prevent it?
    I would appreciate any help.
    Thanks,
    Rowan

    mebels_cti wrote:
    Found something that helped; https://forums.ni.com/t5/LabVIEW/Error-code-quot-2146827284-quot-when-trying-to-open-an-Excel/m-p/20...
    Excel still open
    So I added this;
    You should use the Application Quit method instead of killing the task. I doubt this is the cause of your issue.
    Ben64

  • Oracle reports 6i error unable to communicate with the reports server

    Hi,
    I have followed the steps for running oracle reports server 6i..i am using win2k3 and IIS6.0
    i have checked tnsnames.ora and sqlnet.ora and everything looks good..
    when i try
    http://localhost/cgi-bin/rwcgi60.exe
    i get a page called User Database Authentication and asks for username,password and database..instead of the help page that should be displayed..
    when i enter those values nothing happens for the first time and the same page is displayed again..when i enter it again i am getting this error
    url requested not found or cannot be served at this time
    oracle reports cgi: unable to communicate with the reports server
    any help would be grateful..
    Thanks.

    Hi,
    I just found out that if i give
    http://localhost/cgi-bin/rwcgi60.exe?key1
    where key1 is a key mapping file that contains the report name,username and pwd for the database and desformat...etc..
    the report pulls out fine with the correct data..
    i am stunned...
    while none of the other commands like
    http://.../rwcgi60.exe
    or
    http://..../showenv?server=repserver
    or any other usual command doesnt work...
    anybody faced this before??
    Thanks.

  • Oracle Reports 10g Error Codes Details

    Hi,
    I would like to know which documentation will give me the details for the description and category (Warning/Fatal Error/User Error) for all the possible error codes that can be reported by Oracle 10g while the excution/scheduling of reports.
    The error code reported by Oracle 10g usually start with "REP-<error code>". I would like to have a list of all these REP codes and their details like description,category,severity,action to be taken etc.
    Pls help.
    regards,
    Santa

    Hello,
    All the error messages are documented in the Reports Builder online help.
    Regards

  • Adding a field to an sql statement in Oracle Reports error ORA-00933

    We have been requested to add a field that already exists in the table referred to by the sql statement in Oracle Reports Builder. The report was set up by a consultant about 3 yrs ago and we don't really have much skill in this area. What is happening when I try to modify the SQL statement, either adding a field or deleting a field to the SELECT statement, causes an error message preventing the statement from being saved. The only way out of the error message is to click Cancel. The error message is
    ORA-00933:SQL command not properly ended
    ORDER BY Program ==> NAME
    Even adding or deleting a space anywhere in the SQL statement causes the error (not adding any new fields). A coworker found that if we comment out the ORDER BY, the statement will accept the new field in the SELECT section, however then we lose the order by functionality. I would like to add one additional field before the FROM. Not sure if any additional data are needed. Thank you.
    SELECT p.person_uid PIDM_KEY, p.id_number ID,
                   p.full_name_lfmi name,            
                    p.BIRTH_DATE, p.GENDER Sex,
                    Decode(a.residency,'D',p.Primary_ethnicity,'F')  Ethn,
                    a.academic_period TERM,        
                    CASE WHEN :p_group_by = 'PROGRAM' THEN a.program
                                 ELSE ' '
                    END AS Program,
                    a.COLLEGE, a.degree, a.major, ' ' rule,
                    a.STUDENT_POPULATION,a.STUDENT_LEVEL,    a.application_status Status,  a.application_status_date app_sts_dte,
                    ad.decision_date1 Last_Dec_Date,
                    ad.decision1||' '||ad.decision2||' '|| ad.decision3||' '|| ad.decision4||' '|| ad.decision5 Decisions,
                    /*  Deposit Date uses the last term entered in :p_term parameter string */
                    (SELECT MAX(deposit_effective_date) FROM usf_as_deposit WHERE account_uid = a.person_uid &term_clause group by account_uid)   AS "DEPOSIT DATE",     
                    ph.phone as PHONE,
                    CASE WHEN PS.FIRST_CONTACT IN ('NET','PAP','COM','COP') THEN PS.First_Contact
                     ELSE CASE WHEN ps.latest_contact IN ('NET','PAP','COM','COP') THEN PS.Latest_Contact
                                ELSE '  '
                                END
                    END AS FIRST_CONTACT,
                    DECODE(:p_address,'Y',REPLACE(adr.street1||' '||adr.street2||' '||adr.street3||' '||adr.city||','||adr.state||' '||adr.nation||' '||adr.zip,'  ',' '),' ') as  address, adr.nation, adr.state,
                    goremal_email_address email, a.residency, a.application_date, p.primary_ethnicity, c.cohort
    FROM MST_ADMISSIONS_APPLICATION A,
               MST_PERSON p,mst_pre_student PS,  Admissions_Cohort c, usf_v_phone_pr_ma ph,
               MST_admissions_decision_slot AD, usf_v_email, usf_v_address_dr_lr_ma_pr adr
    WHERE a.PERSON_UID = p.person_uid
            AND a.curriculum_priority  = 1
            AND a.person_uid = ps.person_uid
           AND a.person_uid = ad.person_Uid(+)
           AND a.person_uid = goremal_pidm(+)
           AND a.person_uid = adr.pidm(+)
           AND a.person_uid = ph.pidm(+)
           AND ph.rnum(+) = 1
           AND a.person_uid = c.person_uid(+)
           AND a.academic_period = c.academic_period(+)
      &Where_Clause
           /*    TAKE OUT FOLLOWING LINE AFTER DATA IS CLEANED UP  */
            AND NOT(p.id_number = '00000000'   OR SUBSTR(p.id_number,1,1) = 'B'  OR UPPER(p.full_name_lfmi)  LIKE '%TESTING%')
           AND  a.application_status_date >= NVL(:p_as_of_date,sysdate-8000)
           AND a.academic_period = ad.academic_period(+)
            AND a.application_number = ad.application_number(+)
            AND a.degree <> 'ND'    /*   AND a.college <> 'LW'                         --  Does not need non-degree and law students    */
           &Cohort_Clause 
    ORDER BY Program  &ORDER_CLAUSE

    Hi Denis,
    I tried your suggestion. The good thing is that adding the comma allowed me to be able to add a.campus to the select statement, unfortunately, another error message happened.
    ORA-00936: missing expression SELECT p . person_uid PIDM_KEY ,
    p . id_number , p . full_name_lfmi name , p . BIRTH_DATE , p . GENDER Sex ,
    Decode ( a . residency , 'D' , p . Primary_Ethnicity , 'F' ) Ethn , a . academic_period TERM ,
    CASE WHEN : P_group_by = 'PROGRAM THEN a I started over and tried only putting in the comma and get the same message even though I didn't add campus. After that, removed the comma which led to the ORA-00933 error message. So once again, I had to close the file without saving, in order for the report to run at all.

  • Oracle Reports : Run time error when there is a call to DBMS_LOB package

    I am facing a strange issue, please do share if you have some inputs. When I try running the compiled RDF report(Generating XML to be specific), Oracle Reports Builder crashes when I make use of the following formula function. Strangely, this works fine in the backend. Moreover I tried debugging and by trial and error method found out that, when there is a call to the DMBS_LOB package it errors (works fine when this is commented). Please do let me know whats the root cause of this issue. Thanks in advance
    function CF_ClientSignatureFormula return VARCHAR2 is
    file_name BFILE;
    dir_name VARCHAR2(100);
    dest_file_name VARCHAR2(100);
    dest_path VARCHAR2(400);
    begin
         SELECT client_signature
              INTO file_name
              FROM xxfpr.fpr_rcp_bank_details frb,
              Xxfpr. fpr_rcp_gtn_rpt_map frm
              WHERE frb.record_id = frm.bank_record_id
              AND frm.gtn_request_id = :p_gtn_request_id;
    SYS.DBMS_LOB.filegetname(file_name,dir_name,dest_file_name);
    SELECT directory_path INTO dest_path FROM all_directories where directory_name = dir_name;
    dest_path := dest_path || '/' || dest_file_name;
    return dest_path;
    EXCEPTION
         WHEN OTHERS THEN
              RETURN NULL;
    end;
    Thanks,
    NirmalGeo

    And what version of Reports are you using?
    BFILES are accessible from the database, not the client (Reports). So, put your code in the database.

  • Oracle Report Error (string buffer too small) in Portal

    Hi,
    I have registered an oracle report (.rdf) with portal which works fine outside in Reports Builder, but when I try to run it in Portal it keeps throwing this error:
    SQL-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "PORTAL.WWV_RW_USR", line 444
    ORA-06512: at "PORTAL.WWV_RW_USR", line 923
    ORA-06512: at line 1
    Anyone know what needs to be done to fix this?
    Thanks

    Sean:
    Thank you very much for wading through my post.
    >"if (NIerror = DAQmxCfgInputBuffer(h, numSamples*4))"
    >I would leave this line out. DAQmx should create an input buffer automatically
    >based on the number of channels and number of samples per channel.
    Yeah- I put that in trying to fix the problem. The error message doesn't say *which* buffer is too small
    >If you just call the DAQmxReadDigitalLines() function with "numSampsPerChan" set to -1,
    >DAQmx will wait until all samples are acquired before performing the read.
    I'm trying to avoid the wait. That's why I'm trying to figure out how many samples are ready.
    I suppose I can try numSampsPerChan=-1, set a short timeout and check for the timeout error.
    >If this does not help, please send me a small section of code that reproduces that behavior,
    >and I will try running it on my machine.
    I will try modifying one of the examples to do what I'm trying to do.
    Again, Thank you!
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • Oracle.xdo.parser.v2.XPathException: Extension function error: Method not f

    Hi,
    I receive this error when I try to view xml from xml publisher template.
    Anybody can help to shed me some lights what to check ? I'm newbie.
    It does contain barcode font. I can view other xml template just fine ( other report )
    and I can view barcode font just fine.
    Only that I'm having error on this new template having barcode font and some query.
    Not sure what's wrong here.
    Thanks.
    Font Dir: C:\Program Files\Oracle\XML Publisher\Template Builder\fonts
    Run XDO Start
    setLocale: en
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:580)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:378)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:197)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:178)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1507)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
         at RTF2PDF.runRTFto(RTF2PDF.java:535)
         at RTF2PDF.runXDO(RTF2PDF.java:423)
         at RTF2PDF.main(RTF2PDF.java:217)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'foreach_number'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 15 more

    Hi Vetsrini, Thank you for your response.
    1. I checked the values in the xml and found no nulls. I see all 0 or non-zero numbers.
    2. Following MetaLink Doc ID 362496.1, I find:
    - PDF Producer: PDF file properties shows PDF Producer "Oracle XML Publisher 5.6.3"
    - AD_BUGS SQL: The SQL results show that I have the 5.6.3 patch, but the SQL in the Doc only includes patch numbers up to 5.6.3. I'm not sure how I can find out the patch numbers of more recent patches, to see if i have those.
    - File version of the MetaInfo.class: $Header MetaInfo.java 115.28 2006/08/17 01:24:59 bgkim noship $
    What is the latest XDO patch? I can't find anything newer than what I have in MetaLink, but I probably am missing something...

  • Oracle Report Error:

    Good morning, All:
    I am having to do a quick turn and burn on the use of the Oracle Report Bulder 10g with no prior experience. I am a Crystal Reports and somewhat Cosnos user. I have found the Oracle Report Builder to be pretty easy application to learn and use for fast wizard based reports.
    My problem is this:
    Program ==>Run Web Layout
    And within a Internet Exployer 7 window I get the following:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\Documents and Settings\Administrator\Local Settings\Temp\docroot\3003\default\defaultWebApp\persistence\_pages\\_MODULE1001603516.java
    javac: invalid flag: C:\\Documents
    Usage: javac 
    where possible options include:
      -g                        Generate all debugging info
      -g:none                   Generate no debugging info
      -g:{lines,vars,source}    Generate only some debugging info
      -nowarn                   Generate no warnings
      -verbose                  Output messages about what the compiler is doing
      -deprecation              Output source locations where deprecated APIs are used
      -classpath          Specify where to find user class files
      -sourcepath         Specify where to find input source files
      -bootclasspath      Override location of bootstrap class files
      -extdirs            Override location of installed extensions
      -d             Specify where to place generated class files
      -encoding       Specify character encoding used by source files
      -source          Provide source compatibility with specified release
      -target          Generate class files for specific VM version
      -help                     Print a synopsis of standard optionsPlease advise and redirect.
    Preston@large

    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.
    Ignore my previous suggestion (removing objects), check the following:
    Is there any library attached to this report (pll/plx)?
    <pre>
    1. If yes, then
    -check if library exists on the linux server and preferably in the same folder with reports
    -recompile the library
    -open rdf file and remove the library
    -attach the library again, and make sure you remove the path
    -copy the library and report file on linux and run the report
    2. If no (no library is attached), then
    -are there any database package/function/procedure are being used in the report?
    -if yes, then
    -check the status of that package/function/procedure
    </pre>
    Hope this helps.
    Edited by: fs on Nov 24, 2009 1:21 PM

  • Sum function do not work in oracle reports enhanced spreadsheet format

    we are using oracle reports 10.1.2.3 in our oracle application server 10gr2 and we are creating enhanced spreed sheet.And the report opens in MS excel fine.But we can not apply any formula like VALUE,SUM,AVG on that report after opening it into excel.First we thought that it may be because of the comma in the number filed.we removed that comma from the filed but t still gives the error "Error in value"

    Hi,
    I hope you already solved this problem, I had the same issue after spending an hour I found the workaround, this is just for the guys who experience the same issue. Try to format your number columns either at database level(not via Report builder property palette) with TO_CHAR(...) OR use this Format Mask at Report level to format your numbers -NNNGNNNGNN0D000(negative sign must be there to avoid space in output Excel).
    Hope it helps,
    Regards,
    Syed Khawar

  • Oracle Reports - Multi lingual pdf - jvm error

    Hi all,
    We are trying to develop a multilingual pdf report in oracle reports 9i. When we do font subsetting or embedding we get the error:
    stackpointer=3bb03200
    JVMXM004: JVM is performing abort shutdown sequence
    this error is consistent for font embedding, but for subsetting this error comes randomly. We are unable to find out any pattern of the error. Can any one pls give us an update on this.

    1) Please try in latest patchset 9.0.2.3
    2) There is recently a very similar bug logged on the issue by a customer ( do not know whether it is by you :-))
    BUG 3880762 - REPORTS ENGINE CRASHES WHEN GENERATING LARGE PDF SUBSETTING OUTPUT
    (Not yet fixed, this bug in initial description phase)
    (It gives same error)
    If this is critical to you then can try getting in touch with Support to escalate the priority of the bug.
    (First confirm with support whether it is the same issue)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Error in running oracle report on APPS due to print style

    Hi
    i have an oracle report which displays about 550 rows of data...When i try to run it with oracle apps i selelect landwide but i get an error as the defined style can not print that much amount of rows.Is there any toher style which prints this many amount of rows or i have to create a new print style.
    thanks
    isha
    Edited by: 791666 on Aug 30, 2010 8:33 AM

    Please tell us about your product, version and Application Server type. You may also want to note that Oracle Apps is different from Oracle Application Server .
    Also intriguing is the error you report. Where and what exact error do you get? Error codes/messages need to be reported exactly (not paraphrased).
    Was that in displaying the info or in printing it to a printer?

  • Error in job execution in oracle reports

    Hi,
    The end user is getting the following error when executing a job in Oracle reports.
    " RWCGI GET JOB OUTPUT
    Cannot get output of Job ID 4 you requested on December ,08 2008 , 11:35:18
    Job is not done yet .Try again later"
    Can you please help .PLEASE !!!

    Hi
    Metalink is reporting some similar errors, please see that:
    Cause
    SSO turned on for one component only, either Forms or Reports.
    This problem has been reported and is documented in an unpublished bug.
    Solution
    To take advantage of SSO, out-of-the-box, the SINGLESIGNON parameter in the
    rwservlet configuration file (rwservlet.properties) is set to YES to indicate
    that you will use single sign-on to authenticate users. You may change this to
    NO if you choose to not use single sign-on. If you choose NO, the Reports
    Server will use its own authentication mechanism to authenticate users (i.e.,
    the mechanism used in Reports6i). The rwservlet configuration file is usually
    found in the ORACLE_HOME\reports\conf directory. This value is usually
    commented out after installation however the default value is YES.
    This is the expected behavior. For the Forms/Reports integration, Forms will send
    to Reports thecurrent SSO user. However, with this particular configuration, you
    still log into SSO to run Reports. Thus, nexttime you run the form, you are logged
    into SSO and thus things work because Forms passes thatSSO user info to Reports.
    The way to not have the report run the 2nd time would be to log off of SSO when the first
    form was exited, but that defeats the purpose of SSO in the first place!
    So enable for Forms and Reports SSO or disable SSO for both.
    Read more on Doc ID:      Note:289666.1
    Subject:      REP-52251: Cannot Get Output Of Job Id
    Doc ID:      Note:289666.1
    Subject:      Understanding Reports Execution from Forms Under High Availability
    and
    Note 367887.1 - Rep-52251: Cannot Get Output Of Job Id You Requested, When Calling Reports From Forms

  • Concurrent Manager encountered an error while running Oracle*Report for you

    hi
    our team is running a report.but encountered
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_DELV_ID='8022'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: '': Fatal PL/SQL error occurred.
    Report Builder: Release 10.1.2.0.2 - Production on Mon Jun 21 11:26:16 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 451508.
    Review your concurrent request log and/or report output file for more detailed information.
    +---------------------------------------------------------------------------+
    Executing request completion options...
    +------------- 1) PUBLISH -------------+
    Beginning post-processing of request 451508 on node DEMO at 21-JUN-2010 11:26:17.
    Post-processing of request 451508 failed at 21-JUN-2010 11:26:17 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 21-JUN-2010 11:26:17
    +---------------------------------------------------------------------------+how to solve it?when i am searching in this error in cmctl log there is nothing for it.
    i have lnched a SR on this they told to run it by appsrwrun.sh.how to run this report by appsrwrun.sh??
    rgrds
    Edited by: new2appsdba on Jun 21, 2010 4:19 AM

    Hi,
    how do you suspect its a OPP related issue??what is OPP?
    Enter value for request_id: 451508
    old   5: AND fcpp.concurrent_request_id = &&request_id
    new   5: AND fcpp.concurrent_request_id = 451508
        REQ_ID NODE_NAME
    LOGFILE_NAME
        451508 DEMO
    /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/log/FNDOPP94508.txt
    [demoap@demo ~]$ vi /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/log/FNDOPP94508.txt
    [6/20/10 1:37:36 PM] [main] Starting GSF service with concurrent process id = 94508.
    [6/20/10 1:37:36 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [6/20/10 1:37:37 PM] [Thread-16] Service thread starting up.
    [6/20/10 1:37:37 PM] [Thread-15] Service thread starting up.
    [6/21/10 11:12:00 AM] [OPPServiceThread0] Post-processing request 451495.
    [6/21/10 11:12:00 AM] [94508:RT451495] Executing post-processing actions for request 451495.
    [6/21/10 11:12:00 AM] [94508:RT451495] Starting XML Publisher post-processing action.
    [6/21/10 11:12:00 AM] [94508:RT451495]
    Template code: WILPACKSLIP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 11:12:00 AM] [UNEXPECTED] [94508:RT451495] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451495.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 11:12:00 AM] [94508:RT451495] Completed post-processing actions for request 451495.
    [6/21/10 11:22:27 AM] [OPPServiceThread0] Post-processing request 451505.
    [6/21/10 11:22:27 AM] [94508:RT451505] Executing post-processing actions for request 451505.
    [6/21/10 11:22:27 AM] [94508:RT451505] Starting XML Publisher post-processing action.
    [6/21/10 11:22:27 AM] [94508:RT451505]
    Template code: WILPACKSLIP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 11:22:27 AM] [UNEXPECTED] [94508:RT451505] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451505.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 11:22:27 AM] [94508:RT451505] Completed post-processing actions for request 451505.
    [6/21/10 11:26:17 AM] [OPPServiceThread1] Post-processing request 451508.
    [6/21/10 11:26:17 AM] [94508:RT451508] Executing post-processing actions for request 451508.
    [6/21/10 11:26:17 AM] [94508:RT451508] Starting XML Publisher post-processing action.
    [6/21/10 11:26:17 AM] [94508:RT451508]
    Template code: WILPACKSLIP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 11:26:17 AM] [UNEXPECTED] [94508:RT451508] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451508.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
                                                                  at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 12:00:59 PM] [94508:RT451533] Completed post-processing actions for request 451533.
    [6/21/10 12:17:51 PM] [OPPServiceThread0] Post-processing request 451573.
    [6/21/10 12:17:51 PM] [94508:RT451573] Executing post-processing actions for request 451573.
    [6/21/10 12:17:51 PM] [94508:RT451573] Starting XML Publisher post-processing action.
    [6/21/10 12:17:51 PM] [94508:RT451573]
    Template code: XXWEBB_EXP_INV
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 12:17:51 PM] [UNEXPECTED] [94508:RT451573] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451573.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 12:17:51 PM] [94508:RT451573] Completed post-processing actions for request 451573.
    [6/21/10 12:19:19 PM] [OPPServiceThread0] Post-processing request 451577.
    [6/21/10 12:19:19 PM] [94508:RT451577] Executing post-processing actions for request 451577.
    [6/21/10 12:19:19 PM] [94508:RT451577] Starting XML Publisher post-processing action.
    [6/21/10 12:19:19 PM] [94508:RT451577]
    Template code: WILEXINVREP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [062110_121919525][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [062110_121919526][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [062110_121919526][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[US7ASCII]
    [062110_121919526][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[-1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [062110_121919526][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [062110_121919526][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=demo.webbindia.com)(PORT=1527)))(CONNECT_DATA=(SID=DEMO)))]
    [062110_121919527][][EXCEPTION] [DEBUG]  [RESP_ID]:[-1]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [062110_121919527][][EXCEPTION] [DEBUG]  [USER_ID]:[-1]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RR]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [062110_121919527][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[-1]
    [062110_121919528][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [062110_121919528][][EXCEPTION] [DEBUG]  [APPLTMP]:[/t01/demoap/inst/apps/DEMO_demo/appltmp]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [062110_121919528][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vm.version]:[1.5.0_08-b03]
    [062110_121919528][][EXCEPTION] [DEBUG]  [OVERRIDE_DBC]:[true]
    [062110_121919528][][EXCEPTION] [DEBUG]  [dbcfile]:[/t01/demoap/inst/apps/DEMO_demo/appl/fnd/12.0.0/secure/DEMO.dbc]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [062110_121919528][][EXCEPTION] [DEBUG]  [path.separator]:[:]
    [062110_121919528][][EXCEPTION] [DEBUG]  [APPLCSF]:[/t01/demoap/inst/apps/DEMO_demo/logs/appl/conc]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Server VM]
    [062110_121919528][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [062110_121919528][][EXCEPTION] [DEBUG]  [user.country]:[US]
    [062110_121919529][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[unknown]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [062110_121919529][][EXCEPTION] [DEBUG]  [user.dir]:[/t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/log]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.5.0_08-b03]
    [062110_121919529][][EXCEPTION] [DEBUG]  [CLIENT_PROCESSID]:[30369]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/endorsed]
    [062110_121919529][][EXCEPTION] [DEBUG]  [os.arch]:[i386]
    [062110_121919529][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[/t01/demoap/inst/apps/DEMO_demo/appl/fnd/12.0.0/secure/DEMO.dbc]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[/tmp]
    [062110_121919529][][EXCEPTION] [DEBUG]  [line.separator]:[
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [062110_121919529][][EXCEPTION] [DEBUG]  [os.name]:[Linux]
    [062110_121919529][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062110_121919530][][EXCEPTION] [DEBUG]  [cpid]:[94508]
    [062110_121919530][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[UTF-8]
    [062110_121919530][][EXCEPTION] [DEBUG]  [oracle.apps.fnd.common.Pool.leak.mode]:[stderr:off]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.library.path]:[/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386/server:/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386:/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/../lib/i386:/t01/demoap/apps/tech_st/10.1.3/lib32:/t01/demoap/apps/tech_st/10.1.3/lib:/t01/demoap/apps/apps_st/appl/cz/12.0.0/bin:/t01/demoap/apps/apps_st/appl/iby/12.0.0/bin:/t01/demoap/apps/apps_st/appl/pon/12.0.0/bin:/t01/demoap/apps/apps_st/appl/sht/12.0.0/lib]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.class.version]:[49.0]
    [062110_121919530][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Server Compiler]
    [062110_121919530][][EXCEPTION] [DEBUG]  [queue_appl_id]:[0]
    [062110_121919530][][EXCEPTION] [DEBUG]  [os.version]:[2.6.18-164.11.1.el5xen]
    [062110_121919530][][EXCEPTION] [DEBUG]  [LONG_RUNNING_JVM]:[true]
    [062110_121919530][][EXCEPTION] [DEBUG]  [user.home]:[/t01/demoap]
    [062110_121919530][][EXCEPTION] [DEBUG]  [user.timezone]:[GMT+05:30]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.print.PSPrinterJob]
    --------------------------------------------------------------------------------lots of lines ----------------------------------------
    [GC 17474K->10837K(24648K), 0.0037890 secs]
    [GC 17685K->11057K(24648K), 0.0035530 secs]
    [GC 17905K->11271K(24648K), 0.0029030 secs]
    [GC 18119K->11488K(24648K), 0.0024650 secs]
    [GC 18336K->11702K(24648K), 0.0023940 secs]
    [GC 18550K->11919K(24648K), 0.0025010 secs]
    [GC 18767K->12133K(24648K), 0.0024460 secs]
    [GC 18981K->12344K(24648K), 0.0024020 secs]
    [GC 19192K->12575K(24648K), 0.0024790 secs]
    [GC 19423K->12781K(24648K), 0.0025650 secs]
    [GC 19629K->12991K(24648K), 0.0024010 secs]
    [GC 19839K->13212K(24648K), 0.0024430 secs]
    [GC 20060K->13427K(24648K), 0.0024160 secs]
    [GC 20275K->13641K(24648K), 0.0024440 secs]
    [GC 20489K->13857K(24648K), 0.0024410 secs]
    [GC 20705K->14073K(24648K), 0.0024570 secs]
    [GC 20921K->14284K(24648K), 0.0024340 secs]
    [GC 21132K->14504K(24648K), 0.0024580 secs]
    [GC 21352K->14719K(24648K), 0.0024620 secs]
    [GC 21567K->14935K(24648K), 0.0024600 secs]
    [GC 21783K->15151K(24648K), 0.0024360 secs]
    [GC 21999K->15365K(24648K), 0.0024180 secs]
    [GC 22213K->15004K(24648K), 0.0204220 secs]rgrds
    Edited by: new2appsdba on Jun 22, 2010 1:43 AM
    Edited by: new2appsdba on Jun 22, 2010 2:12 AM
    Edited by: new2appsdba on Jun 22, 2010 5:37 AM

Maybe you are looking for