Scheduling Reports To Inbox

Hi All,
I am facing problems while scheduling reports to inbox. As per one of the step given in sdk, I require to downcast the infoObject instance to report instance using:
InfoObject infoObject  = infoObjects[1]
Report report = (Report) infoObject.
I am getting an error in the second line saying:
"Cannot convert type 'CrystalDecisions.Enterprise.InfoObject' to 'Report'. "
Request you to help me with the same and provide me the necessary pointers.
Regards
Rajat

Hi Rajat,
Do you have CrystalDecisions.Enteprise.Desktop.Report added as a reference?
That should work, but you can also try
Report boReport = new Report(infoObject.GetPluginInterface("Report"));
Jason

Similar Messages

  • Schedule report to Inbox. No destinations available.

    A user is trying to schedule a report to go to another user's Business Objects inbox. When they go to Destinations the list of available users is blank. When I try this as an Administrator there is a full listing of Users. Is there a way to get this list of users to show up for him?

    I was hoping the user could schedule a report to be delivered to another user's inbox and not have direct access to it. I'm guessing now that it won't be possible. This all needs to be automated so manually forwarding won't work. I might have to schedule these using my Admin ID.
    Any other suggestions would be appreciated. We have about 40 reports that need to run daily and be delivered to several different users.

  • Schedule XI3.0 Webi report to Inbox

    Hi there,
    my customer schedules a simple Webi report to Inbox and it fails with the error;                                                                               
    "login error. [Internal error: Unable to initialize the session manager.]: [CrystalEnterprise.Managed]
    Are there any rights that need to be added to the Adaptive Job Server to "enable" this functionality?
    I checked the user account boadmin (Business Objects Administrator) is used to start the BO software and owns the processesu2026
    Directory permissions for /export/home/boadmin/bobje/data/procSched/cgsmprpt01.AdaptiveJobServer read, write and execute for boadmin
    All other schedules work fine.
    Installation is Solaris10, XI3.0 unpatched.
    TRACE log reads;
    (false : Failed to initialize the session manager object successfully m_sessionManager).
    [Wed Oct  7 09:56:25 2009]     1353     14274     assert failure: (../ocaframework/ServiceMgrFactory.cpp:94). ((s_svcMgr != NULL) : s_svcMgr shouldn't be null when release).
    [Wed Oct  7 09:56:25 2009]     1353     14274     assert failure: (encomsessionmgr.cpp:497). (false : Failed to initialize the session manager object successfully m_sessionManager).
    Any ideas?
    Thanks,
    John

    Hi Prashant,
    The users have the "Schedule to Destination" rights and the Destination plugin is configured\enabled on the Adaptive Job Server.
    The problem seems to be with the Adaptive Job Server, logging in and\or launching the Session Manager, but only when the Destination is Inbox.
    I know that the Adaptive Job Server can request the report from the Input File Repository Server then connect to the database to retrieve datau2026finally copy the report to Output FRSu2026however whichever service\subcomponent is responsible for then copying it to the users Inbox canu2019t do sou2026 I assume the users Inbox is actually a meta data configuration which is held in the CMS configured databaseu2026 so it must be inserting\updating a record somewhere which it canu2019t do for some reason.
    Do you have any ideas on gathering further information on the Session Manager?
    Thanks,
    John

  • Scheduling Report through InfoView - Destination Email

    My question pertains to InfoView in Crystal Report Server 2008.  I am trying to set up a scheduled report to run once, and be emailed as a pdf to my own email address.  I am using the administrator account and can successfully do this through the CMC, but when I try to schedule the report through InfoView, the destination always reverts back to the Inbox destination rather than the email destination.  The job has a successful status, but the destination is always the Inbox.
    I am fairly confident my job servers are set up with the proper SMTP information since I am successful when trying this through the CMC and I am setting everything the same through InfoView. 
    Any ideas?

    Hello,
    This is Crystal Report Server 2008 and I guess Business Objects Enterprise 3.0.  
    When scheduling a report through InfoView I do the following:
    Recurrence - Now
    Format - I choose PDF, although it doesn't really matter for the problem I am having.  
    Destination - I choose email from the dropdown, there is no checkbox to ignore the defaults.  I have to input my own information.  I populate the From, To, and Subject boxes.  I also choose to have an attachment sent.  
    I click the Schedule button and I am taken to the History window.  The job has a status of Running.  I choose refresh and the job completes with a status of Success.  However, when I click the status and the Instance Details are shown, the external destination line reads as Inbox and no email is delivered.  The report is delivered to the InfoView user's inbox, but not in an email as I selected.  
    This process works when performed through the CMC, but not through InfoView.
    Edited by: vtrujillo on Oct 8, 2009 5:13 PM

  • 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

  • How can I send scheduled reports to group of users?

    Hi,
    I want to schedule some reports and send the results to a group of users, which use InfoView. I know that there is an option in the scheduler to send scheduler results to the business objects inbox. By deselecting "standard settings" I can send them to the inboxes of all members of the group.
    The problem is, that I have lots of user groups and lost of reports to schedule. Therefore I want to use the web service consumer SDK to configure the scheduler. The SDK allows to configure the business objects inbox as destination, however it seems to lack the functionality to use any other inbox than the one of the logged in user.
    So my questions are:
    - Have I overseen a way to send scheduled reports to multiple inboxes using the web service consumer SDK?
    - As an alternative, is it possible to configure an inbox so it is shown as additional inbox in the InfoView of a user group? Something like a "shared group inbox"?
    - As an alternative, is it possible to have a shared group folder and send the scheduled report there?
    Thanks for any help
    Joern

    Hi Jorn,
    I don't know SDK so can't answer that part.
    Regarding the other questions:
    - As an alternative, is it possible to configure an inbox so it is shown as additional inbox in the InfoView of a user group? Something like a "shared group inbox"?
    The answer is no. The Inboxes are associated to one account and you need to be logged in with that account to access it.
    - As an alternative, is it possible to have a shared group folder and send the scheduled report there?
    Outside of BO yes. You can schedule reports to a shared folder on your network. But not in BO. You can only create an instance where the original report is saved.
    Another thing that might help you, would be to have a look at publications. You can schedule several reports at the same time and send them to different groups. It will save a lot of time compared to doing it for each report.
    Regards,
    Philippe

  • Need a way to Hide the Destinations (FTP, Email...) when scheduling reports

    We do not have destinations set up for FTP, email and unmanaged disk in our environment due to our stringent security requirements.  Even after being told these are not available, our users continue to try to schedule the report to go to these destinations and they are causing the reports to fail and utilize database resources for a report that will not complete successfully.
    Does anyone know if there is a way to hide the destinations from users when they schedule reports?  I know this was an option a couple of versions back but I cannot find it in BOE XI3.1 SP3.  The only option we want our users to see is Inbox and their personal folders.
    Our environment is:
    Windows Server 2003 SP2
    Tomcat 5.5.30
    Java 1.6
    BOE XI 3.1 SP3 FP3.2
    Thanks.
    Rich

    Hi,
    We can control distinations by configuring them on Respective Servers, which should be protected from business users.
    Assuming that you wish to configure only email as destination for Crystal Reports,  then
    Step 1 : Access properties of Server-> CrystalReportsJobServer
    Step 2 : Choose only valid Desitnations that you wish to provide, In our case it is only eMail
    Always go for cloning existing server if you are customization. Which is good practice than directly working on default server.
    HTH
    B Ravi Shankar

  • 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.

  • Failed to schedule report in Excel format

    We have successfully scheduled report in PDF format, however, we go the error message "Error in File D:\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\eagnmnsx2c5.reportjobserver\~tmp2ee063064fe000e.rpt: The request could not be submitted for background processing" if we select excel as schedule format.
    Anyone has any idea why it's happened?
    Thank you very much for your help.

    If you are using BOE Java SDK please refer to the following link for the code:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaBusinessObjectsEnterpriseSDKSamples
    Select Scheduling option to get quick access to the code.
    Also see if you can schedule the report to excel format through CMC or not.
    Regards,
    Anuj

  • 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.

Maybe you are looking for

  • How do i use iTUNES vouchers?

    Hey all thanks fro your time, i am soom going to purchase some itunes vouchers because we have to start paying for the fab Ricky Gervais Podcast which i dont mind paying for. but because i am only 15 i can not yet access internet shopping through pla

  • Display flash elements based on Coldfusion Query

    I would like to have my page display certain flash elements that are dictated by the html content on the main part of the page. The main content would come from a query that contains primary keys. Now, the question is, can I get flash to display the

  • SQL to Oracle Linked Server

    I am trying to create a linked server from SQL2000 to Oracle9i. i have done followings: Install Oracle9i client on sql server machine. Create a tnsname entry for my oracle database. Created a linked server using following query: exec sp_addlinkedserv

  • I can't connect with my new iPad 3 wify to use facetime

    I get immediate resp viewing CNN bbc etc using this wonderful nEw iPad 3 but when I sign for FaceTime with my apple I'd, I RECV MSG that I m not connected n SHD check my wifi conn which, in fact, is perfect, allowing me to see bbc or RECV n send EMS

  • Trackpad not viewing correctly

    my trackpad in sytem prefereces looks like this: This is not the way it should look. It does not offer me the chance to make the Lion type changes I seek. I reinstalled Lion and still it made no differecne. Can anyone help