WEBI Report Scheduling based on event.

Hello All,
We have a requirement to schedule a webi report based on event generated by ETL loads.
Scheduling works fine based on events.My requirement is If event is not generated we want to schedule the report at specific time.Lets assume event will generate between 10 Am to 11 Am.If event is not generated report will not schedule,but we want schedule report after 11 Am.
Please let us know if any one have solution for the above
Thanks,
Kumar

You can schedule your report based on the file event to look for the trigger file till 11 AM. If the file not generated, you can use the below VB Script to generate the file in the desired location by 11 AM.
Private Sub writeDebug(ByVal x As String)
    Dim path As String = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
    Dim FILE_NAME As String = path & "\mydebug.txt"
    MsgBox(FILE_NAME)
    If System.IO.File.Exists(FILE_NAME) = False Then
        System.IO.File.Create(FILE_NAME).Dispose()
    End If
    Dim objWriter As New System.IO.StreamWriter(FILE_NAME, True)
    objWriter.WriteLine(x)
    objWriter.Close()
End Sub
Script does the below operations:
It will verify if the file already exist for the day.
If it does not exist, it will overwrite the old file with the new one. If already exist, the script will end.
Script contains "Debug" function which will be helpful for your analysis.
Add this program to your scheduler to run everyday at 11 AM.

