Error while running report?  Urgent

Hi
I am trying to create report and in that the report should run by taking the current week.
I have written a customer exit for that and when i run the report i am getting following error
An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was
neither handled locally, nor declared in a RAISING
    Message no. RS_EXCEPTION000
The function call of DATE_GET_WEEK failed; a field may have been assigned to
the parameter WEEK whose type is not compatible with th
    Message no. RS_EXCEPTION000
I am using following customer exit
data: l_curweek  type sy-datum.
   if i_step = 1.
     call function 'DATE_GET_WEEK'
       EXPORTING
         date = sy-datum
       IMPORTING
         week  = l_curweek.
    clear l_s_range.
     l_s_range-low = l_curweek.
     l_s_range-sign = 'I'.
     l_s_range-opt = 'EQ'.
     append l_s_range to e_t_range.
   endif.
Please help me out.

This time it gives different errors
Error for variable  in customer enhancement Z_C_WEEK
    Message no. BRAIN649
Diagnosis
    This internal error is a deliberate termination, since a program status
    has arisen, that is not allowed to occur.
    The error has arisen for variable Z_C_WEEK in the customer enhancement .
Procedure
    Please check your customer enhancement.
Procedure for System Administration
Variables contain invalid values.
    Message no. BRAIN633
System error in program CL_RSR_OLAP_VAR and form INIT-02- (see long text)
    Message no. BRAIN299
Diagnosis
    This internal error is an intended termination resulting from a program
    state that is not permitted.
Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template,
    or during interaction in the planning modeler, and if you can reproduce
    this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for
    the trace tool environment as well as SAP Note 899572.

