Group by in my report?
I have a question regarding my report.
I use generic columns and have can sort on all of my columns, but does it automatically do some group by?
This is an example of my report, and two rows has the same value, not sure if it is 75 or 73 that are the same. But are there a way to display this without this group by function. I know i don't have group by in my sql code, but i dont' know if it added to my code.
77---180096130055------- 44,2
75---8330702720------------ 2,77
-------56580M------------------ 7,07
73---159010008155------- 47,58
68---830181680055------- 34,95
-------420200040355-------- 202
-------200141110455-------117,32
66---423122110755--------127,32
Look into the 'Break Formatting' setting on the Report Attributes tab of the page builder.
Earl
Similar Messages
-
Refreshing subreport data on change of group in the main report
I have created three comma delimited strings in a subreports and then introduced them to the main report. The subreports are simple with no groups. I have one subreport for Authors, one for Departments and one for Schools. This is ok if I filter the data down to one publication. If I remove the filter then I get every instance of each of the subreports. ie all authors in a comma delimited string, all departments and all schools.
I have two groups in the main report, Publication Year (Group #1) and Publication Title (Group #2). This is where I have the problem. The data coming from the subreports show all instances as mentioned above. I want the subreports data to refresh each time the group changes. I need it to only show the necessary comma delimited string for each publication, not every instance.Hi Abhilash,
The logic has worked correctly but the performance is really poor. Is this because I have there subreports doing similar funcitons? Is this a topic for another discussion?
Also, when I try to export the report to xls data only it starts the export but then a msg comes up on the screen relating to the second formula you gave me for comma delimited strings for schools:
SAP Crystal Reports
String length is less than 0 or not an integer.
This relates to the third line in the code:
Left(schools, len(schools)-2);
It then aborts the export. Is this a topic for another discussion also?
Thanks -
S_ALR_87013340-PRCtr Group:plan/Actual Caomparison Report performance issue
I'm trying to get the "actual line item" details from the S_ALR_87013340-PRCtr Group:plan/Actual Caomparison Report and I get a
ABAP run time error. I tried to running for just one month and on several accts. please help to me. how to get the report.
or how to improve the performance of this program.
Thanks in Advancehi,
first we need to know what part of the code is taking time. Do run time analysis using SE30 transaction to know what part of coding is taking more time. use can ST12 transaction to get more detailed analysis.
Since this is standard SAP report also check any OSS note exist for the performance problem. -
Sub report group tree in main report Using crystal report 12
Hi experts,
I have a strange requirement like, same data needs to be grouped two different ways in a same report. Like
Store1:
Summary of sales on each item chart
Store2:
Summary of sales on each item chart
.....it goes like this
Department1(multiple stores)
summary of sale on each item chart - store1
summary of sale on each item chart - store2
--........ it goes
Department2
summary of sale on each item chart - store3
--........ it goes
Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
I achieved this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
Thanks in advance.Hi
Thanks for the reply.
Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
So please me with some different ways and also , please clarrify the following doubts
1. Can we supress one or more items in the group tree.
2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
Please help me -
How to use the buying group to get the report?
Dear all:
I check the function of buying group in customer master data.
system show The buying group is used for reporting purposes only. You can, for example, generate an account statement with line items for all members and for the buying group.
but i check all report link with customer, not find this fields.
why? and how to use this function in the report?
can you give some suggestion?
thanks
ALEXanybody can help me?
-
How to get the value of a variable in group footer in the report footer also
I have a placed a formula as below at the group footer and the report footer. The data is grouped on the basis of duedays which is again formula and the value in that is appearing correctly.
Whilereadingrecords;
Global Numbervar CNTONE;
Numbervar P := P+1;
IF P = 1 AND {@DUEDAYS} = 0
THEN CNTONE := {spSUPPLIERSOA;1.INVOICEBAL}
ELSE IF P>1 AND {@DUEDAYS} = 0
THEN CNTONE := CNTONE + {spSUPPLIERSOA;1.INVOICEBAL}
At the group footer I get the value correctly for CNTONE but when I place the formula in Report footer I get the value for CNTONE as 0.
Please do let me know how I could get the same value in the report footer also.
Regards
Sreejith JHi Abhilash;
When I give the statement whileprintingrecords then my above formula sums up only the first record and the last record of the group and when I give whilereadingrecords it adds up all the data in the group correctly.
The formula that you mentioned for the report footer had worked out and it is showing my result correctly.
I did not put up the reset formula on the group footer because as the group changes I had used another variable in another formula for example for the second group I used
Whilereadingrecords;
Global Numbervar CNTTWO;
Numbervar Q := Q+1;
IF Q = 1 AND {@DUEDAYS} = 30
THEN CNTTWO := {spSUPPLIERSOA;1.INVOICEBAL}
ELSE IF Q>1 AND {@DUEDAYS} = 30
THEN CNTTWO := CNTTWO + {spSUPPLIERSOA;1.INVOICEBAL}
I have set up total 5 such formulas as the number of groups that will be formed is 5. I have put up these formulas on the group footer and suppressed it as I dont want to get it displayed.
The as you suggested the solution for Report Footer I did that and getting the result correctly.
I dont know I may be following a longer procedure
Take Care
Sreejith J -
Group above master/detail report; page break causes repeat of master frame
Hi
I have a a group above master/detail report; when there is a page break part way through the master frame it causes the whole master frame to be repeated on the next page. I don't want this to happen, I just want the remainder of the master frame to be displayed on the next page. any ideas?
TIAHi
I've tried switching the "Page Protect" to No at the page level and the "Print Object On" is set to "First Page" but it doesn't solve the problem. The whole master frame is repeated on the next page when a page break occurs part way through. The master/detail Repeating Frame "Print Object On" is set to "Last Page".
Any other ideas?
TIA -
How many ways we can create authorization for user groups in sap query reports
Hi Gurus, I am getting a problem when I am assigning users to user group in sap query report .The users other than created in user groups are also able to add &change the users .So please suggest me how to restrict users outside of the user group.
Please send me if u have any suggestions and useful threads.
Thank You,
Suneel Kumar.I don't think it can be done. According to the link below 'Users who have authorization for the authorization object S_QUERY with both the values Change and Maintain, can access all queries of all user groups without being explicitly entered in each user group.'
http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3f89455611d189710000e8322d00/content.htm
Although I think you can add code to your infoset and maybe restrict according to authority group, i.e.:
Use AUTHORITY-CHECK to restrict access to the database based on user.
Press F1 on AUTHORITY-CHECK to find out how to use it in the code -
Add a WBS Element into a WBS Element Group starting from a report
Hi,
I'd like to know if it is possible to add a WBS Element into a WBS Element Group starting from a report as like it possible for Cost Centers in report obtained by TC KS13
Thanks
GiovannaHi,
Did you try CJSG / KJH2.
Regards
Sreekanth -
How to hide Group Tree in Crystal Report Server.
Hi all visitors
i have created one crystal report and my report use group to summary the amount of each day.
after i use group to summary, i used text box cover the group. so my group can't click anything.
After that i upload my report to crystal report server, when i viewed my report and when i click on Group Tree, it will show the list of group (group date in crystal report) and it also can click. I don't want to show the Group Tree in Crystal Report Server.
Anybody know how to hide group tree in crystal report server?
Best Regards,Are you talking custom application, or infoview? If it is custom app, you would have to look at the setToolPanelViewType method. if its infoview, no direct way to change this that i know of.
-
How to do Grouping columns in XL-Report (Report Composer)
hi Guys,
Can anyone explain regarding the Issue of "Grouping the Columns in XL-Report" how to do this? ie especially in Report Composer how to do Grouping in this XL-Report
can any one explain briefly without giving any URL's. Can any suggest r views abut this issue.Can any one help regarding this issue asap?
Regards
ANANDHi there
Highlight the column on which you want to group. In the Advanced report builder (The window to the left of the spreadsheet) click on column summary (the icon with the + and what looks like a gate). Now you can put in the criteria for the grouping in that window.
Hope this helps.
Regards
Danie -
How to add the Profit center Group in the PA report KE33.
Hi Frnds,
How to add the Profit center Group in the PA report KE33.Iam not able to find PC group in the list to add to the Charateristics already added.Hi
PC group is not available as a Char in COPA..
if you want to do that, either create a Char Hierarchy in KES3 for the Char Profit Center
OR
Create a WW char in KEa5 and write a derivation rule using the method "Enhancement" .. Write ABAP Code in COPA0001 exit
bt, Ajay M -
Account Group wise vendor aging report
Dear Gurus,
How can I see vedor account group wise ageing report in a company code?i.e Trade Vendors, Non Trade Vndors wise aging report
Thanks in adv.
N.M.BDear Raghavender
No need to create to variant and all.
You just go to S_ALR_87012085 then go to dynamic selections. There we can give account group whatever we want.
If u have any doubts reg. this pls ask me
Bye
Murali -
Internal Order Group & Internal order wise report
Hi All
Any Standard reports are available to display the internal order group name and internal order.
Any Standard Function module or standard table are available to retrieve the order group and internal order details.
Please confirm.
Regards
K.GunasekarHi,
There is a lot of standard reports (e.g. S_ALR_87012993 - Orders: Actual/Plan/Variance); just go to Information systems of the Internal orders in the standard menu.
Tables: AUFK - orders master data. SETNODE and SETLEAF - groups.
Regards,
Eli -
Displaying a radio group in SQL QUERY report region
Good morning everyone,
I have a report in which a column - ORDER STATUS, will come in with a value of 1, 2 or 3...being order unfilled, order partially filled, or order filled, respectively.
I would like to display the order status as a radio group on the report so that it will be easy to run down the column of radio buttons to see what is filled, etc.
I've gone to the manual and checked the doco on HTMLDB_ITEM.RADIOGROUP. But the example given there is actually for CHECKBOX (is this an error?!?).
I went to the forums and found nothing suitable.
My region is an SQL QUERY. Can I display the STATUS as a radio group in the SELECT ?
This is the question.
Thankyou in anticipation. TC. 23/11/2004Tony,
There may be better solutions, but here's what I was thinking: create table orders (id number, status number, customer varchar(30))
insert into orders (id,status,customer) values(1,1,'ACME')
insert into orders (id,status,customer) values(2,2,'BENSON')
insert into orders (id,status,customer) values(3,3,'CLARKE')
commit
Query Source
select
id "ORDER NUMBER",
decode(status,
1,htmldb_item.RADIOGROUP(1,status,'1','unfilled')||htmldb_item.RADIOGROUP(2,status,'2','partial','"disabled=true"')||htmldb_item.RADIOGROUP(3,status,'3','filled','"disabled=true"'),
2,htmldb_item.RADIOGROUP(1,status,'1','unfilled','"disabled=true"')||htmldb_item.RADIOGROUP(2,status,'2','partial')||htmldb_item.RADIOGROUP(3,status,'3','filled','"disabled=true"'),
3,htmldb_item.RADIOGROUP(1,status,'1','unfilled','"disabled=true"')||htmldb_item.RADIOGROUP(2,status,'2','partial','"disabled=true"')||htmldb_item.RADIOGROUP(3,status,'3','filled'))
"STATUS",
customer "Customer Name"
from orders;Scott -
Sub-Groups Not Appearing in Report
Post Author: burhan.survery
CA Forum: Crystal Reports
I am using CR10.
My report has two groups: Main group "Order Number" and the subgroup "Customer Number". Both groups are from the same table. There could be upto four Customers per order. When i print the report, I only get the first customer in the order. I should get every customer. I don't understand why this could be happening. Any help would be appreciated.
BurhanThis is in fact the main sql behind the search button of the Query Report Viewer Page
SELECT A.REPORT_DEFN_ID,
A.DESCR,
A.DS_TYPE,
A.DS_ID,
A.OPRID,
A.PSXPDSOWNER,
A.PT_TEMPLATE_TYPE,
A.REPORT_CATEGORY_ID,
A.OBJECTOWNERID,
A.PT_REPORT_STATUS,
A.BURST_FIELDNAME
FROM PSXPRPTSRCH_VW A
WHERE A.OPRID IN (' ', %OperatorID)
AND EXISTS
(SELECT 'X'
FROM PSXPRPTCATAUTH X
WHERE A.REPORT_CATEGORY_ID = X.REPORT_CATEGORY_ID
AND ((X.AUTHORIDTYPE = '2'
AND X.AUTHORID =%OperatorID)
OR (X.AUTHORIDTYPE = '3'
AND X.AUTHORID IN
(SELECT RL.ROLENAME FROM PSROLEUSER RL WHERE RL.ROLEUSER = %OperatorID
After this main sql it is checked if user has access to the query behind the datasource that i used for the report.
This means:
You need to have access to one of the roles defined in the ReportCategory or defined as user here and you need to have access to the query.
Assuming you comply the first criteria, see if your user can access the query, again query can be private or query tree security.
Hakan
Maybe you are looking for
-
someone please help me, i cannot update me ipod until this updates!!
-
Cisco 3502I Not getting ip address
I just deployed 2 brand new 3502I access points. Ap's are connected to a PoE module on a 4507. Ap's are powering up. The 4507 is configured to hand out ip addresses to the ap's. When I run 'sh cdp nei det', I can see the ap's but they do not have
-
Question for video editors re. external storage
Sorry this isn't directly FCP-related, but I'm hoping the question will be permitted as I'm trying to get input from colleagues in the video production world. I travel a lot... not only on airplanes but bumpy trucks etc. for my video work, and I ofte
-
Third Party Tool for Scheduling Web Analysis reports
Hello, I am using Hyperion Web Analysis for report development and Workspace for viewing reports. Now, I am facing an issue for scheduling WA reports through Workspace. Few experts told to me, we can't schedule a web Analysis document in workspace. B
-
Despite usin the formatting button and shortcut I am unable to itallicise words - (the bold and underline work) Any ideas please - I need to submit an essay for my MA degree in 2 days and need the Harvard referencing right!