Report Publication exception

Hi,
I am using the Report Publication feature to publish WEBI and crystal reports.
I am using BOXI 3.1.
Using publication , i am sending reports in PDF format to the recepients thru Email .
The PDF's will be attached in the Email.The publication triggers daily.
My issue is that  even though there are no data in the report for a recepient, a blank report is generated and send to the recepient as an attachment.
Is there any method to stop this?
I would prefer to send an Email to the recepients who dont have any data in report on a particular day stating "There is no report today due to no data".
Is there an way to achieve this?
Regards,
Samson

Hi,
There is no out-of-box solution. There is already an Idea place  entry for this requirement here.
Do support.
https://ideas.sap.com/ct/ct_a_view_idea.bix?c=1DA84A30-1E5A-43FA-95C5-857A8B99D197&idea_id=7E9C5B32-62A9-48BA-9867-BDF2429FB5FE
However you can try with the wworkarounds specified below 2 threads
http://scn.sap.com/thread/3220011
http://scn.sap.com/thread/3205372

Similar Messages

  • WEBI Report Publication

    Hi All,
    I have created a simple BO WEBI report publication with Enterprise and Dynamic reciepent. But everytime it goes into <b>Pending </b>status.
    Please suggest me what's the reason any ideas.
    Thanks in Advance.
    Regards,
    Akash Jain

    Hi,
    Below SAP solution found in BOB Forum.
    Apply this solution, it will works fine !!
    Just add this -javaArgs "Xmx900m,Xincgc,server" in the command line of the server
    Hope this helps:
    Symptom
    Scheduled WebIntelligence reports remain stuck in 'pending' status after installing Microsoft windows patches of April 2009. Restarting the Adaptive Job Server, Central Management Server or Server Intelligence Agent has no effect.
    The Event Viewer logs show the following entry: Unable to start the sub-process (Job Server Child). Cause : Couldn't get IJob interface or writing IAudit: Pipe exception. Reason: jobserverchild (WebIJavaSchedulingService ReplicationSchedulingService, 0, Timeout waiting for Child 4716 to register (120seconds).
    Reproducing the Issue
    Install Business Objects Enterprise XI 3.x on a French Windows 2003 SP2 32bits server
    Install the following Microsoft windows update patches of April 2009:
    KB923561, KB925336, KB952004, KB956572, KB959426, KB960225, KB960803, KB961373, KB967715
    Schedule a WebIntelligence report
    The report remains in Pending status
    Business Objects Enterprise XI 3.1
    Windows 2003 SP2 32bit (French)
    Microsoft windows patches of April 2009
    Cause
    With Microsoft windows patches of April 2009, the maximum Heap Size for java processes has been reduced to under 1000MB.
    Apply the following steps to fix the issue:
    Launch the Central Management Console
    Select Servers
    Right click on <server_name>.Adaptive Job Server and select Properties
    Add the switch -javaArgs "Xmx900m,Xincgc,server" in the command line of the server
    Click on Save and Close
    Restart the <server_name>.Adaptive Job Server
    All the Best
    Madhu...

  • Programmatically adding chart to a report throws exception

    programmatically adding chart to a report throws exception "chart condition fields are not valid".
    Configuration:
    I am using CR4E to create web application, I've added RAS jars (rasapp.jar, rascore.jar, reporttemplate.jar, serialization.jar) to this web application. For designing reports i am using Crystal Reports 2008.
    Code:
    <%
    // Get the previously opened report from the session.
    ReportClientDocument reportClientDocument =
         (ReportClientDocument)session.getAttribute("ReportClientDocument");
    System.out.println(reportClientDocument.getReportDocument().getName());
    // Try to get the report's DataDefinition object.
    IDataDefinition dataDefinition;
    try
         dataDefinition = reportClientDocument.getDataDefController().getDataDefinition();
    // If the DataDefinition object can not be retrieved, redirect the user to an error page.
    catch (Exception e)
         System.out.println("With error1");
        return;
    // Create a new ChartDefinition object and set its type to ChartType.group.
    ChartDefinition chartDefinition = new ChartDefinition();
    chartDefinition.setChartType(ChartType.group);
    Get the conditional field of the report's first group. Set this conditional
    field for the ChartDefinition object using the setConditonalFields method. Notice
    that the conditional field is first placed in a Fields collection because the
    setConditionalFields method takes a Fields object as an argument.
    Fields conditionFields = new Fields();
    if (!dataDefinition.getGroups().isEmpty())
         IField field = dataDefinition.getGroups().getGroup(0).getConditionField();
         System.out.println("Condition field name ->" + field.getLongName(Locale.ENGLISH));
         conditionFields.addElement(field);
    chartDefinition.setConditionFields(conditionFields);
    //Get the summary field name from the form on the previous page.
    String summaryFieldName = URLDecoder.decode(request.getParameter("summaryField"));
    System.out.println("Summary field name ->" + summaryFieldName);
    Loop through all of the report's summary fields until the one matching the name
    above is found. Set this summary field for the ChartDefinition object using the
    setDataFields method. Notice that the summary field is first placed in a Fields
    collection because the setDataFields method takes a Fields object as an argument.
    Fields dataFields = new Fields();
    for (int i = 0; i < dataDefinition.getSummaryFields().size(); i++)
        IField summaryField = dataDefinition.getSummaryFields().getField(i);
         if (summaryField.getLongName(Locale.ENGLISH).equals(summaryFieldName))
              System.out.println("Adding data field ->" + summaryFieldName);
              dataFields.addElement(summaryField);
    chartDefinition.setDataFields(dataFields);
    Create a new ChartObject to represent the chart that will be added.  Set the
    ChartDefinition property of the ChartObject using the ChartDefinition object created
    above.
    ChartObject chartObject = new ChartObject();
    chartObject.setChartDefinition(chartDefinition);
    Get the chart type, chart placement, and chart title strings from the form on the
    previous page. If no chart title was chosen, create a generic title.
    String chartTypeString = request.getParameter("type");
    String chartPlacementString = request.getParameter("placement");
    String chartTitle = request.getParameter("title");
    System.out.println("chartTypeString ->"+ chartTypeString + "<-chartPlacementString->" + chartPlacementString + "<-chartTitle->"+chartTitle);
    if (chartTitle.equals(""))
         chartTitle = "untitled";
    Create a ChartStyleType object and a AreaSectionKind object based on the
    the chartTypeString and chartPlacementString retrieved above. In this example
    possible chart types are bar chart and pie chart. Possible chart placements
    are header and footer.
    ChartStyleType chartStyleType = ChartStyleType.from_string(chartTypeString);
    AreaSectionKind chartPlacement = AreaSectionKind.from_string(chartPlacementString);
    // Set the chart type, chart placement, and chart title for the chart.
    chartObject.getChartStyle().setType(chartStyleType);
    chartObject.setChartReportArea(chartPlacement);
    chartObject.getChartStyle().getTextOptions().setTitle(chartTitle);
    // Set the width, height, and top for the chart.
    chartObject.setHeight(5000);
    chartObject.setWidth(5000);
    chartObject.setTop(1000);
    Get a ReportDefController object that can be used to modify the report's definition.
    ReportDefController reportDefController;
    try
         reportDefController = reportClientDocument.getReportDefController();
    catch (Exception e)
         System.out.println("With Error2");
         return;
    *Create a Section object that represents the section that will hold the chart.
    If the chart placement was set header, get the header section, otherwise, if the
    chart placement was set to footer, get the footer section.
    Section chartSection = null;
    if (chartPlacement.equals(AreaSectionKind.reportHeader))
         IArea reportHeaderArea =
              reportDefController.getReportDefinition().getReportHeaderArea();
         chartSection = (Section)reportHeaderArea.getSections().getSection(0);
    else if (chartPlacement.equals(AreaSectionKind.reportFooter))
         IArea reportFooterArea =
              reportDefController.getReportDefinition().getReportFooterArea();
         chartSection = (Section)reportFooterArea.getSections().getSection(0);
    Add the chart to the section using the ReportDefController object.
    reportDefController.getReportObjectController().add(chartObject, chartSection, 1);
    // Save the changes and close the report.
    reportClientDocument.save();
    reportClientDocument.close();
    session.removeAttribute("ReportClientDocument");
    %>     
    Trace:
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The chart condition fields are not valid.---- Error code:-2147213287 Error code name:invalidChartObject
         at com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException.throwReportDefControllerException(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.add(Unknown Source)
         at org.apache.jsp.AddChart_jsp._jspService(AddChart_jsp.java:230)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:595)

    Please try this code snippet
    var cs:ColumnSeries = new ColumnSeries();
    cs.dataProvider = dp;
    cs.displayName = "Series 2";
    cs.yField = "values";
    chart.series.push(cs);
    OR
    var temp:Array = [];
    var cs:ColumnSeries = new ColumnSeries();
    cs.dataProvider = dp;
    cs.displayName = "Series 2";
    cs.yField = "values";
    temp = chart.series;
    temp.add(cs);
    chart.series = temp;

  • BEA-149218 Attempted to report an exception to DRS and received an error

    I am using Weblogic81 SP2. I have two Managed servers. I am trying to
    start a managed server through Node Manager and I get the following
    error
    ####<Nov 20, 2003 10:09:14 AM EST> <Error> <Deployer> <iolaus>
    <iolaus110> <ExecuteThread: '4' for queue: 'weblogic.kernel.System'>
    <<WLS Kernel>> <> <BEA-149218> <Attempted to report an exception to DRS
    and received an error.
    NotificationException due to underlying exception
    weblogic.drs.internal.InvalidStateException: Slave update for
    DataIdentifier DataIdentfierID: 1 received a commitFailed() call - this
    can only be called if update is in AwaitingCommitCompletion state
    at
    weblogic.drs.internal.statemachines.slave.SlaveState.commitFailed(SlaveState.java:89)
    at
    weblogic.drs.internal.DataReplicationService.notifyCommitFailure(DataReplicationService.java:375)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:581)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Does anybody know a solution or a work around please?
    Dharmesh

    Not sure if this applies to all instances, but in our case this issue was caused by an incorrect startup script for the admin node. We had neglected to include the -server flag. Adding the flag resolved the issue for us.

  • Error occurred. Contact the administrator and report the exception ID

    Dear All,
    We are on EP 7 SP8. We just now performed a system copy and are right now done with the post installation activities. All seems fine but we are having a problem in the Navigation Windown Quick Create link on the left hand side. Here I am always getting an error: Error occurred. Contact the administrator and report the exception ID in the log: 001A4B066A940068000001B500002946000433EB006CFEAC
    Can someone please guide me with how to remove this error.
    Please let me know as we are stuck and need to give the system to the client.
    Thanks a lot in advance.
    Best Regards,
    Rajeet

    Hello
    Can you see the defaulttrace file for more details?
    Open up Visual Administrator and go to Log Viewer.  Then open up the Defaulttrace file. Generate the same error message and look in the file for more details.
    What do you see?
    And of course.. What did you do to make this error ?
    Best Regards
    Kristoffer Engh

  • DB2 ConnectionServer has reported an Exception: Localization information not found

    Hi
    i'm using db2 as database for sap business object.
    if i try to connect to the database thorugh a multisource datafoundation i get this error:
    any help will be appreciated
    Adriano

    hi thank you and sorry
    Error:
    Failed to execute: SELECT
      Table__1."VV001"
    FROM
      "ADRI"."DBO"."TEST_SAP"  Table__1
    Cause of Error
    [Data Federator Driver] [Server] [Connector 'ADRI'] ConnectionServer has reported an Exception: Localization information not found : java.lang.NumberFormatException

  • Custom Report Giving Exception

    While calling my custom report from webconsole i am getting these exceptions
    Class/Method: tcReportOperationsBean/getPagedReportData encounter some problems: {1}
    Caused by [Nested Exception]:
    java.sql.SQLException: Missing IN or OUT parameter at index:: 16
    and
    C lass/Method: ReportAction/displaySectionalReport encounter some problems: Error executing stored procedure
    Please do give some suggestion.

    I am trying to find why this page does not appear : front_page_admin.cgi. My machine address is :http://y2k/identity/oblix/apps/admin/bin/front_page_admin.cgi
    I also have encountered a problem when I was setting up identity console. It gave me an option to select a user but there were no users there, including Administrator. What might have been the cause? This is the serious and major problem. Thank you in advance. Adam Earthman

  • Crystal Reports - Unhandled exception

    Good day all
    When running a report in Crystal reports addon I get the following error:
    "Unhannled Exception hes occured in you aplication. If you click continue.............."
    I am running crystal reports 2.0.0.7 on a 64bit server. Can this error be related to the Crystal runtime?
    Does the .rpt files need to be recompliled for 64bit?
    Regards
    Erika Boshoff

    I think the version you are using was developed to run on 64 bit, so this shouldn't be the issue.
    The error messages in Crystal are not very clear, check the reporting & printing forum for much more info on Crysal issues.

  • Webi report publication with org unit personalization mapping

    Hi everyone,
    I have an HR Webi report whose source is a Bex query and is scheduled (published) weekly. The report is meant for managers so in the dynamic recipient report (another webi report) I have manager's name, email and org unit. Right now the bex query does not restrict by organizational unit, the filtering by unit is done in webi through the 0employee's org unit attribute. This works, each manager only sees data of her own employees.
    However, managers would like to see not only their direct people (employees belonging to her own org unit) but also submanagers, ie, managers of subordinate org units. I tried filtering through the org unit of 0ORGUNIT, not the employee's o.unit attribute, but that doesn't work. The same manager shows up multiple times in the report.
    Has anyone managed to publish a webi report (or Crystal if that's possible) that shows the chief hat's subhierarchy?
    thanks

    Hi Graham,
    The publication should work in the same way for a user or a group.
    Can you please elaborate on u201Cassigning a user to the groupu201D, I believe this is probably where you go wrong. 
    Please test same workflow I suggested yesterady, but instead of user, use the group:
    1. create the profile
    2. add the group to the profile
    3. assign the profile value to the group for that profile
    4. add the group to the publication as Recipient
    Does it work or not?  If so, then do as follow for the user and group:
    1. create the profile
    2. Add user and group to the profile
    3. assign the profile value to the user and group for that profile
    4. add the user and group to the publication as Recipient
    Please note that in the above steps, you donu2019t have to assign the user to the group.
    Regards,
    Jeff

  • Excel Report JSP Exception

    Hello All,
    I am unsuccessfully following the "Output to Excel with Oracle9i Report" tutorial found at http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html to create a web-based JSP report that automatically opens in Excel within the browser. I created the template using Excel, saved this as a web page, opened this in Reports Builder, etc. Once I complete the report in Reports Builder and save it as a Reports JSP, I can successfully run this within Reports Builder using the "Run Web Layout" feature. The problem is when I try to run this JSP within my web-application in JDeveloper using the in-line reports server. The browser launches Excel, but then the ReportsTag.doStartTag() method throws a JspException (see below). Anyone seen this problem or been successful achieving this? I have a normal web-based JSP report that is running fine within JDeveloper using the reports in-line server. Also, the only way I could get my web/paper-based report to be generated in PDF format and Paginated HTML was to start a separate reports server and submit my report to the rwservlet of this server. Shouldn't I be able to use the in-line server in JDeveloper? Any help or ideas would be greatly appreciated. Thanks!
    Exception I'm getting from Excel Report: javax.servlet.jsp.JspExceptionjavax.servlet.jsp.JspException
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:341)
    at jsp.reports._schedule._Excel._jspService(_Excel.java:58)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Hi Bill
    Let me clarify your doubts. You can use in-process Reports server with report servlet as well as from the jsp engine. The difference here is really on what Reports you can actually run from Reports servlet and jsp engine.
    For running from Report servlet:
    http://xx.x.xx.xxx:9004/reports/rwservlet?reports=...
    You would be using report definition file [rdf/jsp] which have paper layout information included in definition. You can run these paper reports to pdf/html/rtf/delimited/delimitedata format.
    Runnig a reports from jsp engine:
    http://xx.x.xx.xxx:9004/reports/examples/<reports_name.jsp>?server=...+userid=...
    You would be running a report definition [jsp/xml] which have reports jsp tags as part of reports web layout information. Please note these web layout reports which you mention using reports jsp tags, are run under the jspengine using reports tag libraries. The only format you can generate here is html [or excel output].
    Reports in-process server is a concept where if user has not started a exclusive Report server, Report servlet, and also reports tag libraries, would start a default reports server to run the particular request. This way it would make things easy for the user and he would need to manage a seperate report server of it own.
    Thanks
    Rohit

  • Crystal Reports publication personalization with an OR statement

    Hello,
    I want to publish a crystal report but do not see a method to implement an OR statement like you can with interactive filters or query prompts.
    Currently any personalization’s I make are all AND filter. My report when run on demand can bring back data where a Program (department) is either the Identifying Program OR the Responsible program. 80% of the time they are the same, but there are cases where they can be different. For example a Laboratory identifies an issue that the Emergency department is responsible for.
    Example Filter for Publication
    Health Authority = Organization 1
    AND Facility = Hospital 1
    AND (
        Responsible Program = Medicine
        OR
        Identifying Program = Medicine
    AND Specific Location = 3 South
    Currently am using dynamic recipients, but am open to any method to make it work. Dynamic recipients are used since we send 90% of publications to users outside of our analytics.
    Thank you
    Darren

    Hi Dareen,
    This is related to BI Admin(Infoview), But this is crystal design forum. I think you can post this thread in this link (BI Platform)
    --Naga

  • Single DB hit for Report Publication

    We have some Crystal Reports and Webi Reports
    Each Report we need to distribute to the end users in PDF/Excel Format. For Each reports the users >10000 members 
    Currently we are generating the reports trough publications . We have implemented role based / hierachy based secuirity in one table ( with has BOUSERID Filed ) and that table we are joining with Reporting table and created BOUSERID prompt( This wiill be in Where class of the underlying report query )
    This parameter is associated with profile value ( Profile Value is BOUSERID System variable )
    So basically the personification with BOUSERID  Profile value and the report hits the DB for 1000 times This is time consuming
    My Planing to implement the Single DB hit and  divide the report to all the users through Publication . Dynamic distribution is not good for our requirement
    Please suggest me best approach and steps to achieve
    Thanks in advance
    Yogi

    Thanks for the info! I was afraid that it wasn't possible to restrict RAS to one DB connection if the report has subreports.
    I tried choosing the "Connections stay open until report is finished" option when configuring RAS so that my temporary table would remain available for the subreports to use, but this didn't work.
    How do I (or can I even) keep a temporary table until the end of my report with a report with subreports using RAS? 
    The report works fine as written in Crysatl XI and it works using RAS if the subreports runs the same query that the main report ran instead of trying to use a temp table, but it takes significantly longer to run when each subreport has to do the complex query over again.

  • Crystal Reports Publication fails when using dynamic recipients

    Hi experts,
    We are facing a problem related with the BOE 3.1 Dynamic recipients Publication.
    We have created a Publication with just one Crystal Report based on a MDX Query.  We send the report in PDF format to email destinations
    Dynamic recipients are defined in a WebI report pulling data from a BW query universe. We can display the email, user ID, Use Name and other fields we would like to use as dynamic parameters.
    Server side trust seems to be configured (is there any way to test it is properly configured?).
    The Publication is working fine with enterprise recipients (which have SAP BW account), and each recipient receive its PDF by email.
    When we execute same report with dynamic recipients without selecting dynamic personalization parameters it is working fine. But when we select one dynamic parameter (which is coming from the WebI report we use for dynamic recipients) eg: Profit Centre, the Publication fails and we get a Database Connector error:
    2011-02-14 08:53:25,275 ERROR [PublishingService:HandlerPool-13] BusinessObjects_PublicationAdminErrorLog_Instance_31036 - [Publication ID # 31036] - Scheduling document job "P&L" (ID: 31,051) failed: Error in File ~tmp191067bfa343ff0.rpt: Database Connector Error (FBE60502) [1 recipients processed.]
    How can a dynamic parameter affect on the Database Connection?
    Does anyone have an idea about what could be wrong?
    Thanks!

    Ino, what do you mean for "technical name or the member unique name"? Are you talking about the SAP User name? So in the dynamic recipients we can find  these parameters:
    - Recipient Identifier (required):      
    - Full Name:      
    - Email:      
    In the Recipient Identifier I should refer to a SAP user?
    Dynamic recipients option is working for same recipients. The problem appears when I assign one parameter to a field coming from the dynamic webi report.It fails with the previously detailed error. This parameter assignment seems to be causing the Database Connector error.
    Message in CMC:
    2011-02-14 17:00:25,590 ERROR [PublishingService:HandlerPool-24] BusinessObjects_PublicationAdminErrorLog_Instance_31594 - [Publication ID # 31594] - Scheduling document job "B1 - P&L" (ID: 31,603) failed: Document for recipients {BD1~500/EVER} failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error Document for recipients {EVER, JOHNDOE} failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error Document for recipients failed: Error in File ~tmpa0067c160f93d0.rpt: Database Connector Error (FBE60502) [4 recipients processed.]
    Error in the Adaptive jobserver trace does'nt give more details:
    |1c2fd2be-3ba1-f414-f8fa-e4f7b004f1ee|2011 02 14 17:00:18:974|+0000|==| | |jobserver_vwd2520.AdaptiveJobServer_CRCPPSchedulingService_CHILD0| 2560|4856|| |6187|1|11|2|CMC.WebApp|vwd2520:1624:39.23486:1|CMS.runJobs|localhost:8392:11648.936338:1|jobserver_vwd2520.AdaptiveJobServer_CRCPPSchedulingService_CHILD0.run|localhost:2560:4856.5:1|CntazqXlSEO7hcDJVIv11545bbb|||||||||||(.\src\reportdllerrors.cpp:140) ras21-cr: procReport.dll: CRPE FAILED: GetLastPEErrorInfo(1) returns crpe error code [707] with extended error string [Database Connector Error: ''
    Failed to retrieve data from the database.
    Failed to export the report.
    Error in File ~tmpa0067c160f93d0.rpt:
    Database Connector Error]. Localized error string is [Error in File ~tmpa0067c160f93d0.rpt:
    Database Connector Error]
    I would like to discard thats a SNC misconfiguration error. Can I consider that SNC server side trust is properly configured if I can run Publication for many SAP users mapped in Enterprise?
    Thanks!

  • Unhandled COMException Message: No Error. during printing some reports, extend Exception Info

    Hi,
    i'm using Crystal Reports for VS version 13.0.13.1597 with Visual Studio 2013
    Unfortunately I get a COMExeption when trying to Print some reports after previously displaying a preview using the CrystalDecisions.Windows.Forms.CrystalReportViewer Component.
    System.Runtime.InteropServices.COMException was unhandled by user code
      HResult=-2147483648
      Message=
    No Error.
      Source=rptcontrollers.dll
      ErrorCode=-2147483648
      StackTrace:
           at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetPage(PageRequestContext pPageRequestContext)
           at CrystalDecisions.ReportSource.EromReportSourceBase.GetPage(PageRequestContext pageReqContext)
           at CrystalDecisions.CrystalReports.Engine.FormatEngine.QueryPageSettingsEventHandler(Object sender, QueryPageSettingsEventArgs e)
           at System.Drawing.Printing.PrintDocument.OnQueryPageSettings(QueryPageSettingsEventArgs e)
           at System.Drawing.Printing.PrintDocument._OnQueryPageSettings(QueryPageSettingsEventArgs e)
           at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
           at System.Drawing.Printing.PrintController.Print(PrintDocument document)
           at System.Drawing.Printing.PrintDocument.Print()
           at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, Boolean reformatReportPageSettings)
           at Soloplan.CarLo.Printing.PrintAdapterCrystalReports2011.Print() in c:\project.net\Soloplan\CarLo\Printing\PrintAdapterCrystalReports2011.cs:Line 1528.
      InnerException:
    As you can see the error message is a bit short on information what went wrong, especially the Message: No Error.
    Is there any possiblity to extend the information on this exception?
    The behavior is reproducible with some reports, while others work just fine, and even with the problematic reports it only when the call of the Print function is done while the preview is shown.
    I hope someone can point me in the right direction.
    Thanks
    Johannes

    Wow. It's been a long, long time since I've seen CR throw error: no error (like v. 4.5 or so...). Used to chuckle about it - I think I even saved a screenshot of it
    It will be good to have more info on this:
    Win or web app?
    Printer used.
    Printer driver name and version.
    The reports that do not work throw the error consistently?
    Code used to print the reports.
    Is this a threaded app?
    Do you get the issue printing from the viewer?
    Do you get the issue printing from the designer viewer?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • OSB Message Reports - Purge Exception

    Hello everybody,
    The Purge Messages functionality in the sbconsole (Reporting > Message Reports > Message Reports) results in this Console Exception
    Message: javax.naming.ServiceUnavailableException (Root exception is java.net.UnknownHostException: null: null)
    Type: java.net.UnknownHostException
    with the following stack trace:
    (InetAddress.java:1128) java.net.InetAddress.getAllByName0()
    (InetAddress.java:1098) java.net.InetAddress.getAllByName0()
    (InetAddress.java:1061) java.net.InetAddress.getAllByName()
    (RJVMFinder.java:414) weblogic.rjvm.RJVMFinder.getDnsEntries()
    (RJVMFinder.java:181) weblogic.rjvm.RJVMFinder.findOrCreate()
    (ServerURL.java:154) weblogic.rjvm.ServerURL.findOrCreateRJVM()
    (WLInitialContextFactoryDelegate.java:350) weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext()
    (Environment.java:307) weblogic.jndi.Environment.getContext()
    (Environment.java:277) weblogic.jndi.Environment.getContext()
    (WLInitialContextFactory.java:117) weblogic.jndi.WLInitialContextFactory.getInitialContext()
    (NamingManager.java:667) javax.naming.spi.NamingManager.getInitialContext()
    (InitialContext.java:247) javax.naming.InitialContext.getDefaultInitCtx()
    (InitialContext.java:223) javax.naming.InitialContext.init()
    (InitialContext.java:197) javax.naming.InitialContext.()
    (ReportingUtil.java:64) com.bea.wli.reporting.jmsprovider.utils.ReportingUtil.getContextForCluster()
    (ReportingMessagePurgerImpl.java:75) com.bea.wli.reporting.jmsprovider.runtime.ReportingMessagePurgerImpl.__sendPurgeMessage()
    (ReportingMessagePurgerImpl.java:36) com.bea.wli.reporting.jmsprovider.runtime.ReportingMessagePurgerImpl.access$000()
    (ReportingMessagePurgerImpl.java:54) com.bea.wli.reporting.jmsprovider.runtime.ReportingMessagePurgerImpl$1.run()
    (ReportingMessagePurgerImpl.java:53) com.bea.wli.reporting.jmsprovider.runtime.ReportingMessagePurgerImpl$1.run()
    (AuthenticatedSubject.java:363) weblogic.security.acl.internal.AuthenticatedSubject.doAs()
    (:-1) weblogic.security.service.SecurityManager.runAs()
    (SecurityModuleImpl.java:376) com.bea.wli.sb.security.SecurityModuleImpl.runAlsbPrivilegedAction()
    (ReportingMessagePurgerImpl.java:52) com.bea.wli.reporting.jmsprovider.runtime.ReportingMessagePurgerImpl.sendPurgeMessage()
    (ReportingHelper.java:194) com.bea.alsb.console.oam.reporting.jmsprovider.ReportingHelper.purgeMessages()
    (ReportManagementFlow.java:332) com.bea.alsb.console.reporting.jmsprovider.ReportManagementFlow.purge()
    (NativeMethodAccessorImpl.java:-2) sun.reflect.NativeMethodAccessorImpl.invoke0()
    (NativeMethodAccessorImpl.java:39) sun.reflect.NativeMethodAccessorImpl.invoke()
    (DelegatingMethodAccessorImpl.java:25) sun.reflect.DelegatingMethodAccessorImpl.invoke()
    (Method.java:585) java.lang.reflect.Method.invoke()
    (FlowController.java:870) org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod()
    (FlowController.java:809) org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward()
    (FlowController.java:478) org.apache.beehive.netui.pageflow.FlowController.internalExecute()
    (PageFlowController.java:306) org.apache.beehive.netui.pageflow.PageFlowController.internalExecute()
    (FlowController.java:336) org.apache.beehive.netui.pageflow.FlowController.execute()
    (FlowControllerAction.java:52) org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute()
    (RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.processActionPerform()
    (PageFlowRequestProcessor.java:97) org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201()
    (PageFlowRequestProcessor.java:2044) org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute()
    (ActionInterceptors.java:91) org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction()
    (PageFlowRequestProcessor.java:2116) org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform()
    (SBConsoleRequestProcessor.java:89) com.bea.alsb.console.common.base.SBConsoleRequestProcessor.processActionPerform()
    (RequestProcessor.java:236) org.apache.struts.action.RequestProcessor.process()
    (PageFlowRequestProcessor.java:556) org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal()
    (PageFlowRequestProcessor.java:853) org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process()
    (AutoRegisterActionServlet.java:631) org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process()
    (PageFlowActionServlet.java:158) org.apache.beehive.netui.pageflow.PageFlowActionServlet.process()
    (ConsoleActionServlet.java:241) com.bea.console.internal.ConsoleActionServlet.process()
    (ActionServlet.java:414) org.apache.struts.action.ActionServlet.doGet()
    (ConsoleActionServlet.java:130) com.bea.console.internal.ConsoleActionServlet.doGet()
    (SBConsoleActionServlet.java:49) com.bea.alsb.console.common.base.SBConsoleActionServlet.doGet()
    (PageFlowUtils.java:1170) org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup()
    (ScopedContentCommonSupport.java:686) com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction()
    (ScopedContentCommonSupport.java:142) com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal()
    (PageFlowStubImpl.java:106) com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction()
    (NetuiActionHandler.java:107) com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction()
    (NetuiContent.java:180) com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction()
    (NetuiContent.java:168) com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction()
    (NetuiContent.java:223) com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData()
    (ControlLifecycle.java:178) com.bea.netuix.nf.ControlLifecycle$2.visit()
    (ControlTreeWalker.java:324) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:334) com.bea.netuix.nf.ControlTreeWalker.walkRecursive()
    (ControlTreeWalker.java:130) com.bea.netuix.nf.ControlTreeWalker.walk()
    (Lifecycle.java:375) com.bea.netuix.nf.Lifecycle.processLifecycles()
    (Lifecycle.java:341) com.bea.netuix.nf.Lifecycle.processLifecycles()
    (Lifecycle.java:332) com.bea.netuix.nf.Lifecycle.processLifecycles()
    (Lifecycle.java:164) com.bea.netuix.nf.Lifecycle.runInbound()
    (Lifecycle.java:139) com.bea.netuix.nf.Lifecycle.run()
    (UIServlet.java:377) com.bea.netuix.servlets.manager.UIServlet.runLifecycle()
    (UIServlet.java:253) com.bea.netuix.servlets.manager.UIServlet.doPost()
    (UIServlet.java:194) com.bea.netuix.servlets.manager.UIServlet.service()
    (SingleFileServlet.java:266) com.bea.netuix.servlets.manager.SingleFileServlet.service()
    (HttpServlet.java:820) javax.servlet.http.HttpServlet.service()
    (AsyncInitServlet.java:124) weblogic.servlet.AsyncInitServlet.service()
    (StubSecurityHelper.java:226) weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run()
    (StubSecurityHelper.java:124) weblogic.servlet.internal.StubSecurityHelper.invokeServlet()
    (ServletStubImpl.java:283) weblogic.servlet.internal.ServletStubImpl.execute()
    (TailFilter.java:26) weblogic.servlet.internal.TailFilter.doFilter()
    (FilterChainImpl.java:42) weblogic.servlet.internal.FilterChainImpl.doFilter()
    (RequestEventsFilter.java:26) weblogic.servlet.internal.RequestEventsFilter.doFilter()
    (FilterChainImpl.java:42) weblogic.servlet.internal.FilterChainImpl.doFilter()
    (WebAppServletContext.java:3393) weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()
    (AuthenticatedSubject.java:321) weblogic.security.acl.internal.AuthenticatedSubject.doAs()
    (:-1) weblogic.security.service.SecurityManager.runAs()
    (WebAppServletContext.java:2140) weblogic.servlet.internal.WebAppServletContext.securedExecute()
    (WebAppServletContext.java:2046) weblogic.servlet.internal.WebAppServletContext.execute()
    (ServletRequestImpl.java:1366) weblogic.servlet.internal.ServletRequestImpl.run()
    (ExecuteThread.java:200) weblogic.work.ExecuteThread.execute()
    (ExecuteThread.java:172) weblogic.work.ExecuteThread.run()
    Turning on full debug logging for the AdminServer didn't yield any useful information.
    Apart from that the OSB seems to work fine in our application so we're wondering what's causing this error?
    This is using WebLogic Server 10.0 and ALSB 3.0.
    Any help is appreciated.
    Cheers,
    Jan

    Hi,
    I am also getting the same error.
    I have a standalone instance of OSB .The OS is Red hat linux Enterprise edition.
    Regards,
    Vivek Kumar

Maybe you are looking for