Is there a group / ungroup function in Webi (as in Excel) ?
Hi,
Can anyone can tell me if Webi (BO XI 3.1) provide the feature group / ungroup as the one provided on Excel ?
Thanks in advance for your answers.
Regards
Hi Sebastien,
You can find the SAP BusinessObjects manuals in [http://help.sap.com/content/bobj/bobj/index.htm], you have there Building Reports Using the Web Intelligence Java Report Panel If I remember correct is the chapter 7.
Best regards,
Similar Messages
-
Field modification (group/ungroup function)?
Why, when I modify the dimensions of a field, are all the other fields on the page modified as well? I can't see an "ungroup" function or anything like that.
Are you perhaps referring to the width of the form field labels? Form width is always independent. The label widths of the left column of fields (you can have more than one column of fields) are linked if the label position is left aligned or right aligned. A work around is to set the Label Position to Above in the Field Properties.
-
Accessing ABAP Functions in Web Dynpro Java
Hi,
I am trynig to do "Accessing ABAP Functions in Web Dynpro Java" this application, (which is the example application which i got from www.sdn.sap.com) but everything is fine no error also while dyploying.
But it is not dysplaying the first page after i run the application i am getting plain web page ,without any content.
Can any body help me.
Regards,
H.V.Swathik.. now iam getting some error on page.
I have embeded the two view in to window.
But now after running the application i am getting connection error
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=jktr3 GROUP=SPACE R3NAME=R32 MSSERV=sapmsR32 PCS=1 ERROR Group SPACE not found TIME Fri Sep 26 15:05:59 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
... 61 more
Rgards,
H.V.Swathi -
I want to get an output using group by function of there is no data in the table to display a particular value
for eg:
SELECT TRUNC(updated_date) DATE1 , COUNT(1) COUNT FROM table
where TRUNC(updated_date) >=TRUNC(SYSDATE-18) AND TRUNC(updated_date) <=TRUNC(SYSDATE)
GROUP BY TRUNC(updated_date)
ORDER BY TRUNC(updated_date) DESC;
DATE1 COUNT
6/16/2012 14208
6/15/2012 307825
6/14/2012 172988
6/6/2012 138790
6/5/2012 167562
6/4/2012 51870
6/2/2012 130582
6/1/2012 239806
But i need the missed out date i.e 6/3/2012 - 0, 6/7/2012 - 0 to be displayed since there is no data on the repective dates.Hi,
You can only display things that are in a table (or result set, but from now on, I'll just say table), or that can be derived from a table. If you want to display dates that are not in your table, then you have to get them from another table, or derive them from some table.
Some people actually keep tables of possible dates for queries like this. In this case, all you need is a table of the last 19 dates, ending with today. That's easy to derive from dual:
WITH all_dates AS
SELECT TRUNC (SYSDATE) - LEVEL AS date1
, TRUNC (SYSDATE) + 1 - LEVEL AS date2
FROM dual
CONNECT BY LEVEL <= 19
SELECT a.date1
, COUNT (x.updated_date) AS count
FROM all_dates a
LEFT OUTER JOIN table_x x ON x.updated_date >= a.date1
AND x.updated_date < a.date2
GROUP BY a.date1
ORDER BY a.date1
;If you'd care to post CREATE TABLE and INSERT statements for some sample data, and the results you want from that data, then I could test this. -
Hi,
in pdf documentation "Using Knowledge Management Functionality in Web Dynpro Applications" is mentionated TutWD_KMBrowser_Init.zip file for downloading, but I can't find it following the path suggested.
Could you help me?
Thanks,
Luca GrilliHi,
There is no resource in the said location
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/tutorial on using knowledge management functions in web dynpro.htm ...
Kindly help in finding some document which gives a overview of using KM UI APIs .
Regards,
Vani Rao -
Hi All
very simple one but i just confused by it . i just want to display the rows in group by function .
example
SQL> select user_full_name,last_login_date,email_address from comit_user group by company_code
its giving an error .
could some one please help me in this .
thanks in advance .Hi there,
Group by is used with group functions such as SUM, AVG, MAX, MIN, etc
eg. select job, sum(sal) from emp group by job;
JOB SUM(SAL)
ANALYST 6000
CLERK 4150
MANAGER 8275
PRESIDENT 5000
SALESMAN 5600
In your query, it looks like you need to use ORDER BY instead
select user_full_name,last_login_date,email_address from comit_user
ORDER BY company_code
Regards,
John -
Functions in Web Intelligence ..
Hi,
is there a possibility to create functions in web Intelligence like in Crystal Reports. Where i only have to change input Parameter example function
tax (InpParameter)
inputparameter * 1,19User defined functions are not supported in WebI at report level.
Regards,
Stratos -
How to implement the Oracle Group by function in Crystal reports?
Hi all,
In SQL, for example we have a group function like:
select district,state, country, continent, sum(no.of people) from world.
Now, How to implement this group function in crystal reports? Please advise.
Thanks in advance..
Regards,
sriramHi Vinay,
Thanks for the prompt reply.
In one of our report, we are supposed to perform group by for 14 columns to get sum of 3 columns and there by displaying 17 columns in the report.
When we tried in crystal reports to implement this oracle group by functionality:
1. We created 14 groups from the Insert->Group option.
2. By performing this, we got 14 group sections vertically(one inside the other).
3. Then we created the sum(15th column),sum(16th column), sum(17th column) by Insert->Summary option.
4. We suppresed all the group sections except for the last group.
5. Then, dragged all the groups to the last group section along with the summary fields.
This is how, we tried to acheive the oracle group by function in Crystal reports.
Please advise, whether our approach is right. If not, please suggest the appropriate approach with a bit detailed explanation.
Thanks,
Sriram. -
Using arcsine function on WebI reports
Hi All,
I could not find the arcsine function to be included in the WebI report.
Is there a way I can enforce WebI to return arcsine values.
Can I create a formula?
Please suggest.
Regards,
Faisal Vakil
Edited by: Faisal Vakil on Nov 5, 2010 11:12 PMTry:
=MonthNumberOfYear([Order Date])+"/"+DayNumberOfMonth([Order Date])+"/"+FormatNumber(Year(CurrentDate());"####")
Or,
=FormatDate([Order Date];"M/d/")+FormatNumber(Year(CurrentDate());"####") -
Hi frds
I wrote a code where there is a subquery in my select statement, when i use a group by function with my query it comes with an error
Example
This is how my select statement looks
SELECT
mt.subinventory_code,
item.description,
we.wip_entity_name,
SUM((mt.transaction_quantity)*-1),
sum(wro.required_quantity),
sum(wdj.start_quantity),
(SELECT SUM (transaction_quantity) FROM mtl_onhand_quantities
WHERE inventory_item_id = wro.inventory_item_id
AND organization_id = wro.organization_id) rm_stock
And my group by statement is of this way
group by
mt.subinventory_code,
item.description,
we.wip_entity_name
When i excute the query
It results in an error like this
ORA-00979: not a GROUP BY expression
When i remove the subquery from my select statement it works fine,but i want the result including the subquery plz help meI don't know the implications, but give this a try.
SELECT we.wip_entity_name JOB_NO,
mt.subinventory_code DEPARTMENT,
msi1.segment1 assembly_item,
msi1.description assm_desc,
sum(wdj.start_quantity) ASSL_QTY,
item.segment1 PART_CODE,
item.description PART_DESCRIPTION,
item.primary_uom_code UOM,
sum(wro.required_quantity) REQUIRED_QTY,
SUM((mt.transaction_quantity)*-1) ISSUED_QTY,
mfg.meaning JOB_STATUS,
SUM (mol.transaction_quantity) rm_stock
FROM mtl_material_transactions mt,
mtl_system_items item,
mtl_system_items msi1,
wip_e0ntities we,
wip_requirement_operations wro,
mfg_lookups mfg,
wip_discrete_jobs wdj
mtl_onhand_quantities mol
WHERE mt.inventory_item_id = wro.inventory_item_id
and mt.inventory_item_id=item.inventory_item_id
AND item.inventory_item_id = wro.inventory_item_id
AND we.wip_entity_id = wro.wip_entity_id
AND wdj.wip_entity_id = we.wip_entity_id
AND mfg.lookup_code = wdj.status_type
AND mt.organization_id = :org_id
AND mt.inventory_item_id = wro.inventory_item_id
AND item.organization_id = wro.organization_id
AND mt.transaction_source_id = we.wip_entity_id
AND msi1.inventory_item_id = wdj.primary_item_id
AND msi1.organization_id = wro.organization_id
AND we.wip_entity_id = wro.wip_entity_id
AND we.organization_id = wro.organization_id
AND mfg.lookup_code = wdj.status_type
AND mfg.lookup_type = 'WIP_JOB_STATUS'
AND mt.transaction_type_id = 35
AND wro.department_id <> 1001
AND wro.required_quantity > transaction_quantity*-1
AND mol.inventory_item_id = wro.inventory_item_id
AND mol.organization_id = wro.organization_id
group by mt.subinventory_code,
item.description,
item.segment1,
we.wip_entity_name,
mfg.meaning,
item.primary_uom_code,
msi1.segment1 ,
msi1.description;Cheers
Sarma. -
I want to get an output using group by function of there is no data in the table to display a particular value
for eg:
SELECT TRUNC(updated_date) DATE1 , COUNT(1) COUNT FROM table
where TRUNC(updated_date) >=TRUNC(SYSDATE-18) AND TRUNC(updated_date) <=TRUNC(SYSDATE)
GROUP BY TRUNC(updated_date)
ORDER BY TRUNC(updated_date) DESC;
DATE1 COUNT
6/16/2012 14208
6/15/2012 307825
6/14/2012 172988
6/6/2012 138790
6/5/2012 167562
6/4/2012 51870
6/2/2012 130582
6/1/2012 239806
But i need the missed out date i.e 6/3/2012 - 0, 6/7/2012 - 0 to be displayed since there is no data on the repective dates.You should probably ask this question in the SQL and PL/SQL forum:
PL/SQL
You'll find answers quicker. -
IR group by function and timestamp datatype
Is there any limitations on the group by function e.g. based on the datatype.
My problem\misunderstanding is with the IR:
USING "GROUP BY"-
I have a TIMESTAMP column (columnname TM_TIME) and I can schose it in the group by clause but not in the function section. Is there any reason why and could I get it to work.
regards
Thorsten
Edited by: Fischert on 02.05.2012 03:05It really depends on the granularity that you need from the timestamp to make it meaningful. The key word is aggregation. So you should ask what level of aggregation do I need?
You can reduce the granularity from the fractional seconds to some lower level of granularity like seconds, minute, hours or even date (equivalent of trunc(date_column) using CAST or Truncating or to_date(to_char(...)) with appropriate format mask.
It just depends on the application and data.
E.g. for the LHC at CERN chasing the Higgins, timestamp is just not fine grained enough (you need 10 exp -23 or lower I guess !)
E.g. if you look at seismic data for oil exploration a hell of a lot happens in 5th and 6th decimal places in the timestamp.
But if you are looking at data logged by a normal SCADA system then maybe a second is detailed enough for the purpose.
In normal business application we are better off "rounding" the timestamp to some meaningful level for aggregation/ reporting.
Regards, -
Confusion in group by function- Any thoughts?
Hi,
I always have a doubt regarding the group by function i.e. if we are using a group by function and we want to display some columns which are not to be grouped by then how do we display those.
Like for eg.
to display last name, department no and average of salary for each department how should we proceed.
I know we can display the department no, and avg(sal) but how abt the last name.
Do we use a subquery?
Any thoughts or explanaitions with example?
ThanksWhile the analytic functions already suggested are likely more efficient for y our example, there are cases where they may not be. An alternative formulation without analytics would be something like:
SQL> SELECT s.department_id, e.last_name, s.average
2 FROM (SELECT department_id, AVG(salary) average
3 FROM employees
4 GROUP BY department_id) s, employees e
5 WHERE s.department_id = e.department_id
6 ORDER BY s.department_id;
DEPARTMENT_ID LAST_NAME AVERAGE
10 Whalen 4400
20 Hartstein 9500
20 Fay 9500
30 Raphaely 4150
30 Tobias 4150
30 Colmenares 4150
30 Himuro 4150
30 Baida 4150
30 Khoo 4150
40 Mavris 6500
50 Taylor 3475.55556
50 Fleaur 3475.55556
50 Sullivan 3475.55556
50 Geoni 3475.55556
50 Cabrio 3475.55556HTH
John -
I want to get an output using group by function of there is no data in the table to display a particular value
for eg:
SELECT TRUNC(updated_date) DATE1 , COUNT(1) COUNT FROM table
where TRUNC(updated_date) >=TRUNC(SYSDATE-18) AND TRUNC(updated_date) <=TRUNC(SYSDATE)
GROUP BY TRUNC(updated_date)
ORDER BY TRUNC(updated_date) DESC;
DATE1 COUNT
6/16/2012 14208
6/15/2012 307825
6/14/2012 172988
6/6/2012 138790
6/5/2012 167562
6/4/2012 51870
6/2/2012 130582
6/1/2012 239806
But i need the missed out date i.e 6/3/2012 - 0, 6/7/2012 - 0 to be displayed since there is no data on the repective dates.Please post here {forum:id=75}
-
Group/Ungroup outline & Run macro automatically once open excel templates
Hi all,
Would need your advise for the following queries.
1. May we have a protected sheets with Group/Ungrouped features?
2. Is there a way to auto-run the macro once we open excel template?
Looking forward to hear from you all! Thank you very much!Hi Tim,
Thanks for your feedback! I did tried this before, but it remain the same. Please look at the code as below. I'm looking something that can execute the macro once open up the workbook,like "Call onFileOpenMacro".
Private Sub Workbook_Open()
With Sheet1
.Protect Password:="Secret", userinterfaceonly:=True
.EnableOutlining = True
End With
'Call onFileOpenMacro
End Sub
Please advise.
Thank you!
Maybe you are looking for
-
Planned delivery cost difference
dear experts, during doing MIRO for planned delivery cost. In case the real value for the delivery cost is different than the one in the PO, what is the standard way to handle this?????
-
Answers PDF Export (26000 rows, perhaps 200 pages)
When create an small PDF everything works fine. When I try to create a very bis PDF I receive the message in german Adobe Acrobat: i: Die Datei ist beschädigt und kann nicht repariert werden The PDF-Document will be not displayed. How can I get such
-
VDI 3 EA: not able to put the VMs in a directory
Hi all, I created a new pool, but all the VMs appear in the top level of my ESX server. I would like to get them organized in dirctories. How can this be done? Regards, Wouter
-
Action listener just wont work..
wats the prob wid this code???help plz!!1 import java.awt.*; import java.applet.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public class searchmember extends JApplet implements ActionListener /*searchmember should be declared
-
Enhacement ERP_H view doesnu00B4t work
Hi colleagues, I am implementing an enhacement on the part ERP_H / HeaderDetail for CRM 7.0, but does not work. Steps performed: 1.- creation set enhacement in view BSPWDVC_CMP_EXT . 2.- creation enhacement in the Tx BSP_WD_CMPWB, view ERP_H. 3.- En