Strange 9i behaviour on scheduled report

Windows 2000 server, 9ias RL 2, patches applied according Note 215882.1.
I have a report that used to run well in 6i (9ias RL1). It is a scheduled report. It takes current (system) month and year as parameters. In the After-Report-Trigger I run the same report using srw.run_report and replace current month with previous month.
Desformat=PDF, Destype=file, desname is generated dynamically depending on parameter value (e.g. monthly_orders_2003_10.pdf and monthly_orders_2003_09.pdf).
In 9i, the same report only returns the pdf output for the previous month (monthly_orders_2003_09.pdf) in the specified directory, but not for the current.
To make this more confusing: Both outputs (current month and previous month) are stored in the cache directory with randomly generated names (e.g. 41831406.pdf and 49155045.pdf).
Any hints are deeply appreciated.
Gerald Krieger

Theoritically this should reproduce even without scheduling ie in a client-server non-scheduled run.
1) Please see whether the child output is generated anywhere in REPORTS_PATH ( registry var in HKLM\software\oracle\Homex in Windows and env var in Unix ).
2) In srw.run_report() give full path name if child report and try
If it still does not work then it may be a bug. Please raise a TAR ( Technical Assistance Request ) with Oracle Support. If the issue is already fixed after 9.0.2.2 you can get a patch.
Thanks
Ratheesh
The statements and opinions expressed here are my own and not that of my employer