Similar Messages

  • Timeout error while running Report

    Hi
    All,
    Windows 2000
    Oracle Report builder 10g
    Oracle developer suite 10g
    when I had OLD computer i was able to run report more than 10 minutes. Now, I got NEW computer and i am getting TIMEOUT error while running report more than 10 minutes.
    Any clue?
    Thanks,
    Vishal

    As Fs says it depends on how you're running the report.
    If you're running via a server then you need to make the change on that server or amend the URL you are using to run the report to add the enginereponsetimeout parameter.
    You can amend this parameter on the server either by using the Application Server Control as I described in my last post or by directly editing the config file. This file will be called <reportservername>.conf and can be found in the oracle_home/reports/conf directory.
    In this file look for the engine tag and see if the engineResponseTimeOut property is set.
    E.g:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="20" callbackTimeOut="90000" engineResponseTimeOut="5">
    </engine>
    This value is in minutes so increase to a time larger than that it takes to run the report.
    If instead you're running the report via Report Builder on your own PC then look for a file called rwbuilder.conf in the same location on your PC and make the same change as described above.
    If this property isn't in the file then the engine isn't supposed to time out at all so the problem may well be something different. But to discount it try setting to a large value like 30.

  • Error while running report 10g

    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(1000);
    rep_status VARCHAR2(2000);
    BEGIN      
         repid := find_report_object('REPORT2');      
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    set_report_object_property(repid, report_comm_mode, 1);
    set_report_object_property(repid, report_destype, cache);
    set_report_object_property(repid, report_desformat, 'PDF');
    set_report_object_property(repid, report_server, 'myserver');
    v_rep := run_report_object(repid);
    rep_status := report_object_status(v_rep);
    WHILE rep_status IN ('RUNNING', 'OPENING_REPORT', 'ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    message(rep_status);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document('http://localhost:8889/reports/rwservlet/showjobid' || substr(v_rep, instr(v_rep, '_', -1) + 1)
    || '?server = myserver');
    ELSE
    message('error while running reports-object ' || error_text);
    message(' ');
    clear_message;
    END IF;
    EXCEPTION
         WHEN OTHERS THEN
    message('error while running reports-object' || error_text );
    END;
    I have been trying the whole 5 days running this report but it is giving me error, i am making simple report which select all data and display from emp table, please help. Error I am getting is unable to run the report and Terminated_Report.

    Hi,
    Check this link...How to call a report in Forms 10g ?
    Hope this works...
    Hamid

  • FRM-92101 error while running report from a button or menu

    Hi All,
    I am getting the error FRM-92101 while running report without parameter from a button or menu. I am using Developer Suit 10g. I get the error as it shows there has some configuration problem in my form. Will you please help me anyone how can i solve the problem. My previous forms running very well both with parameter and without parameter.
    Arif

    Hello Sir,
    Thanks for your cooperation. I have solved my problem by myself. The fact was that, when i tried with the following code which made my report---
    SELECT br.bid, br.bname, br.branchtxnstatus, dif.difference
    FROM branch br,
    (SELECT gladbrid branchid,
    SUM
    (CASE
    WHEN ga.gl_acc_categry IN ('L', 'I')
    THEN gd.gladbalance
    ELSE -1 * gd.gladbalance
    END
    ) AS difference
    FROM glaccount ga, glaccountdetail gd
    WHERE ga.glid = gd.gladglid
    GROUP BY gladbrid) dif
    WHERE dif.branchid = br.bid AND br.branchtxnstatus = :Br_Status
    and dif.difference!=0
    ORDER BY br.bid;
    and the code against the button or menu item is---
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('ASSET');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    which has shown the error FRM-92101 and didn't run the report.
    In that case I have changed the query to run the report. first of all i create a view following the query and build the report using a simple select query. that's etc. my report running fine now.
    It is mentioned that there had no error on my codes.
    Arif

  • Error while running report..

    Hi, We use 9iAS on linux and while running one report , we get this error:
    REP-0177: Error while running in remote server
    REP-300: date format is too long for internal buffer
    (sign(decode( ==> trunc(imp.tnr_matu_date),
    When i run the same report on my system (WINDOWS) it runs fine..Even on my dev UNIX box , it runs without any problem..Could somebody help me out?Thanks..

    Hi
    Check that eul user discoverer user has the select right to the data table(s).
    Ott Karesz
    http://www.trendo-kft.hu

  • ERROR WHILE RUNNING REPORT THROUGH FORMS.....!

    hi all,
    ive designed one form in Forms 9i...I'm tryin to run report through a Push button .....report is running well in paper layout through report builder 9i...The problem I'm facing is dat when i pressed button it is giving me error initially as FRM-41214 cannot run report and after that FRM-40735 When button pressed unhandled exception ora-06502.....What could go wrong??... Ive started OC4J instance ....created report object in object nevigator as well and defined basic properties for diff.parameters HTMLCSS,CACHE..etc.,mentioned report path in complete i.e.c:\reports\genbill.rdf ...Can anybody help me out ??? Thnx.!
    -----------------------CODE ON BUTTON----------------------------------
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT5');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('<HOSTNAME>:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=myrepserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;

    When a report terminates with an error, REPORT_OBJECT_STATUS returns the value "TERMINATED_WITH_ERROR", which is 21 bytes of data, but rep_status is defined as 20 bytes. The 6502 error is due to the data not fitting the variable.
    I recommend wrapping the REPORT_OBJECT_STATUS function with a SUBSTR that limits the data returned to 20 bytes, which will ensure the results fit.
    For example:
    rep_status := SUBSTR(REPORT_OBJECT_STATUS(v_rep), 1, 20);

  • Getting Error while running Report on Enterprise Report console

    Hi all,
    I am using Report builder 6i, I have developed one report and configued it on Enterprise Reporting tool but when tried to run it through Enterprise Reporting Console I got the following error
    REP-0177: Error while running in remote serverREP-0736: There exist uncompiled program unit(s).REP-1247: Report contains uncompiled PL/SQL. FAIL 1
    although the report is running fine through the report builder.
    any thoughts?
    Thanks in advance
    Manvar
    Message was edited by:
    [email protected]

    Hello,
    Do you reproduce the error if you implment the example provided in the document :
    Oracle Application Server 10G -Integrating Oracle Reports in Oracle Forms Services applications:
    http://www.oracle.com/wocportal/page/wocprod/ver-31/ocom/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Regards

  • FRM-92101 error while running report from form

    HI All,
    I am getting the form error FRM-92101 while running report from form menu.My code is given below:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT47');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    --Arif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi Arif
    Please see this note on MOS/Metalink for some common causes of this error:
    Known Causes of FRM-92101 Error In Forms [ID 604633.1]
    thanks,
    AMN

  • Dataset can not be open error while running report rtcctool

    Hello Experts,
    While running report rtcctool we are gettin following dumps the says
    ABAP runtime errors    DATASET_CANT_OPEN
           Occurred on     05/27/2011 at 10:00:52
    Unable to open file "/usr/sap/B**/DVEBMGS00/sec/SAP_AGS_OLCNT_VERIFY.pse".
    I am aware that the eror is happening because of this file but not sure from where to get this file. Please let me know any of you aware about this.
    Regards
    Yogesh

    Hi all.
    I have the same problem and explore all possible solutions found in this discussion and others without satisfactory result.
    Everything points that may be an inconsistency error external certificate which is in the DB. Anyone know how to fix this.
    Greetings.

  • DB error while running reports in InfoView

    Hi,
    we are trying to create a report in infoview.
    however we are facing following error while trying to create new webintelligence document or running existing report:
    A database error occured. The database error text is: (CS) "DBDriver failed to load : /bobje/bobje/enterprise120/linux_x86/dataAccess/RDBMS/connectionServer/libdbd_oci9.so (libclntsh.so.11.1: wrong ELF class: ELFCLASS64)" . (WIS 10901)
    We are using BO XI 3.1 SP2, Oracle 11g server on Linux.  Both oracle and bo server are on same machine.
    thanks in advance.

    Looks to me that you are using the 64bit oracle driver. Make sure to set your LD_LIBRARY_PATH variable (for th euser running the BO services) to point first to the directory with the 32bit libraries of the Oracle driver.
    Regards,
    Stratos

  • Error while running reports in Portal

    Hi ,
    While running a crystal reports in portal a pop-up appears with the following error message
    " Sorry = you are not logged into this server. Ensure that your user name and password, as well as the APS name are correct. "
    Can anyone help on this?

    Can you provide more information about the SDK, product version, application server, etc. that you are using?
    That error message indicates that you are trying to retrieve a report from BusinessObjects Enterprise without entering the authentication information.

  • Error while running report in oracle apps

    While running the report in oracle apps, i am getting below error
    Arguments
    AS_ON_DATE='2013/03/21 00:00:00'
    sdate='2012/04/01 00:00:00'
    edate='2013/03/31 00:00:00'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    REP-0300: ORACLE error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: ORACLE error occurred.
    I tried to run the same report in report builder, it is working as per the requirement. But it is not working in oracle apps.
    Please help.
    Thanks in advance.

    Thanks Kishore. I copied the prefs.ora file. So the first warning from the is resolved. But still i am getting error.
    Query: I am trying to get the total absence days for each employee in current financial year.
    SUM((CASE
    WHEN ( (TO_CHAR (TO_DATE (paa.date_start, 'RRRR/MM/DD HH24:MI:SS'),'DD-MON-RRRR') BETWEEN TO_CHAR (TO_DATE (:sdate, 'RRRR/MM/DD HH24:MI:SS'),'DD-MON-RRRR') AND TO_CHAR (TO_DATE (:edate, 'RRRR/MM/DD HH24:MI:SS'),'DD-MON-RRRR'))
    OR (TO_CHAR (TO_DATE (paa.date_end, 'RRRR/MM/DD HH24:MI:SS'),'DD-MON-RRRR') BETWEEN TO_CHAR (TO_DATE (:sdate, 'RRRR/MM/DD HH24:MI:SS'),'DD-MON-RRRR') AND TO_CHAR (TO_DATE (:edate, 'RRRR/MM/DD HH24:MI:SS'),'DD-MON-RRRR')))
    THEN
    (CASE
    when (GREATEST(paa.date_end,to_date(:edate,'dd-mon-yyyy')))= to_date(paa.date_end)
    THEN to_date(:edate,'dd-mon-yyyy')
    ELSE
    TO_DATE(paa.date_end,'DD-MON-YYYY')
    END)
    - (CASE
    when(LEAST(paa.DATE_START,to_date(:sdate,'dd-mon-yyyy')))= to_date(paa.date_start)
    THEN to_date(:sdate,'dd-mon-yyyy')
    ELSE
    TO_DATE(paa.date_start,'DD-MON-YYYY')
    END)
    + 1
    ELSE
    0
    END)) AS "ABSENCE_DAYS"
    sdate(financial year start date) and edate(financial year end date) are input parameters. In oracle apps parameters are defined as FND_STANDARD_DATE.
    paa.date_start and paa.date_end is taken from per_absence_attendances table.
    Error:
    Arguments
    as_on_date='2013/03/22 00:00:00'
    sdate='2012/04/01 00:00:00'
    edate='2013/03/31 00:00:00'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    REP-0300: ORACLE error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: ORACLE error occurred.
    Please help.
    Edited by: 995343 on Mar 22, 2013 4:17 AM

  • "Failed to open report" error while running reports

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error  "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi Balla
    If you face this issue only while running the reports from a .Net web application, then please post this thread to the sdk development forum.
    You can follow the link below:
    https://www.sdn.sap.com/irj/sdn/businessobjects-sdk-forums
    Thanks

  • Error while running report from Form. i am using Forms 10g.

    dear all,
    here is a problem when running the report from a fom. gives the pollowing error.
    REP-110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
    i am using Forms 10g.
    thanks
    Muhammad Nadeem

    See metalink doc id 215469.1
    The purpose of this document is to:
    - provide information on how to resolve the REP-110 error.
    - give hints on how to troubleshoot problem.
    - include a comprehensive summary of various scenarios which may
    result in a REP-110 error

  • REP-56048 Error while running report

    Hi,
    While generating output to excel file the report crashed with the following error.
    REP-56048: Engine rwEng-0 crashed, job Id: 1081
    It however executes fine with PDF. Please suggest a solution.
    Report Server Version: (10.1.2.0.2)
    Thanks and Regards
    Babar Baig

    To prevent the error:
    REP-1247: Report contains uncompiled PL/SQL
    recompile the rdf file on the staging application server. use the following command to recompile it.
    rwconverter.sh userid=scott/tiger@test source=sample.rdf batch=yes dtype=rdffile stype=rdffile overwrite=yes
    This will takes the source rdf file and recompile it to an rdf file of same format as the operating system of the app server.
    For example, if I use reports builder on windows pc to create the rdf file and then move it to a unix box that is hosting the app server. Some reports will get this error for the first time they are run. The subsequent times, they might not get the same error. The above given syntax will prevent this from happening.
    I have tried it in my production env and it works like a charm. If you need further help, email me at [email protected]

  • "Failed to open report" error while running reports using Crystal Report

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi,
    Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
    It might help you!!
    Regards,
    Amit

Maybe you are looking for

  • Downloaded ios8 and ipad says my TV is no longer compatible  with it

    Downloaded ios8 to my iPad on 18 September in response to a prompt and then when I plugged it into my television (HDMI2 port), the TV got no signal and a message came up on the iPad saying the device (i.e. TV) was not compatible with it. There was no

  • Calculating a difference between two columns in a crosstab report

    I have a crosstab report showing # of sales by salesperson in each of 2 years and within each of 2 categories of salesperson (old vs new). I want to create a column showing the difference between sales in 2009 and 2010 within new salespersons  and th

  • Songs that cannot be played?

    I imported an album that I purchased and when I tried to add the album to my ipod it said it couldn't because the "songs could not be played" why is this???why does it only do that for some cds? This one is not burned or ripped or made from a downloa

  • Media Encoder is a memory leak - windows

    Applies to: Version 5.5.1.12 - 64 bit, Windows (Most likely earlier versions too) Reproducing the problem: Start Media Encoder as a standalone application by double clicking the icon. Close the window (by clicking the 'x' in the top-right corner) of

  • Icon corruption and loss of sound?

    I wrote a messenging application in java, think of it like a glorified version of WinPopUp or something similar. Anyway, when it is loaded on a Win2k/XP system (haven't tried it on other operating systems), it appears to be working perfectly until yo