How to display different subtotal text for each group in alv report
Hi,
i need to display subtotal text as "totals of Mat1" for material numbers 1 to 10 as group1 and again i need to display subtotal text as " totals of Mat2" for material number 11 to 20.
group 2.
Please help me asap.
You can create subtotals by columns.
You would need extra column to group the materials( 1 to 10 GROUP1 20 to 30 GROUP2 by example) and use this column for subtotals
Similar Messages
-
How to create different log files for each of web applications deployed in OC4J
Hi All,
I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
1. how to create different log files for each of my deployed web applications ?
2. what are the advantages in running multiple instances of oc4j and in what case we should run
multiple instances of OC4J ?
3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
Thanks and Regards,
Kumar.Hi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
How to handle goup sub total for each group in oracle query ?
hi,
i want to handle one complex thing in oracle query.
i have a grouping in my oracle query.
i want to do sub total for each group in query and after that i want to subtract one group sub total from previous group subtotal ?
so how can i handle this in oracle query ?
any help is greatly appreciated.
thanks.Hello
Interesting requirement.
I wonder why are you not using these calculation during the display time. If it is acceptable then you can try using the custom formula with the running total combination in crystral report to achieve to get the required results.
Best regards
Ali Hadi -
How to get multiple output formats for each execution of the report?
Hi,
Is it possible to get multiple output formats for each execution of the report? If so can you provide some details?
ThanksIn Reports 6i, Reports Distribution was introduced. This allows you to run the report once and output to a number of destinations with a different format. It also allows you to distribute individual sections within a report to different destinations in different formats.
The Destinations for a Report to distribute to are defined either in a distribution file and passed on the command line or inside of the report definition.
To add a destination to the the report definition, bring up the property palette against the report object and then select the "Distribution" property under the "Report" node. This will bring up a dialog that allows you to create a distribution list. You can then test this list by selecting "file->distribute" from the menu.
To run a report that is to be distributed through rwrun60, you need to add "distribute=yes" to the command line. It will pick up the destinations from the report definition. If you add "destination=<filename>" then it will pick up the destinations from the specified "<filename>" and ignore the destinations in the report definition.
Note: if "distribute=yes" is specified on the command line then the destype/desname/desformat parameters will be used to format the report (ie: which printer/display to use during formatting for sizing objects) but will be ignored when the report is sent to the destinations. -
How can I display different error bars for each point on a scatter graph?
I have a scatter chart in Numbers and I need to add error bars to the points along both the x and y axes, however, the size of the error bars for each point need to be of different sizes. Is there a way to accomplish this or is there some kind of work around to acheieve a similar result? So far the only way I can find to add error bars only allows a standard amount for each point.
I found the answer here https://discussions.apple.com/message/16440653#16441393
-
Smartforms,How to display different standard Text in a Text element.
In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all maintained in SO10 in a same text element,how to do it?
if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
Is there anyone can tell me?
thanks.use Alternative to control it no problem
for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
TEMPLATE1
Alternative case1
YES
INCLUDE TEXT1(display SO10) [set output option line1 column2]
NO
Alternative case2
YES
INCLUDE TEXT2(display SO10) [set output option line1 column2]
NO
Alternative case3
every case your SO10's text is always display at line2 column2
just try to test it ,you can know -
How to create a dynamic menu for each group of responsibility and user
Hi
I am using Jdev 11.1.1.6 and new to ADF, my application require to populate menu which would be different for different groups of user, and the user in each group would have different submenu depends on their responsibilities assigned to each one of them.
so on the top level would be menu_top_item1, menue_top_item2
|-->submenu1_1 |-->submenu2_1
|-->submenu1_2 |-->submenu2_2
also the menu would need to be on_mouse_over to show the submenu items or collapsed back.
any idea what would be the best approch? or is there any example around?
thanks a lotYou can use ADF Security to control access to menu options.
More about ADF Security here:
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AdfSecurity/AdfSecurity.html
If you also use WebCenter you might use their menuing option:
https://blogs.oracle.com/shay/entry/webcenter_portal_intro_for_adf -
How to select a max row for each group in SQL ( with distinct code )
Dear friends,
My table is as show in below… for each ‘grpid’ I want get row with Max tiv value and code should be distinct. Ie in result, code & grpid will come only once.
grpid
code
Tiv
2
GB
9
2
IN
7
1
GB
11
1
US
10
Result: ( we are selecting IN even though for grpid 2
‘GB’ has max value )
grpid
code
Tiv
2
IN
7
1
GB
11
-SajidThanks for reply..
please see my DML+ DL
CREATE TABLE [dbo].[tab](
[grpid] [int] NOT NULL,
[code] [varchar](2) NOT NULL,
[Tiv] [int] NOT NULL
) ON [PRIMARY]
delete from tab
insert into tab values (2 , 'GB' ,12)
insert into tab values (2 , 'IN' ,10)
insert into tab values (1 , 'GB' ,11)
insert into tab values (1 , 'US' ,10)
insert into tab values (3 , 'GB' ,10)
insert into tab values (3 , 'US' ,9)
insert into tab values (3 , 'UA' ,10)
insert into tab values (3 , 'IN' ,8)
Result:
grpid code
tiv
1
US 10
2
GB 12
3
UA 10
Thanks in Advance..
-Sajid
CREATE TABLE [dbo].[tab](
[grpid] [int] NOT NULL,
[code] [varchar](2) NOT NULL,
[Tiv] [int] NOT NULL
) ON [PRIMARY]
delete from tab
insert into tab values (2 , 'GB' ,12)
insert into tab values (2 , 'IN' ,10)
insert into tab values (1 , 'GB' ,11)
insert into tab values (1 , 'US' ,10)
insert into tab values (3 , 'GB' ,10)
insert into tab values (3 , 'US' ,9)
insert into tab values (3 , 'UA' ,10)
insert into tab values (3 , 'IN' ,8)
;with mycte as
(select grpid,code,tiv , row_number() over(Partition by code Order by Tiv DESC) rn1, row_number() over(Partition by grpid Order by Tiv DESC) rn2
from tab)
,mycte1 as (Select *
, row_number() over(Partition by grpid, rn1 Order by rn2 ASC) rn3
from mycte
WHERE rn1=1
Select grpid,code,tiv from mycte1
Where rn3=1
drop table tab -
Tool Tip Text for field values in ALV report
Hi,
How to get the tool tip text for the field values in ALV report.
Thanks & Regards,
Pallavi.Hi,
In fieldcatalog specify the TOOLTIP.
<b>
LVC_S_FCAT-TOOLTIP
</b>
In this speicfyteh tooltip you want.
Then append this to the fieldcatalog.
Hope this solves ur problem. -
How to set different navigation items for each content tab in xMII portal
Hi,
Scenario : I have added three content tabs in the xMII portal.
I want to change the items in the navigation tree when each of the content tabs are selected.
How is this possible?
Please help.Vaishali,
The built-in navigation tree is not intended for this sort of thing, where just like with the tabs it is intended to provide role/user based content links.
You would be better off having your content tab link pass a criteria to the default target frame and allow a web page to give you the second level of dynamics. Your content tab links could be something quite simple like "Page.irpt?Tree=1", "Page.irpt?Tree=2", "Page.irpt?Tree=3" and your irpt page would receive the Tree property and you could react accordingly in your web page.
Regards,
Jeremy -
Different onMouseOver Event for each row of a report
Hi all,
See
http://htmldb.oracle.com/pls/otn/f?p=41861:1
As you can see in the demo, all employees of a department are shown when you click the detail link for a department. This is done with the help of AJAX technologie to avoid the submit of the page.
My question is: Is there a possibility to show the the employee report for the correct department when I move the mouse over the row of a department. In other words: what I am searching is a possiblity to define the behaviour of a certain row, so that code like
<tr onMouseOver="javascript:getEmps(1)">....</tr>
<tr onMouseOver="javascript:getEmps(2)">....</tr>
is generated.
Thank you in advance
StephanHi,
for this you need to call the PLSQL function upon table rendering, which means that you need a field in the table referencing a managed bean. In the managed bean you can use #{row} and resolve it using a ValueExpression. #{row} gives you access to the current rendered row (this is why you need to do it when the table renders) and thus allows you to call getAttribute(name) to get the values of field 1 - 3. The search field value you should get through the bindings reference (assuming the search form uses ADF). Then you create an operation binding for the executeWithParameters and call operationBindingName.getParamsMap().put(argname, argvalue); on it.
Frank
Ps.: I am concerned about the performance you get and wonder if it isn't possible to create a transient attribute that executes the function and displays the results. As I understand, the search parameters are only to filter the result set, which you still can do -
How to select a max row for each group in SQL
Dear Frindz,
I want select countries with maximum value of 'Value' for a 'grpid'. Also already selected 'Country' should not be considered for other 'grpid' while checking the maximum. ( ie Country or grpid should not be repeated in the result )
CREATE TABLE [dbo].[test1](
[Country] [varchar](4) NULL,
[grpid] [int] NOT NULL,
[Value] [float] NULL,
[Row_number] [bigint] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'US', 49707, 604456458, 1)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'US', 909, 604456458, 2)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'US', 231, 604456457, 3)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GB', 5086, 497654945, 4)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GB', 50147, 405759433, 5)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GB', 909, 405759433, 6)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GB', 231, 405759433, 7)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CA', 49707, 353500201, 8)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CA', 5086, 353500201, 9)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CA', 909, 353500201, 10)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CA', 231, 353500201, 11)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'JP', 49707, 198291290, 12)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'JP', 5086, 198291290, 13)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'JP', 909, 198291290, 14)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'JP', 231, 198291290, 15)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'MX', 49707, 181884714, 16)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'MX', 909, 181884714, 17)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'MX', 231, 181884714, 18)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'BR', 49707, 105147054, 19)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'BR', 5086, 105147054, 20)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'BR', 909, 105147054, 21)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'AR', 49707, 94774929, 22)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'AR', 5086, 94774929, 23)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'AR', 909, 94774929, 24)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'AR', 231, 94774929, 25)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'ZA', 49707, 84560514, 26)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'ZA', 909, 84560514, 27)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'ZA', 231, 84560514, 28)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CN', 49707, 68966682, 29)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CN', 909, 68966682, 30)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CN', 231, 68966682, 31)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CB', 49707, 65020665, 32)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CB', 5086, 65020665, 33)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CB', 909, 65020665, 34)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CB', 231, 65020665, 35)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GT', 49707, 42016510, 36)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GT', 5086, 42016510, 37)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'GT', 909, 42016510, 38)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CR', 49707, 37116544, 39)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CR', 5086, 37116544, 40)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CR', 909, 37116544, 41)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'CR', 231, 37116544, 42)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'SV', 49707, 31103322, 43)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'SV', 5086, 31103322, 44)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'SV', 909, 31103322, 45)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'NI', 49707, 17415843, 46)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'NI', 5086, 17415843, 47)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'NI', 909, 17415843, 48)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'HN', 49707, 12516273, 49)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'HN', 5086, 12516273, 50)
GO
INSERT [dbo].[test1] ([Country], [grpid], [Value], [Row_number]) VALUES (N'HN', 909, 12516273, 51)
GO
Result:
Country
grpid
Value
Row_number
US
49707
604456458
1
GB
5086
497654945
4
CA
909
353500201
10
JP
231
198291290
15
-SajidHi Pituach, thanks for your reply.
in result Country or grpid should not be repeated... in your result 'GB' and 'US' is repeating.
1) select countries with maximum value of 'Value' for a 'grpid'
2) 'grpid' & country should not be repeated.
3) we need to take next maximum
value if 'grpid' not there a for
highest value.
Result:
Country
grpid
Value
Row_number
US
49707
604456458
1
GB
5086
497654945
4
CA
909
353500201
10
JP
231
198291290
15
-Sajid
-Sajid -
How to display the editable fields in output of an ALV report?
Hi all,
I have a requirement of displaying values in ALV Grid format and above this grid display i have to put some fields , that are editable.
I know making ALV grid fields as editable, but here requirement is to display some fields before displaying the ALV grid dispaly and to enable these fields editable to user and when printing this the values entered by user also has tobe printed.
Please help me on solving this problem? Is it possible to do this with ALV function modules?
Thanks,
Vamshi.Hi all,
Thanks for your replies.
But this is not my requirement. I mentioned in my question that i too know how to edit the fields in ALV grid report.
Here my requirement is .
name :_____________
amount:____________
alv grid display
Like above i need to display. after name the user can be enter value and after amount also the user can be enter some value at output . But this is not the header of ALV .
Is this possible in classical ALV or Classical report? If not please specify alternative?
Thanks,
Vamshi. -
How Can we create parameter field for BP Group on Crystal Report
Hi,
I have something wrong:
I want to create parameter field on Crystal report to select multiple cardcode group, I use for that :
@Select * from ocrg
but when I execute the report the fiel don't give any thing to choice BP Group, it is a null fiel ?
Any Idea how can I do this otherwis
Ps: I want to precise group to display it.
Thanks in advance
Cdt
MalikaHi Malika.....
Try this simple query report in Crystal with Parameter as CardGroup....
Select T0.CardCode, T0.CardName From OCRD T0
Where T0.GroupCode='{?GroupCode@Select * from OCRG}'
Take above query in command window.
GroupCode@Select * from OCRG
Take above condition in parameter window and then try to run in SAP.
You can see how CFL gets generated and you get values of CardGroup......
The above is only example.......
Regards,
Rahul -
Adding ssrs chart for each group under group footer
Hi,
I have requirement of report design, user has ability to select single or multiple product name in parameter and it should display column headers for each group and chart for each group (product name).
Report Design
ProductName: A
Category JAN
FEB MAR
Sales 10
12 15
Budget 20
20 20
Chart Here
ProductName: B
Category JAN
FEB MAR
Sales 10
12 15
Budget 20
20 20
Chart Here
I want to repeat this for all products.
Please anyone can provide steps to how to achieve this design?Hi Srikanth,
According to your description, you want to design a tablix to display header and chart for each group in its group header and footer. Right?
In Reporting Service, when we add header and footer for a group, the header row and footer row are still within this group. Anything we put in these two rows will be grouped. For your requirement, we created a sample report in our local environment. Here
are steps and screenshots for your reference:
1. Create a matrix. Columns are grouped by month. Rows are grouped by ProductName (with group header and footer).
2. Put the text/field of the first row into the group (ProductName) header. Delete the header row of matrix (the first row), select Delete rows only.
3. Insert a chart into the group footer. It looks like below:
4. Add a parameter for filtering data. Save and preview it looks like below:
Reference:
Understanding Groups (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
Maybe you are looking for
-
Daily, WTD, and MTD detail based on 0CAL_DAY
I am trying to set up a report to disply daily, WTD, and MTD based on cal_day, but am having trouble getting the WTD or MTD. I'm either able to get the WTD detail, but the MTD will look like the WTD or vice versa. I've tried different variables, hi
-
Getting the context path in a jspx
Greetings i have in a JSP this code <div id="footerpartners"><img src="<%=request.getContextPath()%>/images/aval.png" width="68" height="26" /><img src="<%=request.getContextPath()%>/images/ath.png" width="79" height="26" /><img src="<%=request.getCo
-
Why has iCal suddenly lost most of my events? How can I restore them?
-
Why is my bluetooth not working??
Why is my bluetooth not working? Trying to get pics off old phone onto my iphone5
-
It happened on the way to the airport. I went for my pocket when we were checking in and it wasn't there. I'd turned it off to save battery for the flight and when we got home I checked the house and it wasn't there. I think it may have fallen out in