Hierarchy in Report Designer

Hi,
I have a query with a Hierarchy in the Rows, and I tried to create a Report with report Designer (SP3) on this Query.
It seems that the RD has Problem with the Hierarchy in my Query, when I run the RD in Print version (PDF) it shows only the title row of the report with a Failure from Adobe Reader: Wrong Operand type
but when I run the report in Web it works without problem.
can any body tell me how to solve this Problem
Thanks

Hi Martin
Stack 14 resolved this issue for us.
Please see following link.
http://help.sap.com/saphelp_nw70/helpdata/en/47/1006577c853128e10000000a1553f7/frameset.htm
Regards
Nick

Similar Messages

  • Different chart for each level hierarchy in report designer

    Is there a way to display a different chart for each level of the hierarchy in a report designer? I want a different chart for each level. That is, if there are 5 nodes in level 4, I want 5 different nodes. Is there a way to do this? I tried to insert the chart inside a cell in each level, but it shows the same chart for all nodes instead of a different chart for each node.

    Has any one tried using a context sensitive chart?  According to this, it seems like this should be possible, but I am having no luck.
    http://help.sap.com/saphelp_nw70/helpdata/en/47/a99a0a5fdb0985e10000000a42189c/frameset.htm

  • Report Designer - Summary page based on 3 queries with dynamic hierarchy?

    Dear All,
    I am trying to build a workbook based on 3 queries with a summary page that pulls in the query data into one page.
    Each query is based on one key figure that is split by profit centre hierarchy.
    i.e.
    Turnover
    -Profit Centre Node A
    -Profit Centre Node B
    -Profit Centre Node C
    > Profit Centre C1
    > Profit Centre C2
    The user can dril-down into each query at whatever level of the PC Hierarchy they wish.
    My issue is trying to structure a dynamic summary page that pulls in all rows from the individual queries regardless of the number of profit centre hierarchies contained in each. i.e. The summary could have 5 PCs for queries 1,2 & 3 in one execution, but then 10 for all queries in another execution.
    Question:
    Can report designer be used to make a dynamic summary sheet that will capture all rows from the individual query? or would an excel macro summary be the only way of doing this?

    Hi Ingo,
    After much testing and looking into trace etc. we have got this thing to behave as desired. Basically, following two things,
    - no reference to CR Dynamic Hierarchy variable on report. There were places where this parameter was being refered and causing grief. We tested with brand new report.
    - making sure that on query Cost center restriction is placed in Characteristic Restriction area of Filter tab of query, as oppose to default value area filter tab.
    With above in place, the published report in infoview behave as desired, i.e. proper hierarchy structure in cost center prompt and group tree and only desired nodes showing on report.
    Thank you for all you pointers
    Regards
    IMS

  • Report designer error for hierarchial structure on Columns

    Hello,
    I have a query with a structure in rows and another one in columns. I also have a 0COMPANY hierarchy Dimension within the Columns.
    When I insert the data provider into a report designer report, I receive the following error:
    "Query contains a hierarchial structure on Column(s)..."
    Has any one encountered this issue before? Is there a note or workaround available?
    Thank you.
    Sri Yalla

    Hi,
    the report designer need to have a fixed number of columns. If you have a Hierarchical Structure in the Columns, the number of columns can change. Therefore Report designer does not allow to use this DP in this drill down. You should place the Row structure to the columns and the hier-structure to the rows. then it should work.
    best regards,
    kai

  • Hierarchy Node display in report designer

    Hi,
    Urgent please help me out.
    I have an issue with report designer. I created a static report in Query designer with 2 structures. When i try to include this query in Report designer, only the last level nodes are getting into the Report designer. All the above level nodes are not featuring in Report designer.
    Please help me how to make these top nodes visible in Report Designer.
    Points are assured for each reply

    thanks Ajeet ,
    But this is regarding Report Designer where i create appliction which is based on the WAD or Bex Query . Do we have any setting in Report designer where we can check the selection input which user has given while execution of the report.
    Thnks . please advice.
    Regards

  • How to convert Report Model to Report Designer DataSet

    To all,
    I have a two part question. One is I am experiencing the error at the end of this question when migrating SQL Server 2005 SSRS Native Reports, the report uses a Report Model, to SQL Server 2008 SSRS Native. I bring the Report and Report Model to SQL Server 2008 SSRS and get the error at the end of the question below. Background and the 2nd question are below.
    I have a bunch of Report Builder based Reports. I need to convert them to VS BIDS based Report Designer Reports with Shared Datasources and MDX based DataSets.
    How can I grab the MDX from the Report Builder Report Model so I can put it into the Report Designer DataSet Query Definition?
    What is the easiest way to make this migration between these Report development environments.
    I am able to open the Report.RDL file in VS BIDS and can see the entire UI layer. The DataSet I see here is the one that is related to the error at the end of the question. The RD/DataSet holds:
    <SemanticQuery xmlns="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rb="http://schemas.microsoft.com/sqlserver/2004/11/reportbuilder" xmlns:qd="http://schemas.microsoft.com/sqlserver/2004/11/semanticquerydesign">
      <Hierarchies>
        <Hierarchy>
          <BaseEntity>
            <!--Fact Messages-->
            <EntityID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Entity_MeasureGroup_DW_Text_Fact_Messages</EntityID>
          </BaseEntity>
          <Groupings>
            <Grouping Name="Date">
              <Expression Name="Date">
                <Path>
                  <RolePathItem>
                    <!--Dim Date-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Full Date-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Full_Date</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
            <Grouping Name="Hour">
              <Expression Name="Hour">
                <Path>
                  <RolePathItem>
                    <!--Dim Time-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Time_Entity_Dimension_DW_Text_Dim_Time</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Hour24-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Time.Hour24</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
            <Grouping Name="Year">
              <Expression Name="Year">
                <Path>
                  <RolePathItem>
                    <!--Dim Date-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Year-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Year</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
          </Groupings>
          <Filter>
            <Expression Name="expr1">
              <Function>
                <FunctionName>And</FunctionName>
                <Arguments>
                  <Expression>
                    <Function>
                      <FunctionName>And</FunctionName>
                      <Arguments>
                        <Expression>
                          <Function>
                            <FunctionName>GreaterThanOrEquals</FunctionName>
                            <Arguments>
                              <Expression>
                                <Path>
                                  <RolePathItem>
                                    <!--Dim Date-->
                                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                                  </RolePathItem>
                                </Path>
                                <AttributeRef>
                                  <!--Date-->
                                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Date</AttributeID>
                                </AttributeRef>
                              </Expression>
                              <Expression>
                                <Function>
                                  <FunctionName>DateAdd</FunctionName>
                                  <Arguments>
                                    <Expression>
                                      <Literal>
                                        <DataType>String</DataType>
                                        <Value>Day</Value>
                                      </Literal>
                                    </Expression>
                                    <Expression>
                                      <Function>
                                        <FunctionName>Negate</FunctionName>
                                        <Arguments>
                                          <Expression>
                                            <ParameterRef>
                                              <ParameterName>Date  in last  (n)  days</ParameterName>
                                            </ParameterRef>
                                          </Expression>
                                        </Arguments>
                                      </Function>
                                    </Expression>
                                    <Expression>
                                      <Function>
                                        <FunctionName>Today</FunctionName>
                                      </Function>
                                    </Expression>
                                  </Arguments>
                                </Function>
                              </Expression>
                            </Arguments>
                          </Function>
                        </Expression>
                        <Expression>
                          <Function>
                            <FunctionName>LessThan</FunctionName>
                            <Arguments>
                              <Expression>
                                <Path>
                                  <RolePathItem>
                                    <!--Dim Date-->
                                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                                  </RolePathItem>
                                </Path>
                                <AttributeRef>
                                  <!--Date-->
                                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Date</AttributeID>
                                </AttributeRef>
                              </Expression>
                              <Expression>
                                <Function>
                                  <FunctionName>Today</FunctionName>
                                </Function>
                              </Expression>
                            </Arguments>
                          </Function>
                        </Expression>
                      </Arguments>
                    </Function>
                    <CustomProperties>
                      <CustomProperty Name="qd:FilterCondition" />
                    </CustomProperties>
                  </Expression>
                  <Expression>
                    <Function>
                      <FunctionName>Equals</FunctionName>
                      <Arguments>
                        <Expression>
                          <Path>
                            <RolePathItem>
                              <!--Dim Volume-->
                              <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Volume_Entity_Dimension_DW_Text_Dim_Volume</RoleID>
                            </RolePathItem>
                          </Path>
                          <AttributeRef>
                            <!--Description-->
                            <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Volume.Description</AttributeID>
                          </AttributeRef>
                        </Expression>
                        <Expression>
                          <Literal>
                            <DataType>String</DataType>
                            <Value>Volume</Value>
                          </Literal>
                        </Expression>
                      </Arguments>
                    </Function>
                    <CustomProperties>
                      <CustomProperty Name="qd:FilterCondition" />
                    </CustomProperties>
                  </Expression>
                </Arguments>
              </Function>
              <CustomProperties>
                <CustomProperty Name="qd:Filter" />
                <CustomProperty Name="qd:ContextEntityID">
                  <Value xsi:type="xsd:string">http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling:Entity_MeasureGroup_DW_Text_Fact_Messages</Value>
                </CustomProperty>
                <CustomProperty Name="qd:AutoChangeBaseEntity" />
                <CustomProperty Name="qd:Design">
                  <Value xsi:type="xsd:string">expr2</Value>
                </CustomProperty>
              </CustomProperties>
            </Expression>
          </Filter>
        </Hierarchy>
      </Hierarchies>
      <MeasureGroups>
        <MeasureGroup>
          <BaseEntity>
            <!--Fact Messages-->
            <EntityID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Entity_MeasureGroup_DW_Text_Fact_Messages</EntityID>
          </BaseEntity>
          <Measures>
            <Expression Name="Volume">
              <AttributeRef>
                <!--Volume-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Volume</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Auto %">
              <AttributeRef>
                <!--Automated_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Automated_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Send Now %">
              <AttributeRef>
                <!--Send_Now_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Send_Now_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Use %">
              <AttributeRef>
                <!--Use_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Use_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Stock Ans %">
              <AttributeRef>
                <!--StockAns_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_StockAns_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Charged">
              <AttributeRef>
                <!--Charged_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Charged_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Billed">
              <AttributeRef>
                <!--Billed_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Billed_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Avg TTA (s)">
              <AttributeRef>
                <!--Avg_TT_Answer-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Avg_TT_Answer</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Avg TTC (s)">
              <AttributeRef>
                <!--Avg_Time_To_Customer-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Avg_Time_To_Customer</AttributeID>
              </AttributeRef>
            </Expression>
          </Measures>
          <SubtotalSets>
            <SubtotalSet>
              <SubtotalGroupings>
                <GroupingName>Year</GroupingName>
              </SubtotalGroupings>
              <SubtotalMeasures>
                <MeasureName>Volume</MeasureName>
                <MeasureName>Auto %</MeasureName>
                <MeasureName>Send Now %</MeasureName>
                <MeasureName>Use %</MeasureName>
                <MeasureName>Stock Ans %</MeasureName>
                <MeasureName>Charged</MeasureName>
                <MeasureName>Billed</MeasureName>
                <MeasureName>Avg TTA (s)</MeasureName>
                <MeasureName>Avg TTC (s)</MeasureName>
              </SubtotalMeasures>
            </SubtotalSet>
            <SubtotalSet>
              <SubtotalGroupings>
                <GroupingName>Date</GroupingName>
                <GroupingName>Year</GroupingName>
              </SubtotalGroupings>
              <SubtotalMeasures>
                <MeasureName>Volume</MeasureName>
                <MeasureName>Auto %</MeasureName>
                <MeasureName>Send Now %</MeasureName>
                <MeasureName>Use %</MeasureName>
                <MeasureName>Stock Ans %</MeasureName>
                <MeasureName>Charged</MeasureName>
                <MeasureName>Billed</MeasureName>
                <MeasureName>Avg TTA (s)</MeasureName>
                <MeasureName>Avg TTC (s)</MeasureName>
              </SubtotalMeasures>
            </SubtotalSet>
          </SubtotalSets>
        </MeasureGroup>
      </MeasureGroups>
      <Parameters>
        <Parameter Name="Date  in last  (n)  days">
          <DataType>Integer</DataType>
          <Expression>
            <Literal>
              <DataType>Integer</DataType>
              <Value>14</Value>
            </Literal>
          </Expression>
        </Parameter>
      </Parameters>
      <CustomProperties>
        <CustomProperty Name="qd:PerspectiveID">
          <Value xsi:type="xsd:string">http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling:Perspective_Cube_DW_Text</Value>
        </CustomProperty>
      </CustomProperties>
    </SemanticQuery>
    I have created a Shared Datasource that points the the correct Analysis Services cubes that the original Report Model pointed at.
    However, I get this error when running the report:
    An error occurred during client rendering.
    An error has occurred during report processing.
    Semantic query compilation failed: e EmptySemanticQuery The SemanticQuery does not contain any Groupings or MeasureGroups. SemanticQuery must contain at least one of these elements. (SemanticQuery '').

    Actually the error above is from running the report on SSRS 2008 Native. Does anyone know why I get this error and how it may be resolved.
    Then I try to bring the report into BIDS RD and create a SDS and DataSet. The Semantic Query above is from the RD DataSet Query window.
    I get the following error when running the report in BIDS RD:
    An error occured during local processing.
    An error has occured during report processing.
    Query execution failed for dataset 'dataSet'.
    The SemanticQuery element at line 7, column 351 (namespace http://schema.microsoft.com/sqlserver/2004/10semanticmodeling) cannot appear under Envelope/Body/Execute/Command.
    So I have two errors with two scenarios. I'd like to know how to resolve one of them.
    I'd also like to know how to get the MDX from the RB/RM report so I can put it into the VS BIDS Version and get that to work properly.
    Thanks,
    Eric

  • Conditional formatting in report designer.

    Hi All !
    What is conditional formatting & how to do it ?
    does it act like condition which we do in BEX query designer ?
    Can we restrict values using this at the report designer level ?
    Regards
    Tom.

    Hi,
    Conditional Formatting: You use this function to set a design that deviates from the design for selected characteristic values, hierarchy nodes, and so on, that is set by the default row patterns.
    Conditional formatting can only be applied to characteristic values in dynamic sections of a data provider. A query (or query view) with one or more characteristics in the drilldown forms the basis of a data provider with a dynamic section.
    Take a look at the URL below:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/f4b8c3a7dd7065e10000000a1553f6/frameset.htm
    Regards,
    Kishore
    Message was edited by:
            Kishore Sivakumar

  • Report Designer - IO Hierachy

    Hi all,
    I created a query and executing this. The Picture is okay.
    When i open the Query in Report Designer there open as a hierarchy at the first InfoObject for example HOUSE. The InfoObject  HOUSE has hierachy in the master data. The data are show displaced.
    I don`t know why? Please help me. We used the Report Designer with SPS 12 and  Sap Gui 640.
    Thanks in advance.
    Kind regards, Wolfgang

    The data shows for following example:
    House      Date     Time     Text1    Text2       Text3   and so on. (that`s the header)
    4711
    The data are beginning under the house in the first cell of the row and the rest of this row is blank. The next data (Date) is showing in the second row in the second column and the first cell of the second row is blank and after the second cells of this row the cells are blank. The time data is showing in the third row in the third column and blank cells as above.
    Thank you for your help!
    regards, wolfgang

  • Report Designer - New Page

    Hi,
    We have created a report designer report that uses a Cost Center hierarchy. We want to display each node of the hierarchy on a new page. There is an option to select Page Break Before/After for the hierarchy header.
    If we select Page Break Before, the issue with this is that the first page of the report displays as blank page and then it works fine. Is there any way to get the page breaks without the blank page?
    Thanks
    Hemant

    Hi Erik,
    In the Report Structure tab, drill down to your desired chracteristic. eg you will have Group level 0 > Group level 1: Company code > Group header 1 > 0COMP_CODE. Position on the characteristic and in the properties you will see a section "Rowpattern" where you can select page break before or after.
    Hope this answers your question,
    Pieter

  • Web design reporter and Report designer is not working in SAP BI

    Hello,
    I am facing JAVA RFC error in Web reporting designing and reporting designer tools in BEx application. For more details please check the attachment in mail  Any one help me for this issue.
    Please check the my system details in the following
    SAP ECC 6.0 EHP 6 with ABAP stack
    SAP BI 740 with ABAP stack
    BO 4.1
    Thanks & regards,
    Surendra

    Hi,
    Check with basis team , either they have configured rfc connection properly or not.
    Refer below also:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?QuickLink=index&…
    Thanks.

  • Report Designer - Error while opening a saved report

    Hi,
    I am not sure if this is an authorization issue or configuration issue.
    When I try to open a saved report on Report designer, I keeping getting an error: Report Version is invalid: "0".
    Has anybody faced similar problem?
    We are on SP09.
    Regards,
    Payal.

    Payal,
    I am afraid, that your report might be corrupted. This might have happened, if in tx SE16 the version is changed. The Report XML displayed in SE16 for table RSERDATA, is limited to ca. 1024 charachters. When editing the version, after pressing the save button, the Report XML is cut off at 1024 charachters and the report is lost.
    Please do not set the report version in tx SE16!
    I will need to configure the program RS_REPORT_MAINTAIN, such that reports with version "0" can be saved with the minimum version 9.0.
    Until then I recommend the following procedure for Reports that are ok, but have the Version "0" bug:
    1) in tx SE38, program: RS_REPORT_MAINTAIN
        open your report with option "DT" (designtime)
    2) Switch to Edit mode.
        Make a backup copy of the report using the "Save As" Button.
        You can copy the Report XML to the clipboard using Ctrl-A, Ctrl-C
    3a) Open a dummy report in RS_REPORT_MAINTAIN created previously with
          Report Desginer ( --> The version is set to 9.0).
          Switch to edit mode and paste the Report XML and Save.
      or
    3b) Debug FUNCTION rs_bex_report_load_rfc.
          Open a report and change the value of E_REPORT_VERSION to "9.0"
          before leaving the function.
    Hope this helps, karim
    P.S.
    I will update note 1016224

  • Error while generating PDF BI 7 Report Designer

    Hi,
    I am getting this error Error while generating PDF when i tried print version on report designer,
    I tried to find information on this error but there was no information regarding this , so posted here.
    Please let me know if you have any suggestions.
    Thanks,
    Kumar

    We have restated the java server and now the issue solved.
    Kumar

  • Viewing Report created in Crystal Report Designer

    <p>Hi,</p><p>I&#39;m new to CR4E and tries to work with existing report. I saw many error while trying this, please excuse me to the long email below that I explain all the errors I saw......</p><p>I have some reports that were created in Crystal Report Designer (CR XI Release 2) connecting to the Oracle Database using "Oracle Server" type connection. How can I access it from CR4E? I have the following problem (in the order I see them)</p><p>1) In the Eclipse&#39;s JSP page, I specified the full path to the report, but I get a report not found error. Must the report locate within the project? Is there any way we can open a report outside of the project?</p><p>2) I copied the report to the project, </p><p>    a) followed jrc_print_report example to print the report, get "JNDI name not found" error. </p><p>    b) then generate a viewer page, but I get the Driver "crdb_oracle.dll" is not supported error.</p><p>3) I setup the new JNDI followed the jrc_changedatasource.jsp example to change the datasource, but I still get the "JNDI name not found" error.</p><p>4) I imported the report intoEclipse and changed the connection. Then I can create a jsp page to print it to a printer (I still can&#39;t view it, but my goal is to print, so that&#39;s ok). However, </p><p>    a) the original report has a "Command" object from the Oracle database to control where to select the report&#39;s data, when I remap, this object disappear and I cannot see how to recreate it. Any suggestion?</p><p>    b) also, the report is very complex with many subreports and it will be nightmare to go in and change all of the datasource, also a maintenance nightmare to maintain two copies. Any better suggestions?</p><p>Thank you very much! Your help is very appreciated.</p><p>Celia</p>

    Hi Celia
    1. Yes the Java Reporting Component (JRC) which is the runtime component of the Crystal Reports for Eclipse can open reports outside the project.  Its often better to have the reports inside the project for deployment purposes but you are welcome to put the report where ever you need it.Â
    Note: To use absolute paths, ensure that the CRConfig.xml file does not contain a reportlocation tag.
    2. The JRC can't report off of Oracle directly, you would need to use a JDBC driver to connect your reports to Oracle. The crdb_oracle.dll will never connect because its not Java.Â
    3. When the JRC finds that the report is not using a supported database driver it will do a lookup to find the name of the report datasource. When it finds the datasource name it will then do a JNDI lookup for a JDBC datasource with the same name. If your Application server doesn't have a datasource with that name it will through the error you were seeing.Â
    4. I'm not sure about losing the Command object when changing the datasource but this is probably happening because the Command is linked to the database driver.
    5. What you could try doing is creating a JDBC Datasource on your application server where this app will run with a JNDI name that matches your report datasource name. If your reports datasource name is "MyOracleDatasource" then I believe the JNDI name for new JDBC Datasource would have to be "jdbc/MyOracleDatasource".
    You could give this a try.
    Rob Horne
    http://diamond.businessobjects.com/blog/10

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • JRC Export to Text like Crystal Report Designer Export

    We need to Export report to Text like Crystal Report Designer Export using JRC. Is this possible? I see export ReportExportFormat CSV, PDF and RTF only. These exports are working, But I need plain text that looks like Text export of Crystal Reports Designer. I see this working in RAS 2008. What I can do to get this with JRC. I am using Crystal Reports 2008 to design reports.
    Thanks for any help.
    Regards
    Raveendra
    Clarification

    Thank you Jitin.
    What could be solution to this problem?
    If still I want to go with JRC, Can I write some Java code to perform this export?
    I see TextExportFormatOptions and its not working.
    If I want to export automatically to text format, what other choices are there?
    Basically I need to execute report and generate text file automatically. Text file should look like Crystal Report Designer Exported Text file.
    Thank you for your time.
    Regards,
    Raveendra

Maybe you are looking for

  • How do I remove a number sequence using batch rename

    Hi I know I've done this in the past but cannot seem to work it out today. I have a series of images "_####_[layercompName].png".  I would like to remove the underscores and numbers.  The underscores removal is easy, but how do I remove the numbers (

  • IOS 6.1.3 needs to be updated.  But is it necessary????

    My facetime is not working, am connected to Internet, so am wondering if I have to update from 6.1.3 to 7.  Am concerned with all problems with updates.  Any help will be appreciated.  Thanks BJZTX

  • My 4s freezes on the lock screen after updating to ios 7.0.2

    Ever since I updated my 4s to the ios 7.0.2 the phone constantly freezes on the lock screen. In just one day it froze at least more than 6 times and made me reset many times using the power and home button just to unlock the phone.  Is there a perman

  • External touch monitor

    I'm interested in purchasing 1-2 touch screen monitor(s) for my Macbook Pro. What external touch monitors are recommended and/or are compatible with the macbook pro?

  • How do you attach photos to a Yahoo e-mail via Firefox?

    I cannot find how to attach photos to e-mails to my Yahoo mail contacts via Firefox. Every attempt has failed.