Creating hierarchies in crystal reports on BEx Hierarchies
Dear Experts,
I was trying to create a crystal report in Crystal enterprise
on BEx Hierarchical report as a source. But when I executed
a query with all objects including hierarchical objects its giving
detail output.
Why is it giving detail output instead of hierarchical report output.
My requirement was to create hierarchical report.
Pls help me with step by step details to complete this task at the earliest.
Thanks in advance.
Cheers,
Armadhu.
And here are some tutorials:
http://scn.sap.com/docs/DOC-34462
http://scn.sap.com/docs/DOC-21818
http://scn.sap.com/docs/DOC-21816
http://scn.sap.com/docs/DOC-21817
Regards,
H
Similar Messages
-
Crystal Reports with BEx Query using Custom Exit Variable
Hi,
We have BW BEx Query using Customer User Exit variable to derive the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem". (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
Crystal Reports with BEx Query using Custom Exit Variable
Thanks,
AndyHi Vibhav,
We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
We tried that "mandatory" option and did not work either.
Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
23.08.2011 - 08:20:49 CET - Info for Customer by SAP
I have raised this issue on the Idea#s Place as an enhancement request
on the below link:
https://cw.sdn.sap.com/cw/ideas/5586
This ER contains the information of including the customer exit
variables in the report without checking the #input for ready# option.
This ER can be considered for being implemented in the future
versions. You can refer to SAP Note: 1515837 - How To: Enhancement
Request Process - "Idea Place" for more information regarding the Idea
Place.
Cheers,
Andy -
How to create user editable Crystal Report with dynamic dataset
What I would like to achieve:
A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
What I do:
CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrReport.Load(TemplateFilename)
Dim Results As DataTable
DataTable is filled from a database
CrReport.SetDataSource(mResults)
CrReport.SaveAs(NewReportPath, True)
The NewReportPath is opened in the default program.
What are the problems
The report is open in preview mode (not in design).
When the field is added to the report the designer asks for XML datasource on preview.The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?
-
Reporting tools for the Business user - Crystal reports or BEx tools ?
Hi,
We have recently implemented BI/BO infrastructure. Scope of the inital implementation was an executive dashboard based off COPA data. We have used Xelcisus for dashboard and BEx tools for query design etc.
We would like to set up some of our key business users (analysts in respective functions) to be able to write their own queries off this COPA cube. The discussion point is whether to roll out Crystal reports for business users or have them trained on BEx tools i.e BEx query designer/analyzer.
Any inputs to my question "Crystal Reports or BEx tools for the Business users - pros and cons", is appreciated.
Thanks,
GirishOur user currently do not have anything. It's fresh implementation. We would like to get the business users involved. The question is - what's the best start for a business user - Crystal Reports or Bex ?
-
Can I create one single crystal report using 2 bex queries
HI all,
I have 2 bex queries and has to develope a single crystal report .Is it possible???? If so, than how to connect two bex queries and develope one single crystal report.Any other option is also fine. I mean ....no need to use crystal..( I can go for one single webi..).But need to know the approach ...
or else...can I create universe on 1 bex and other universe on other bex ..and go for one single webi report..
Only problem is client is particular about one single report(either crystal or webi)
if i go for webi ...I know we can use link universe option but I dont know whether it works fro OLAP environment.
Please let me know if I can link OLAp universes and go for 1 single webi report.
Any help is appreciated.
Thanks in advance,
MahathiYou can use either CR or WebI.
In CR Designer create the report using the SAP toolbar (Create report from query) based on the 1st BEx query. Then use the Database expert (first entry in the Database menu) to add an additional connection to your 2nd BEx query (+Create new connection->SAP BW DX query). You can then join the results of the 2 different queries in the database expert also.. Please note that if you do NOT want to join the result sets, then it is more efficient to use subreports. Create two different CR reports, each based on one of the BEx queries and then use one of those as your main report and insert the other one into it as subreport. Once embedded you do not have to keep the separate .rpt file of your second report.
For Webi you must build 2 universes, each based on one of your BEx queries. In your report you can add multiple queries based on different universes. You can join the results sets here by using the Merge dimensions button in the report editor area.
Regards,
Stratos
PS; Keep in mind that joining a large number of rows at report level (either in CR or WebI) can cause performance problems. If this is your requirement, how many rows do you expect to get back from each individual query? -
BW Hierarchies and Crystal Reports
Hi
What limitations does Crystal Reports have when using BW Hierarchies eg 0PROFIT_CTR ?
We are particularly interested in whether, when using a Crystal Reports prompt, is it possible select a Hierarchy Node.
So far our Developer has only been able to make the prompt offer a list of Profit Centers, not Nodes.
ThanksPlease see this post: Classic Crystal Reports and Classic SAP connectivity questions:
Classic Crystal Reports and Classic SAP connectivity questions -
Crystal Report and BW Hierarchies
Hi,
I am building crystal report on a BW query, In the Query hierarchy is enabled on a field which has 3 levels.
Is there any way I could restrict/display the data for one particular level only?
With the help of grouping and hierarchical grouping I am able to get this
<Level1> <Keyfigure>
__<Level2> <Keyfigure>
____<Level3> <Keyfigure>
<Level1> <Keyfigure>
__<Level2> <Keyfigure>
____<Level3> <Keyfigure>
<Level1> <Keyfigure>
__<Level2> <Keyfigure>
____<Level3> <Keyfigure>
How can I build separate report for each level, example:
<Level1> <Keyfigure>
<Level1> <Keyfigure>
<Level1> <Keyfigure>
Sorry if this is already discussed in this forum.
Thanks
NaniHi Ingo,
I am able to achieve what I need from your blogs.
Additionally I am trying do ranking on group which is below the hierarchical group. I see that ranking is applied on the every level of the hierarchy group, I would like have the ranking for only the level I filter in the group above. Please see the example below.
Here is what I am getting today
GH1: <Level2> (Hierarchy group with filter to show only level 2 out of three levels)
GH2: <Field>, <Measure> (Top 3 for level 1)
<Field>, <Measure>
<Field>, <Measure>
<Field>, <Measure> (Top 3 for level 2)
<Field>, <Measure>
<Field>, <Measure>
<Field>, <Measure> (Top 3 for level 3)
<Field>, <Measure>
<Field>, <Measure>
GH1: <Level2> (Hierarchy group with filter to show only level 1 out of three levels)
GH2: <Field>, <Measure> (Top 3 for level 1)
<Field>, <Measure>
<Field>, <Measure>
<Field>, <Measure> (Top 3 for level 2)
<Field>, <Measure>
<Field>, <Measure>
<Field>, <Measure> (Top 3 for level 3)
<Field>, <Measure>
<Field>, <Measure>
Here is what I want
GH1: <Level2> (Hierarchy group with filter to show only level 1 out of three levels)
GH2: <Field>, <Measure> (Top 3 for level 2)
<Field>, <Measure>
<Field>, <Measure>
GH1: <Level2>
GH2: <Field>, <Measure> (Top 3 for level 2)
<Field>, <Measure>
<Field>, <Measure>
Thanks -
Creating webi/crystal report on BEx and retrieving data, an error ocured?
Hi Experts,
I have a problem which many couldnt able to provide a better solution and solve it.
Need your expert solutions.
Installed SAP BI with BO(R/3) integration kit SP3.
Created WEBI report on BEx report via Universe. While trying to load/ refresh/ retrieving the data for display it is throwing an error message like the mentioned below.
Query1: UniverseOnSAPBEx2
A database error occurred. The Database error text is: The MDX query SELECT { Measures.ZPrice } ON COLUMNS, NON EMPTY CROSSJOIN( ZVNAME.LEVEL00.MEMBERS, ZVID1.LEVEL00.MEMBERS) ON ROWS FROM $ZICTEST failed to execute with the error.
UNKNOWN error. (WIS 10901)
Some fields in the Cube/ BEx/ Universe/ WEBI that i have used are ZPrice, ZVendorId, ZVendorName etc.
Regardslooks like it could be the same issues as your other post.
-
Unknown error when executing MDX when refreshing Crystal Report with BEx
Hello Experts,
I have created a Crystal Report (Crystal 2008 SP1) with BEx Query (7.10) and have been able to refresh successfully when the SAP_ALL authorization is included in my user role. I don't want my end users to have SAP_ALL so I created a role and assigned the authorizations recommended in the SAP Integration Kit for BusinessObjects 3.1 Install Guide.
When I run the report as one of the users assigned to my new role I get the following error in the trace file.
ERROR: .\crdb_bwmdx_execution.cpp [200]: l_bapiGetStreamInfo failed with return code RFC_RC = 0 Exception: BAPI Error: BAPI Error #:0
Unknown error when executing MDX
2188 6556 Caught DbError #1 with Message 'BAPI Error #:0
Unknown error when executing MDX'
2188 6556 Caught DbError #1 with Message 'BAPI Error #:0
Unknown error when executing MDX'
2188 6556 Caught DbError #1 with Message 'BAPI Error #:0
Unknown error when executing MDX'
I tried all the Fix Packs (ie 1.1., 1.2 and 1.3) for XI 3.1 Integration Kit to try resolving the error but it didn't work.
The same query works fine in BEx Web when running as one of the users in the new role I created for Crystal Report users.
Are there any other Authorizations that I need to include in the role?
Cheers.
Paul.We have been able to identify what causes the MDX driver to error and I will explain what we are trying to implement with the hierarchies.
Firstly, we are creating reports of the HR cube Mutliprovider using the SAP MDX Driver which works well when there are no authorization analysis set on the cube. But with the authorization analysis set for on 0ORGUNIT for BEx Explorer Crystal returns the MDX error.
Each of the Business Unit managers are assigned to an Organization Unit that will be used to restrict the employees that will be reported. To restrict the Managers to only see their Org Unit we have set the 0ORGUNIT object to use authorization ananlysis and a custom authorization variable to return only data for the Org Unit they belong too.
In Crystal this works well when a manager has an Org Unit that is a head department of other Org Units. This scenario will give Crystal the NodeID and Parent NodeID to create the hierarchies in the report. But when a manager does not have any other Org Units beneath there own department then Crystal doesn't have a Parent NodeID to create the Hierarchies with the NodeID. In the RFC trace I can see an error when Crystal is trying to get the Parent NodeID but the user is not authorized to that Org Unit then it throws the error.
We have got a temporary workaround which is to create the managers a dummy Org Unit below their own department. The workaround will do for now but shouldn't the MDX driver be able to recognise that it has returned the last level in the Org Unit Hierarchy and not return an error?
The customer is looking for a product fix as they believe this should be handled by the driver. Is this a bug or a limitation of the product?
Paul. -
Strange behaviour of Crystal report with BEx Query
Hiii. All
I have created a crystal report on top of BW-BEx query. My query contains a structure other than Keyfig.
Thats why I am using BW-MDX query option to build my Report.
i Have created a cross tab in my report taking the structure as Column and some key figures in Summarised fields.
till here it works fine. but whenever I am dragging some fields say "Project Defination or Location" to report header section, which are also coming frm BEx query. then my cross tab is not showing all colomn of the structure(Precisely it removing one column of the structure).
Can anyone pls tell me why is it happening. and how to proceed to solve this.
Waiting for your reply..
Thanks
AnishHi,
Thanks for your reply.
Yes it returning data . Structure contains total 13 columns .
So It is suppose to return all 13 of them. and it is doing so till i don't drag-drop the field. once i do this its behaving strangely and returning me only 12 columns.
CR 2008 Version : 12.3.0.601
BO Version : BO XI 3.1
Regards,
Anish -
Hi all,
First of all I want to let you know that I am new to SAP. So please excuse me if I am not perfect with my question.
I have a user who wants to replace all the crystal reports they have with the Bex reports. I got the table names and the hardcopies of the crystal reports. By seeing the table names I found that the data is of HR. Now I dont know where and how to start.
I thought that I need to create infocubes and load data into the cube and then get the reports. For that to do I dont know what exactly I need to know. How to work with HR related data.
Hope I am clear. I asked the user whatever I am comfortable with. Please let me know if anything else is required.
Thanks,
RahulHi,
pls chk this links for HR-BW Extraction;
https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
http://help.sap.com/bp_biv170/
/thread/581227 [original link is broken]
/people/swapna.gollakota/blog/2008/01/14/one-stage-stop-to-know-all-about-bw-extractors-part1
Pls check these links for HR;
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/174b9990-0201-0010-2abe-86a515869fbe
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4930fe9e-0501-0010-4998-e5de1456183c
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e3f9990-0201-0010-9a97-e971112aa2b2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b27b019f-0501-0010-97b3-9a86dcab255a
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1cba990-0201-0010-43ae-af579aee7a73
0HR_PT_2 , Time and Labor Delta load
Tables in an InfoCube
http://help.sap.com/saphelp_nw04/helpdata/en/ba/0a693866ff230ee10000009b38f842/frameset.htm
HR pre configured scenarios here..
http://help.sap.com/bp_biv170/
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/505351fe-ec8c-2910-c5b5-a43bbf53f6fc
sap help business content
http://help.sap.com/saphelp_nw04/helpdata/en/2a/77eb3cad744026e10000000a11405a/frameset.htm
e.g you need 'personnel administration'
http://help.sap.com/saphelp_nw04/helpdata/en/63/351e3c6a2fc036e10000000a114084/frameset.htm
expand node 'datasources'
http://help.sap.com/saphelp_nw04/helpdata/en/f1/28a63afb214549e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/6a/acb3392f65f530e10000000a114084/content.htm
or 'recruitment'
http://help.sap.com/saphelp_nw04/helpdata/en/3d/36bf39f6335871e10000000a114084/content.htm
and bi best practice 'human capital management'
http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
Regards
CSM Reddy -
Constant selection in Crystal Reports (like BEx)
Hello! I'am sorry if this question have printed answer already but I can't found it.
I have BEx report like this:
month1 month2 monthN
items amount amount amount
item5 100 50 50
item8 200 150 100
item9 150 20 200
and I have hierarchy on infoobject "items" too, for example:
item1
item2
item5
item8
item3
item9
I created hierarchy group in Crystal Reports and got the report like this:
month1 month2 monthN
items amount amount amount
item1 300 200 150
item2 100 50 50
item5 100 50 50
item8 200 150 100
item3 150 20 200
item9 150 20 200
But I need in calculate one more key figure - item amount percentage of item1 amount ({amount of current item}*100/{amount of item1}). Item1 have amount = 300 in my example, so I need report like this:
month1 month2 monthN
items amount perc amount perc amount perc
item1 300 100% 200 100% 150 100%
item2 100 33% 50 25% 50 33%
item5 100 33% 50 25% 50 33%
item8 200 66% 150 50% 100 66%
item3 150 50% 20 7% 200 133%
item9 150 50% 20 7% 200 133%
In BEx I used KF amount with restriction items="item1" and option "constant seklection" but I can't find instruction, how-to or example - how I can design it in crystal reports???
Please help me - I think you know it as it's common report users wish.There really isn't anything like a conditional SUM (like SUMIF in Excel), but you can sum an IF statement, kinda like this...
SUM (IF {Amount} > 100 THEN {Amount} ELSE 0)
As far as the sub-report idea... Yea that should work.
1) You can pass a value from a sub-report back to the main report by using a shared variable. {Look up "Shared variables" in the online help for more info}
2) Yes. The sub-report will refresh with the main report.
3) Yes. Formula results from the main report can be passed to the parameters of the sub-report. This will also automatically hide the sub-report parameters from the user.
3a) From the main report, right click the sub-report and choose "Change subreport links..."
- Find the field or formula in the "Available Field:" window and click it over to the "Field(s) to link to:" window.
- Find the corresponding sub-report parameter in the "Subreport parameter field to use:" area.
Not too tough actually.
HTH,
Jason -
Database fields empty after creating a new (Crystal) Report in MSY
Hello,
I have some issues to use Crystal Reports in Mobile Sales Maintenance (MSY). The situation is as follows
My example is based on this standard report, which is working
Report Name: BPartnerActivities
Reporting Tool: Crystal Reports
Category: Standard reports
Subcategory: Lists
Report Type: Report
Data Source: Business Content provider
Business Content Provider: BPActivities
My requirement is to build a new report, which is based on the standard "BPartnerActivities" Report. If I use the "copy" functionality, I get an working Copy of the standard report. However, I need to modify the Business Content Provider, but I do not want to make the modifications on the standard content provider "BPActivities".
I am now forced to used the "copy" functionality to create a copy from "BPActivities" for my own Content Provider "My BPActivities copy", which I want to use in a new report.
Issue:
I cannot modify the defined Business Content Provider after using the "copy" functionality and hence forced to create a new report from scratch to be able to set a different Content Provider.
I create my own report "MyBPartnerActivities" based on the standard report "BPartnerActivities" using the same settings and assign my new business content provider.
If I use the "Design Report" or "Modify Report" button, the Crystal Report designer pops up. Now the problem, the Crystal Report designer does not offer me any data below "Database fields".
In the standard report, the "Database fields" has a child element "BOACTIVITY-ttx" with several field options. My own created report from sratch does now have anything?!
Why my report does not offer my any data or is there anything additional to do?
Another Test
I tried to create another report using the standard content provider "BPActivities", but I have still the same issue.
In addition I recongized that the "browse data" fuctionality does not work on the fields in the standard report. The path to the database file does not exist. It starts with "C:\WINNT\...", but my system has "C:\WINDOWS\...". But the executed report is able to retriev the data?!
Unfortunately was not able to find any proper documentation, but I would really appreciate any help.
Regards,
AndreasUpdate
It looks like that the *.ttx file is not uploaded/create to/on the MSY system. The system shows the file in the Crystal Report Designer, but there is no file on the file system. The confusing thing is, that any standard report is still working and does not really complain about a missing ttx file. I think the content of the ttx file is somehow embeded to the report.
Does someone know how the system should behave? Should a ttx file be automatically created & assigned to any new report or do I have to create the file by my own every time?
Cheers,
Andreas -
Crystal report blocks bex query
Hi, gurus.
I'm in such situation - i need to delete BEX query wich is used in crystal reports. Changing database in my report i simply made new crystal report. So i need to delete it from bw. If you know the way please tell me.
Any help ll be appreciated
regards, andrewHi,
I assume you saved the report to the BW system and then the system will show you - and not allow to delete - the query before it is used in a report - standard "where used" functionality of BW. you need to delete the report first
ingo -
Need help in creating table in crystal report for visual studio 2010
Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
I have a datatable and I need to show that in crystal report in table structure.
I have tried using lines and boxes to generate the table but it is not working perfectly.
How can I export the report in excel format in read/write mode saving all the formatting in the reportHi,
Check sample codes from following:
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
Thanks,
Saurabh
Maybe you are looking for
-
Ipad - windows xp - network cable unplugged
Hi. As I just bought iPad, I tried to use it as a personal hotspot connection for my notebook (windows xp, sp3). In network connection I can see a message: "network cable unppluged" ; apple mobile device ethernet.. that unfortunately means I can't co
-
How do I apply a song to a certain number of slides?
I am wanting to start a song on a certain slide and let it play to the end. I am able to start it on the slide, but once I click to go to the next slide, the song stops playing. What do I need to do to have it continuous until the end?
-
my requiremant is one sender and based on receiver detremination condition it should go to many receivers. Just to elaborate the requirement. Observe the Xpath example below: <Identifier> <Name>abc</Name> <Value>first</Value> </Identifier>
-
Submit e-mail issue - LiveCycle Designer 8.0
I have set up a form with a submit and e-mail button. when I submit the form, my mail software opens up with the form attached, but in the TO field the e-mail address from the submit button appears twice. What can I do to fix this? Thanks. Larry
-
Install error with Illustrator
Hello there, I installed Creative Suite CS5.5 Design Standard ME into My PC whose OS is Windows7 32-bit in Japanese. Indesign and Photoshop work but Illustrator does not startup. Is there someone who helps me up with this problem? I would really like