Similar Messages

  • Strange issue with WEBI schedule Report

    Hi All,
    I have a strange issue with schedule WEBI reports, a schedule report runs for Hours , i reschedule it again by deleting the instance and the schedule report never got succeed even after running for hours.
    Any idea???
    regards

    Hi Manoj,
    1. Try to put some filters in the report and then run the report. if it takes less time, then probably your query is fetching very    large data.
    2. MDX query error may be the reason , this error come when a query runs endless, please try running the query 2-3 times, or when load on server is less.
    Hope this will help,
    Anamika.

  • Strange font behaviour in info / report windows

    i've had this problem for a long time and i'm ready to fix it now. whenever i get an info or report window in a programme like xACT or justabout anywhere, the font looks very strange. at first i thought it was going vertical but now i realise it is one character to a column, two columns to a window. it looks something like this ...
    T H
    I S
    I S
    W A
    T I
    T L
    O O
    K S
    L I
    K E
    (except that the right column is perfectly aligned, and halfway across the window).
    i don't know what font it is, how to find what it is, or if it has somehow been corrupted. if i select all and past it into a text edit document then it reads fine.
    has anyone experienced this before & how can i correct it ?
    thanks,
    mark
    PowerBook G4 15   Mac OS X (10.3.9)  

    Hi Doug --
    If you are positive it's the Curlz font,
    don't just disable it. Locate it via "Find" or Spotlight.
    Put it in the trash.
    Restart your Mac and test again.

  • Strange pagination behaviour on detail report (BUG?)

    Hi
    I've the following situation:
    Form on a table and below an sql report based on value of one of form fields. Everything is fine as long, as I use form's primary key for the report, but when I use any other field, pagination breaks - going to the next report page gives "no data found" in the report region. However, where I refresh entire page, I see the next page just fine.
    Case:
    create table master (id number primary key, num2 number, data varchar2(10));
    create table detail (id number primary key, parent number);
    insert into master values(1,1,'aaa');
    insert into detail values (1,1);
    insert into detail values (2,1);
    insert into detail values (3,1);
    insert into detail values (4,1);
    insert into detail values (5,1);
    insert into detail values (6,1);
    insert into detail values (7,1);
    insert into detail values (8,1);
    insert into detail values (9,1);
    insert into detail values (10,1);
    insert into detail values (11,1);
    insert into detail values (12,1);
    insert into detail values (13,1);
    insert into detail values (14,1);
    insert into detail values (15,1);
    insert into detail values (16,1);
    insert into detail values (17,1);
    insert into detail values (18,1);
    insert into detail values (19,1);
    commit;
    Create a form on master table with defaults on everything and ID as primary key (my is sequence based, but it doesn't matter)
    The report code is:
    select * from detail where parent=:P22_ID
    and everything works fine - report pagination works. But if I change the code to
    select * from detail where parent=:P22_NUM2
    Pagination breaks :/ Clicking next gives "no data found", entire page refresh shows report page 2
    Changing "Enable partial page refresh" doesn't help
    Any suggestions?
    Martin

    Answering my own question...
    After doing some more digging I've found that on full page refresh all bind variables work, on "next" report page however only form's primary key is set, and all other page variables are nulls, so if the report's pagination is to work, it can't use anything else
    Anyone knows is this a bug, or a feature??

  • Strange error while scheduling but can see the scheduled report

    Hi,
      When I schedule a Deski Report from my Favorite folder to my repository folder the instance fails and has this error message
    destination DLL disabled. []: [CrystalEnterprise.Smtp] .
    But when I see inbox I can see the report scheduled in required format.
    For information - I m using XIR3.1 SP2 and using a server group for scheduling this.
    Please help me identifying why the schedule fails.

    Hi,
         Please note, the error occurred when system tryng to push your completed scheduled report into a particular destination. In you case, the Repository Folder Path.
         Regardless, the solution provided by the previous post contained the same solutions you need to apply.
         In summary, you need to make sure you have permission to that particular path where the report will eventually reside.
    Regards,
    Ken

  • Scheduled report with sub-reports  (Encapsulating page failed).

    Hello Everyone
    I am fairly new to reporting and SAP.
    I do have a main schedule report containing 4 sub-reports in the sections and 1 sub-report in the page header.
    The report runs fine in the Infoview development folder, But whenever its deployed in system_testing folder, it doesn't open and gives the following error:
    "ERROR IN FILE XXX:Encapsulating page failed."
    I talked to DBA to change the permission for the user, but they don't agree. since its a scheduled report, user can only access the instance of the report, not to run it.
    How can I make sure that the sub-reports don't run when user opens the report.
    I appreciate any help in advance
    Thanks and regards
    MJ

    Hi All,
    We have been facing the "Encapsulating page failed " error sporadic in our Crystal reports. It is not happening always.
    We have tried with different user accounts, it did not help much. Also tried various suggestion from the following SAP Notes:
    1536964 - Encapsulating page failed - The error change to Database error when the preference is changes
    1211088 - Error message "Encapsulating Page Failed" - This is not the case with our reports, we still have some reports facing the same error without an subreports in it
    1543412 - Infoview warning: "Error in File xxx : Encapsulating page failed - tried implementing the recommendation , but no help
    1900672 - Error: Encapsulating page failed while viewing Crystal Reports based on stored procedures in BOXI 3.1  -- Our reports are not based on stored procedures.
    We have faced this error in many different version of BOXI 3.1 like SP4.1, SP7.1, SP7.2. But the behaviour is similar. We have a clustered machine with 2 BOE servers and 2 Tomcat servers.
    I have tried activating E2E tracing, but I really couldn't understand the reason for error from the logs. Our reports connect to datasource using webservices.
    some information from the error traces.
    Verkapseln der Seite nicht möglich.. Internal error: CrpeMgrPEEncapsulatePageEx
    I would like someone to help me troubleshoot the problem. I can share the logs if needed. Please direct me to the correct forum if this is outdated.
    Regards,
    Prarthana

  • Scheduled report is failing to be triggered via email in SCOM 2007 R2.

    Hi All,
    I have this strange issue. I have created a scheduled report from the SCOM reporting. It is a default report which comes in SCOM, It is the Most common alerts available in the Microsoft generic report library.
    I also have the SMTP server configured in the Reporting services configuration manager as in the below screenshot.
    The email relay server mentioned in that its self is used for our SCOM Alert email subscription as well and it works fine.
    When i schedule the report and when it tries to send the report it gives the below error, Saying that "at least Senders / From field is missing or empty"
    As you see i have mentioned a from / senders email address, But i still get that error.
    I checked the RMS event logs but there are no related events for this issue.
    Does any one have an idea on this ?
    Gautam.75801

    Make sure that the following
    1.Verify that the Report Server Windows service has Send As permissions on the SMTP server.
    2.In Sender Address of Reporting Services Configuration tool, enter the name an account that has permission to send e-mail from the SMTP server.
    3. Moreover, check the event log of SQL reporting server
    Roger

  • Strange clock behaviour

    Hi there,
    I'm experiencing some strange clock behaviour with my system clock in Mac OS 10.4.10.
    The digital clock shows the right time while the analog clock shows the wrong time (2 hours offset) in the same dialog.
    The system time in general seems to be wrong since the time schedule in eyetv's TV program dialog isn't correct either.
    Does anyone have a clue how to solve this issue?
    thx in advance,
    beelzebubi

    hi,
    sry for the long delay in my reply - i was on holiday w/o internet access.
    about my problem:
    if you carefully compare both times in picture 1 I've attached to my post (http://de.geocities.com/dannerste/Bild1.png) you'll notice that the digital clock shows a different time than the analog clock.
    The analog clock shows ~22:00 (right time) whereas the analog clock shows ~20:00 o'clock (wrong time).
    I don't have a clue where this difference comes from and how to resolve it.
    As I've also noticed before my system time in general seems to be faulty: e.g. the EPG program guide in eyeTV shows wrong the time too, the TV program itself (its content) is OK.
    thx for your support,
    beelzebubi

  • Sharing scheduled reports

    Hi,
    We have an apps mode EUL - all users logon using their Oracle apps id and a single responsibility which has access to all business areas.
    Our problem is when user A schedules a report and shares the output with user B, user B cannot see the output in Discoverer Plus or Viewer. However user B can see the scheduled report output if they logon to Discoverer Desktop.
    As we like almost all of our users to use Plus this is obviously a problem. I cannot figure out why this behaviour has started happening as it used to work ok.
    We use Discoverer 10.1.2.48.18, appreciate any suggestions.
    Thanks.

    Hi Colin
    Out of the box Discoverer is installed as 10.1.2.48.18 which is the version you say you have. That is an extremely buggy version and you need to upgrade.
    Please take a look at this posting on my blog: http://learndiscoverer.blogspot.com/2008/04/most-useful-patch-numbers.html
    Personally I would not be surprised to hear that you have all kinds of issues. If you were to bring your issue to Oracle Support's attention they will tell you that you need to upgrade too. I am not saying 100% that this will cure your issue but the chances are that it will and a multitude of other problems that you may or may not have come across yet. :-)
    Best wishes
    Michael

  • Ssrs scheduled report

    Hello,
    Users are using a report daily which has two parameters:
    @Date and @clientName
    The users run this report for different month-ends manually...
    This report is now scheduled to run on the 10th of every month at 2:00 am. with th efollowing parameters:
    The @Date is set for the last day of the previous month.
    The @ClientName is always the same. i.e. @client1
    The way I have scheduled it is, say today is 21st July 2014, I placed the date 30 june 2014 into the @Date parameter.
    Question:
    Instead of me typing the date for the @Date parameter, i.e. 31 june 2014, how can the report do this so that it knows what @Date parameter to use when it automatically runs.
    If I do not manually change the @Date parameter, then for the following month it still uses 31 june 2014 but I have to manually change the scheduled report and enter 31 july 2014 for the next run and so forth.
    Remember that I do not want to change the format of the report because the users run this report too and they use different dates.
    Any suggestions please?

    Hi arkiboys,
    According to your description, you want the report can auto type the last day of the previous month as the @Date value, rather than manually type the date. To fix this issue, we can type the last day of the previous month with expression as the default value
    for the @Date. Then it automatically runs with the default date based on the date, without manually modification. For more details, please see:
    Edit the report with Report Builder.
    Right-click the @Date parameter to open the Report Parameter Properties dialog box.
    Click Default Values in the left pane.
    Specify a value with the expression below:
    =dateadd("d",-day(today),today)
    Users can change the date for the @Date parameter to others based on their region when he view the report.
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Error while scheduling report for SAP users

    Hi All,
    We have SAP authentication enabled in our BO environment. (BO XI 3.1 sp2 FP 2.6 on windows 2003 server).
    There are some webi reports based on BW Bex queries that we are trying to run on behalf of certain SAP end users. This we are doing using "schedule for" option.
    Now what is happening here is if the end user has logged in once in BO system ,it runs fine. But in case user has not logged in to BO (using infoview etc.) ,it throws error saying "incomplete logon data" . Also if user changes or reset his password in BW and if he doesn't login to infoview after that ,system throws another error "Name or password incorrect (repeat logon)".
    Based on these observation, we are suspecting if BO system uses stored SAP users credentials while scheduling report for them based on their last login.
    Would like to mention here that we have checked option "automatically import users".
    Please advice if this behavior is normal or we are missing some setting.
    Thanks in advance,
    Chandra

    Hi All,
    Any pointers or suggestions for this issue ??
    Is there a setting/option avialable in CMC which could resolve these errors.
    Or, user has to login once to infoview in all circumstances to avoid these errors.
    Thanks,
    Chandra

  • Issue with SAP Single Sign-On and Scheduling Reports

    Hello --
    We are on XI 3.1 with SAP BW and SSO.  Some users are getting failures with this error message when they schedule a report to run:
    "A database error occured. The database error text is: Unable to connect to SAP BW server System received an expired SSO ticket. (WIS 10901)." 
    It SEEMS as though the users are fine if they schedule the report to run immediately and have it run every hour (or less) after that.  If they schedule it to run several hours from the time they are in the system, however, it looks like they begin getting failures around 8 hours after they were in the system.  This would make sense from looking at the "InfoView and Central Management Console Session Management" document (https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/405547f9-b840-2b10-44b5-8e17ff9e48a9&overridelayout=true) since a logon token expires after 8 hours, but since it is a scheduled report, and the user is not logged in through a browser, how is a token being passed?  Is it captured and included when the report is scheduled?  Would disabling logon tokens fix this issue?  How is authentication handled here if they are disabled? 
    Thanks for any info
    Casey

    Hi Gurus
    I am facing the exact same error.
    However, we are not trying to schedule the WEBI report.
    The user gets this error even when he is running on demand from the portal.
    Here are the various steps tha twe have tried and still it doesnt work:
    1) Refreshed and created new Universe connection
    2) Bounced BOE server
    3) Synced up the SSO timeout ticket to 8 hrs on all systems including BOE
    4) Changed browsers
    5) Removed cache, cookies etc
    Please help.

  • The status of scheduled report in java application ?

    Post Author: Jay_Misys
    CA Forum: JAVA
    My java application is running on application server (websphare / java application server)
    I schduled the report published on crystal report server
    the java code is like:
    BIPlatform bipService = new BIPlatform(new Connection(new URL(servicesURL + "/biplatform")), oSession.getConnectionState());
    ResponseHolder rh=bipService.get("path://InfoObjects/"+sCrystal_Reports_Folder + reportName +
    "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    InfoObjects oInfoObjects = rh.getInfoObjects();
    CrystalReport oCrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    SchedulingInfo schedulingInfo = oCrystalReport.getSchedulingInfo();
    schedulingInfo.setRightNow(Boolean.TRUE);
    oCrystalReport.setPluginProcessingInterface(procInfo);
    oInfoObjects.setInfoObject(0,oCrystalReport);
    bipService.schedule(oInfoObjects);
    Pls help me  to get the status (running / sucessfully generated/ failed etc...) of scheduled report ? 

    out = new FileOutputStream(matcher.group(1)+".open" , true);
                          FileChannel ch = out.getChannel();
                                       FileLock lock =  ch.lock(0L, Long.MAX_VALUE, false);
                                   // Connect print stream to the output stream          
                                       p = new PrintStream( out );
                            p.println ("\n" + parms.getProperty( value ) + "\n");
                                  p.flush();
                            p.close();
                                  lock.release();Ok, I tried implementing locks but I dont know why it is not working...An exception is thrown and nothing is wriiten to the file. I have employed a complete lock on the file so that no other JVM application can use it.
    Actually this is a server that grabs data sent from an Iframe and writes it down to a temp file. I open a file input stream, lock it and then use a printwriter strream to write the realyed data to the file. Any inputs as to what is wrong with the code snippet above?????

  • How to display "No data for yesterday" in a scheduled report on Webi

    Hi All,
    In Webi, I am working on scheduling reports and was asked by a user if the scheduled report on Webi can display "No data for yesterday/no orders for yesterday" when the report returns no data due to No Orders submitted or a business holiday. This sounded a good idea to me as this report only looks for previous days orders/sales and there are many instances when the report will return blank page due to no activity the day before.
    Can anyone please guide me on the possibility of achieving something like this on Webi using Bex query.
    Any help will be appreciated .
    Thanks
    Gaurav

    Hi,
    You can format the blocks in the report as "Hide When Empty" or "Hide When [some formula]" and have a blank cell added behind these blocks with a text "No Data for Yesterday"
    Need to set the relative position and ordering for this accordingly.

  • Email background schedule report to gmail or yahoo mail

    Dear Expert,
    My self Nayan Lad having 1 year exp in SAP ABAP.
    Now my request is How can I send mail the background schedule report to some person's personal mail id through SAP.
    Please guide me so I can explore my knowledge.
    Thanks & regards,
    Nayan Lad
    Moderator Message: Please search for available information.
    Edited by: kishan P on Nov 11, 2010 11:03 AM

    hai ,
    please go through this example bcs_example8.
    thankyou,
    anji.

Maybe you are looking for

  • I can't connect with the App store.  It says "An unknown error has occurred"

    This just started a few days ago on my MacBook Pro.  My account is working fine - I can access it on my phone.  But I can't get to it on my computer. The first sign of trouble was when I tried to use a previously purchase app.  The app wouldn't open

  • Version 31.3.0 hangs on Windows 7, for 2 IMAP servers and for yahoo

    Just upgraded to 31.3.0 on Windows 7. I have 2 IMAP servers and yahoo accounts configured. Thunderbird client just hangs there (shows Searching... at the bottom), doesn't show any emails. Also, unable to bring up various windows: Tools->Add Ons and T

  • Unable to open Nikon D750 RAW files in CS6

    Hi all, this is my first time on the forum so please go easy on me! I have been running cs6 on an iMac Snow Leopard version up until today and have had no problems opening any raw files from either my Nikon D700 or D4. Today I decided I should update

  • Problem with NI 6221

    Hi. I use one analog output channel and 5 input channels. They all are scanned. When I work only with one output and input chanels (4 channels are not connected), I can see on them the same signal as on working channel. I read the following issues: h

  • Xserve RAID card reconditioning battery

    Hello, Does anyone know if there is a LaunchDaemon or script where i can schedule my battery reconditioning ? It is always starting in the middle of a working day and the performance is then very slow. Or did anyone tried to disconnect the battery ca