Similar Messages

  • Need Help: Could WEBI report directly based on EXCEL file be refreshed?

    In 3.0, Could WEBI reports directly based on EXCEL file be refreshed, after exporting to BOE platform?
    I've made a test on that and find out WEBI report could not be freshed in Infoview while DESKI report could.
    Some colleague suggest me to build the WEBI report based on a Universe created based on the EXCEL file.
    I want to confirm, is it a by-design that we could only refresh WEBI report based on universe? or I could do some setting to made the refreshment of WEBI based directly on EXCEL file works?
    Please Help!! Thanks a lot~~~

    Hi Rachel,
    You could try the Rich Client Product Guide [http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_web_intelligence_rich_client_en.pdf] but I don't think it is a problem...more like a feature by design - it makes sense.
    You could try the route of creating a universe on top of excel... See posts
    [DBMS Independent universe;
    [how to connect to excel sheet and create a universe on top of that;
    Hope this helps
    Jacques

  • BOE report scheduling based on BW event

    Hi Experts,
    I am looking for a solution to schedule a BOE report (eg. crystal, WebI) based on a BW event (eg. data load is finished).
    Systems: BOE XI 3.1 SP3, BW 7.01
    The best option with minimum SDK enhancements so far is when BW routine creates a file in a specified folder and BOE Event Server picks up this file and raises a file event which is used as a trigger for a report schedule.
    Has anyone come across other alternatives without external file manipulations?
    Any insight into possible BOE BI 4.0 new features on BW-BOE cross platform scheduling and events handling?
    Thank you

    Hi,
    BusinessObjects Enterprise also has an Event Server and the most simple event could be the "existence" of a file on a file server. and yes there is also an SDK for it. You can find more details as part of the BusinessObjects Enterprise documentation on help.sap.com
    ingo

  • Webi Report scheduling issue

    Dear Experts,
    I have webi reports which are running fine when i refresh the query from query panel. When i am scheduling the report it is failing.
    My webi reports are connected to the Bex Queries using OLAP Connections which is working fine for other reports.
    I am getting the following error message
    "Can not connect to the source olap com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Access key access is no longer possible"
    Because of this BW Credentials are getting locked and user cannot able to access the BW System.
    Kindly help us getting this issue solved.
    Thanks in advance.
    THanks & Regards,
    Archit Sarwal

    Hi Archit,
    Try this...
    Logon to Central Management Console (CMC) with an Administrator user.
    Click on OLAP Connections.
    Right click on the connection and click User Security.
    Assign Full Control to the User on the connection.

  • Webi Report Scheduling

    Hi All,
    I want to know when we schedule a Webi report, which server is affected (mean Webi Processing server,Adaptives server).
    Please advise..
    Regards,

    Hi Manoj,
    When you Schedule a web Intelligence e Report, Adaptive Job Server will be responsible to do the task.
    If you go to Report History  you can see the Instance Status and you can find out the Job server Used for that particular instance by clicking on the Status.
    Thanks & Best Regards,
    -JS

  • Filter condition for Webi report scheduling

    Hello,
    I have a Webi report with a query that has one filter (it states the starting and ending date of data to be displayed in the report). This report has to be scheduled but it has to contain different filter values each time the report is run.
    I'd like to know if there is a way to schedule this report taking into account that each iteration of the scheduling process has to use different values for the filter.
    On the same way, the Webi report has a XY diagram with a text title made up of a fixed literal label. Is there any way to inject the text title from the scheduling process (in order to avoid editing the report before each scheduling iteration occurs)?
    Thanks a lot!

    Victor,
    one filter (it states the starting and ending date of data to be displayed in the report). This report has to be scheduled but it has to contain different filter values each time
    There are a couple of ways to handle this requirement, depending upon other environmental factors.  Here is one method, but it requires the ability to update/change data at the database using an external tool (anything that permits processing transactional information).
    You can set up an additional table with two columns:  starting_date and ending_date
    Someone updates the additional table as appropriate before the next run will kick off in the schedule.
    The tricky part is in getting your current report to incorporate the other table, and for this you may need to either create a view in your database or a derived table in your universe.  Here is the rudimentary SQL structure that might work for you:
    create table start_end_dates (beginning_date datetime,end_date datetime)
    go
    insert into start_end_dates values ('9/1/2009','9/30/2009')
    go
    create table my_data (col_a char(1),month_id datetime)
    go
    insert into my_data values ('a','9/1/2009')
    insert into my_data values ('a','10/1/2009')
    go
    select *
    from my_data
    where month_id >= (select beginning_date from start_end_dates) and
          month_id <= (select end_date from start_end_dates)
    The start_end_dates table is the one that receives a single input, populated with the starting and ending date of data.  The "my_data" table is an example of how the source table can call in the "parameters" of the "start_end_dates" table to fulfill its quest for filtering (additional filtering on other things within your scenario can also be applied).
    Once you can get the mechanics of the SQL to work for you (either in the universe or a view), then you can set the report up to work hand-in-glove with the above structure.  In the report, you can either have a second data provider that selects on the "start_end_dates" table, storing that data in the report and displaying it somewhere, or you could use the min(month_id) and max(month_id) concepts and display that somewhere too.
    Thanks,
    John

  • Webi Report Schedule failing in BI Launchpad

    Hi,
    I am wondering if anyone has come across this error message when trying to schedule a webi report in BI Launchpad.
    Firstly, the webi report refreshes successfully in BI Launchpad. The source for the Webi report is an OLAP universe that was migrated from a 3.1 environment into BI 4.0.
    The error message occurring when scheduling is:
    'while trying to invoke the method org.eclipse.emf.ecore.EObject.eClass() of an object loaded from local variable 'eObject' '
    I haven't been able to find any documentation on this error message on a failed scheduled.
    If anyone has an idea what might be causing this I would appreciate the help.
    Many thanks,
    Ainsley

    Hi,
    - Does your souce BEx have SAP Variables coming through to the OLAP universe as Filters?
    - Does your WebI document's dataprovider have filters defined as Prompts in the query panel ?
    - or, I wonder if 'local variable' may refer to a report-level variable ? i doubt it. i imaging it's the SAP VAR.
    I know that these 2 types of prompts have been troublesome on occasions with scheduling.
    Please check Note 1602665 - SAP BusinessObjects 4.0 SP02 Patch 2.6 Release Notes
    and refer to the fixed issues .pdf attached
    there are a number 3 / 4 corrections for scheduling webi with prompts ontop of bw
    Regards,
    H

  • Webi/Report : Schedule : Destination configuration

    In the Report : Schedule : Destination of Webi, is it possible to disable the "Use the Job Server's defaults" check box in ?

    Oh, I am not sure if you can simply change an config file to achieve this. We had to modify the JSP code behing the schedule page to make the tweaks. But I could be wrong and there might be an easier way to do it that I don't know of.
    If at all you want to play around with the JSP code, I think you might want to look at the file -
    desktoplaunch\InfoView\schedule\destination_include.jsp
    Cheers,
    Sarang

  • Server Side Trust and Webi Report Scheduling via Portal

    Hello,
    I have opened a similar  thread about Server Side Trust and webintelligence reporting through the portal a few months ago.
    At the time, we had some complaints about users that were getting SSO errors after 8 hours when scheduling WeBi Report through the SAP Portal.
    Basically, the users connect to the Portal and then FROM the Portal, to a BOI view pointing to the Infoview.
    Then, after investigatinon, it was my understanding that the WebI Reports should be scheduled through an Infoview token and not a portal token. In concrete terms Server Side Trust had to be implemented between the SAP BW Backend and the BOE 3.1 Server.
    And after that the users who wanted to schedule WebI reports should connect to the Infoview directly (using their SAP BW credentials) to generate an Infoview Token.
    Scheduling Webi reports from the Portal will not be solved by implementing Server Side Trust, since it is only a matter of time before the  the Portal token expires ( 8 hour by default).
    Now, I have configured the server side Trust between our BOE 3.1 SP2 and our BW 701 system, SNC configuration, PSE generation, exchange of certificats , etc ...
    I did some scheduling tests connecting directly to the BO Infoview and it works.
    But of course, now I am being told by the users that this solution is not acceptable.
    The Portal being the entry point of our Infrastructure, they don't want to connect to the Infoview to schedule their reports.
    So I opened a SAP customer call to try to have an official and clear statement from SAP but I never obtained it.
    I had a look at my SAP BO courses but I am still confused
    For example according to SAP BO100 , server side trust should be implemented when ;
    "BOE client session authenticated using Single sign on using SAP token
    (Enterprise Portal) and SAP reports are being scheduled at a future point in
    time (after token expiry date)."
    Anyone can help me to clear my mind ?
    Thank you
    Best Regards

    Hi,
    first of all lets separate the UI portion from the technical portion.
    on the technical side:
    yes for scheduling the Web Intelligence document you will need Server side trust
    on the UI side:
    - scheduling is part of InfoView
    - scheduling is part of the KM integration with the portal
    if that is not accepted from a UI point of view from the user you can create your own application to schedule documents using the SDK.
    ingo

  • Webi report scheduling error

    Hi All,
    When I am refreshing Webi report, getting error:
    Invalid Prompt definition. See your Business Objects administrator. (Error: WIS 00005)
    Please help.
    Regards,

    Hi,
    Please search the Knowledge Base for Articles before posting. www.service.sap.com/xsearch
    You need to look at :
    Note 1404402 - Expanding an WebI LOV prompt, using SAP BW Hierarchy node, fails with errors.  (FixPack2.5)
    Note 1569069 - Invalid prompt definition
    Regards,
    H

  • WebI reports Scheduling using ASG Zena Schedular(third party tool)

    I have 90 Web Intelligence reports developed i need to Schedule them using a third party tool ASG Zena, if any body has any Idea or already done this activity please respond ASAP.
    Thank you in advance.
    Regards,
    Saradhi
    9949293952

    There is no command line interface for scheduling reports, so you're going to have write a program to do the actual scheduling.  I recommend this program up so that you can pass in the report ID or name and the parameters.  That way you can use one program to schedule all reports.  Your scheduling system would then run a .bat file that contains the specific information for the report being scheduled.
    -Dell

  • Batch job scheduling based on Event AND for the job to complete

    I am trying to schedule a background job based on an event AND based on the job finishing itself.
    Example:
    Job name: Send_Message
    After Event: SAP_NEW_PROCESS Message
    Program:  Program xxxx
    I want that the Send_Message job only runs when the Event SAP_NEW_PROCESS message happens AND the Send_Message job is not running.
    Right now, I could only schedule it based on the event SAP_NEW_PROCESS Message which means that everytime this event happens the job runs and I end up having the job "Send_Message" in multilple intances where the others will immediately cancel since the first job is still running and so I end up with a lot of Cancelled job when it is not necessary to run them all when there is already 1 instance of the Job running.
    How do I set it up in SAP?

    Thanks but I am new to SAP having to set up a batch job.
    The Event "SAP_NEW_PROCESS_MESSAGES" is a standard SAP Event.  We used that such that when a new transaction comes in, the batch job will run but we don't want to run the batch job if the same batch job is already running.
    YOu mentioned that I should set up Job_0.  Do I need to create an ABAP prorgram to check if JOB_1 is running?  How do I set up Job_0?  What is the trigger for my Job_0 to run?
    You also said that I set up Job_1 and trigger that based on the outcome of Job_0 AND at the same time be triggered by the event "SAP_NEW_PROCESS_MESSAGES".  How do I set up  this Job_1 so that it can be triggered by both Job_0 and a new transaction coming in(SAP_NEW_PROCESS_MESSAGES).
    if you can provide me the step by step guide as I am new to this and I only know basic.
    The current set up I have is
    Job_1
    Job Start:
          After Event
                Event: SAP_NEW_PROCESS_MESSAGES
          Step 1: program to run RCOCB002
    I was thinking following your suggestion is this:
    Job_0
    Job Start
          After Event
                Event: SAP_NEW_PROCESS_MESSAGES
          Step 1: program to run - What will be my program to run?
    Job_1
    Job_Start
          After Event
                Event: What will be my trigger for Job_1 and how do I set it up?
          Step 1: program to run RCOCB002
    Edited by: Shirley Te on Mar 10, 2010 3:25 PM

  • Cannot connect to the OLAP source - when Scheduling WebI Report

    Hi,
    I am confused by seeing the above mentioned error on random days....
    Scenario - WebI report scheduled daily:
    Some days the report works fine and other days  it is not processing correctly but gives me this error message "Cannot connect to the OLAP source".
    Our connection is via BICS and it is SSO. Data Source is BW and we use BEX.
    Person who scheduled report has admin rights, our version is 4.0 SP7 P5.
    Please advise if anyone has faced this issue and if there is a solution, did try the community but only found that the key store was a problem but that was previous versions.
    Any help or input is much appreciated.
    Kind regards,
    Sarat.

    Hi Sarat,
    This problem can occur for multiple different reasons, so it's hard to give an advice for such symptom. Could you look at trace files from SemanticLayer component (it is hosted in APS with DSLBridge service), you should find clearer errors which can then be analyzed. There is no need to activate logs if it is still at level 'Unspecified', errors have level high enough to be output by default.
    Regards,
    Loic

  • Webi report gives old data in infoview on refresh

    Hi Experts,
    We are facing this strange issue on a webi report after some data updation in the SAP BW infocube.
    The webi report is based on the universe which is connected to an infocube in our BW dev system. After some data updation in the cube, we had tested the report in webi rich client and everything was working fine (the newly updated data from cube was reflecting). Now, we had tested the same report in infoview, but it was showing the old data only. We had tried exporting the report once again to infoview, refreshed universe structure; but without any success.
    What appeared to be even more strange was that the last refresh time was also not changing. While running the report in the infoview it hardly takes 40secs. But on refreshing it says the last refresh time was 5mins.
    Any help on this would be highly appreciated.
    Regards,
    Arun.

    it sounds like when you refresh report in Infoview you get the cached data, it never goes to the DB to fetch new one...
    You'll need to enable traces on webi processing server as well as SOFA/MDX tracing and review log files to see if requests are going to db or not and what is being returned.
    It could be at webi proc level or at your BW level.
    You can also try disabling webi caching in webi proc server properties and see what happens.

  • " STEPS TO  CREATE SELECTION CRITERIA IN WEBI-REPORTS ! "

    Hai friends ,
                                Let me know the procedure  to create a Selection Criteria on the webi-reports . Based on the Selection criteria, I should execute the report.

    aNSWERED

Maybe you are looking for