Urgent Grand total Issue
Hi Experts,
In my Dashboard has 5 different table report with a Filter option, when I click the clear filter option it affect all the (5) reports.
1. But I want to clear filter for each reports separately, is it possible means pls tell me how to fix this issue.
2. Then I want display Grand total at the top of the Table report ie First Grant total then Table report (Usually table report has Grant total is in bottom of that report)
Thanks in advance
Balaa...
1. I donot think this is possible.
2. This is possible in Pivot but not possible in normal Tabular view. When you click on the 'Sigma' signs there is an option that enables you to specify the position of the Grand Total
Regards
Similar Messages
-
Grand Total issue, it won't display...
Hi,
Discoverer Desktop 4.1.44
I have a simple table work sheet showing accno, name, address, balance
Balance is a calculation, a case statement, so is not held in the database, and it is worked out in the worksheet.
I want to create a grand total at the bottom of the balance colum but it simply will not show. So if I have 4 records with a balance of £25 each I wpould like to see a grand total at the bottom of £100 but it won't show!
Is this because disco cannot show a grand total on a calculated field and if so is there any way around it?
Thanks,
rgHi,
You can do a grand total on a calculated column,by just going to tools/totals and then select the column and do a sum and clicking the option at the bottom.There comes your grand total in the report.
Derry Discoverer 4.1 is outdated and there are many issues concerning it.So better suggestion is upgrade it to the latest version of discoverer 10g where many issues are solved.You can search this forum for upgrading to 10g
Best Wishes,
Kranthi. -
Grand Total Issue - Weighted Sum
Here's the Issue
3 Columns
Hours Worked, Pay Amount, and Pay Rate
20 10 $.50
Pay Rate is a calculated column from "Hours Worked" and "Pay Amount"
I'm trying to add the grand total to my work sheet for "Pay Rate"
Discoverer simply adds all of the "Pay Rate" values.
I would like the Pay Rate grand total to be "Pay Amount Grand Total" / "Hours Worked Grand Total"
Is this even possible?If you're using 10g, take a look at your aggregation options (tools/aggregation). Since Pay Rate is a calculated column, there should be an option that forces it to do a calculation on the totals (rather than a total of the calculation). If you're on an older version, you may need to look into the aggregation-related registry settings/preferences. Also make sure you're doing a sum (not a cell sum).
That behavior seems to change from version to version but if you search on MetaLink you should find some version-specific help. -
Urgent:Grand total in hierarchical alv
I am printing a hierarchical alv with subtotals. I want to print the grand total for the whole numeric columns ...
Can anyone explain me how i can do this.
Thanks and regards,
SubhakarHi,
In this case you not only require the totals but the subtotals also.
For achieving this output you will have to sort the alv on the first column and also give subtotals there.
use
data: SORTF TYPE SLIS_SORTINFO_ALV,
TSORT TYPE SLIS_T_SORTINFO_ALV.
in the function module reuse_alv_grid_display give
it_sort = tsort.
eg:
FORM ALV_SHOW.
LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
LAYOUT-BOX_TABNAME = 'IT_DISPLAY'.
LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
LAYOUT-ZEBRA = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT = LAYOUT
IT_FIELDCAT = TCATALOG
IS_VARIANT = VAR1
I_SAVE = 'A'
IT_SORT = TSORT
IT_EVENTS = TEVENT[]
TABLES
T_OUTTAB = IT_DISPLAY.
ENDFORM . "ALV_SHOW
and write a subroutine for sort...
form sort.
CLEAR SORTF.
SORTF-spos = 1.
SORTF-fieldname = 'column_1'.
SORTF-tabname = 'IT_table used for display in alv'.
SORTF-up = 'X'.
SORTF-subtot = 'X'.
APPEND SORTF TO TSORT.
endform.
If this doesn't help I will send you the whole source of a sample program..
Abdullah -
Hello,
I have one requirement where I want to show the data as follows
Type Metric Values
Type1 units 100
Days 50
% Calc 10%
Type2 units 100
Days 50
% Calc 10%
Type3 units 100
Days 50
% Calc 10%
Total units 300
Total Days 150
Total % Calc 30%
If I take grand total of row in pivot table, I am not able to show Total units, Total Days and Total % Calc values in Grand Total because by default, same grand total name appears.
I want to give different grand total names and percentage sign should appear in grand total.
Please let me know if u need any more information.
Thanks.Try to recreate the report. Just in case make sure that you dont have null values in that metric or try with ifnull(col,0)
Check this bug too BUG:9871470
Keep update -
Hi Gurus,
In My RPD we are using "Count Distinct" Aggregate rule for Facts and in Reports I am using Table level "Grand Total" Enable with "Report Based Total(When applicable)"option also checked...It is working fine for some days..but suddenly it is showing Different Grand totals..and as work around for this I changed Aggregation rule at report level to "Sum"...now it is showing correct values..so my question is Is my work around is correct or not because we used "Count Distinct" as aggregation Rule in RPD and in report level we changed it as "sum"...and also I observed Physical sql when using Grand totals it is summing the values like...sum(Count(distinct fact1))....and when i changed aggregation to "sum" at report level also it is summing the values like..sum(count(distinct fact1)..so please suggest, Is my work around is correct or am I doing any mistake like changing aggregation at report level to get grand total correct?
I am using 10.1.3.4.1...
I also studied in Release notes as it is a bug in this version for this they suggested work around to use<ReportAggregateEnabled>true</ReportAggregateEnabled> in <serverInstance>tag of instanceconfig file this also not working in my environment...Hi,
I dont' think this is possible for the same measure in a pivot table. Maybe you can use this workaround:
- create an extra column for the measure with a calculation like:
CASE WHEN "Base Facts"."1- Revenue" = MAX("Base Facts"."1- Revenue" BY "Products"."P3 LOB") THEN MAX("Base Facts"."1- Revenue" BY "Products"."P3 LOB") ELSE 0 END
In this example I use the Revenue as the measure. I use the MAX BY function to calculate the MAX value per Product Lob (subtotals per Product Lob in my example). If the max value per product lob is equal to the revenue then the Max value is displayed and otherwise o.
Add this extra measure to the pivot table and add the grand total with aggregate rule = SUM. If you don't want to see the grand total for the original measure select None instead.
Hope this helps. I have a screenshot as well but then I need your emailadress.
Kind regards,
Quinten -
Please list out the solutions available to solve the Grand total issue.
These are the problems Im facing.
If I enable Grand total I find some rows missing in the report.
sometimes if i apply any calculations in report(fx) grand total is wrong and again some rows missing.
These same issues I faced in BISE1 and it is still continuing.
Any solutions?Hi sneha,
sometimes if i apply any calculations in report(fx) grand total is wrong and again some rows missing.Strange behaviour of missing rows,dint come across this......tell us the exact problem
These same issues I faced in BISE1 and it is still continuing.How did you solve this issue in BISE1.
By,
KK -
Need urgent Help on Grand Totals
Hi gurus,
I have a problem with a crosstab report I'm working on. I have a calculated column based on a pre-summed column. The formula is CASE WHEN material_size_num IN ('97', '93', '92') THEN material_qty_sum*1.5)
I have created grand totals for the rows and columns. My problem is that the grand total for the column does not have total of all 'grand totals'. My report looks like the following:
Case statement col1., Case statement col2., Total col1+col2
(total) (total) (total does not appear).
I would appreciate any suggestions. I have tried using cell sum, but that has not workedHi Melanie,
When I use Sum all datapoints the sum for that column doesn't appear. I have to put Sum "adjusted qty" (my calculated column) to show any totals. I'm wondering if it's an issue with the CASE statement I'm using. This problem seems to occur whenever I use a decode or CASE statement. Have you any similar experiences?
Thanks for your help -
OBIEE Avg Issue on Grand Total
Hello Experts,
I'm having an issue while calculating the grand total for the AVG measure.This is the scenario
1)I have the show count for the top three tiles for the rolling 13 weeks and only for the weekends and for a particular group of theaters.I have a 13 week indicator and weekend indicator in the filter.
2) I have the show count to which is using ((showcount/3(top 3 titles))/ 3(3 days in the week)) = ShowCount/9
3) now when i'm doing the grand total in the pivot rules summation after ,then it is showing sum of all the averages......but this is not my case...my case should be it has to show the avg of all the theaters that are in group of theaters.
how can i resolve this issue?
Any help is greatly appreciated.Hi User,
This report is corrupted. You can rebuild or re copy the xml from 10g to 11g and see if it works.
Thanks,
Amol
(Please mark this answer, if you find helpful) -
Script: Sub totals & Grand Totals.(Urgent)
Hi Gurus
im developing a invoice billing. for this i need hw to get sub totals and grand totals at the last page in my main window . what should be given in the text elements and in the SE 38 part.please help me with this its very urgent.
correct answers are fully rewarded.
thanks in advance.
thanks & regards.
sirish.If you want your totals in fixed place than you need to create a new window and element inside it.
If you want just after the finishing of the main data than you can create a element in MAIN window and call it with the call FM WRITE_FORM.
Here is the small example:
DATA: W_SUM TYPE VBRP-NETWR.
START-OF-SELECTION.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZTEST_NP'
LANGUAGE = SY-LANGU.
DO 3 TIMES.
W_SUM = W_SUM + SY-INDEX. " << sum
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN'
WINDOW = 'MAIN'.
ENDDO.
* Fixed window for SUM
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'LAST'
WINDOW = 'LAST'.
IF SY-SUBRC <> 0.
ENDIF.
CALL FUNCTION 'CLOSE_FORM'
Regards,
Naimesh Patel -
*urgent* Alternate colors for Grand total values
Hi all,
I have 1 dimension column and 4 fact columns. Here I perform Grand total for the request .
The requirement is :---
I need alternate colors as background for the Grand total values.
Am trying to modify the XML in Advanced tab .
I tried to do it by using combine request .
Please help on this . Urgent .
Thanks a lot in advance for every reply .Please give some suggestions.
-
Grand total (Report footer) issue in a Report with Group selection.
Hi,
The case is simple, i have to summrise the NetValue field of a report at the Group level and at the Report level(Grand Total).
I also use a Group selection filter (I have grouped my records by MaterialDesc) to keep the desired groups.
As you already guessed, my group totals are fine but the grand totals(report footer) contain both filtered and non filtered group records. Is there any way to avoid this problem and get a Grand Total from the filtered group records?
Thank you.You can not use standard summaries with Group Suppression you must use either Running Totals or variables.
In Running Total evaluate click theformual button and eneter reverse condition to your group suppression.
If you can not do that then you must use a Var
In group footer where total is currently correct place a formula like this and suppress it
@eval
whileprintingrecords;
global numbervar RepTot;
If ..whatever your suppression condition is not true... then reptot:= reptot + sum( valuefield, groupfield);
In report footer
@display
whileprintingrecords;
global numbervar RepTot;
Ian -
Issue in ALV Grid Grand Totals
Hi Friends,
Hwo can i display grand total text in ALV Grid? Eventhough i am using Totals_text parameter in layout i am unable to display. any one vcan help me out in this refgard.
if pos send the code
Regards,
Vijay<REMOVED BY MODERATOR>
SAMPLE PROGRAM:
REPORT ysalesorder_alv_subtotals.
* Type Pools
TYPE-POOLS:slis.
* Tables
TABLES: vbak, "Sales Document: Header Data
vbap. "Sales Document: Item Data
* Global Structures
DATA:gt_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
gt_sortcat TYPE slis_t_sortinfo_alv,
wa_sortcat LIKE LINE OF gt_sortcat.
* Internal Table
DATA: BEGIN OF gt_salesorder OCCURS 0,
vbeln LIKE vbak-vbeln, " Sales Document Number
posnr LIKE vbap-posnr, " Sales Doc Item
netwr LIKE vbap-netwr, " Net Value
END OF gt_salesorder.
* SELECT OPTIONS
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME
TITLE text-001.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln. " Sales Document
Number.
SELECTION-SCREEN END OF BLOCK b1.
* Initialization
INITIALIZATION.
PERFORM initialization.
* Start Of Selection
START-OF-SELECTION.
PERFORM field_catalog. "For Structure Creation
PERFORM fetch_data. "Get the Data From DB Table
PERFORM sorting USING gt_sortcat.
* End Of Selection
END-OF-SELECTION.
PERFORM display_data.
*& Form initialization
* text
* --> p1 text
* <-- p2 text
FORM initialization .
s_vbeln-sign = 'I'.
s_vbeln-option = 'BT'.
s_vbeln-low = '4969'.
s_vbeln-high = '5000'.
APPEND s_vbeln.
ENDFORM. " initialization
*& Form field_catalog
* text
* --> p1 text
* <-- p2 text
FORM field_catalog .
REFRESH : gt_fieldcat.
CLEAR : wa_fieldcat.
wa_fieldcat-col_pos = '1'. "Column Position
wa_fieldcat-tabname = 'IT_SALESORDER'. "Internal Table
wa_fieldcat-fieldname = 'VBELN'. "Field Name
wa_fieldcat-key = 'X'. "Blue Color
wa_fieldcat-seltext_m = 'Sales Doc No'. "Display Text In Screen
APPEND wa_fieldcat TO gt_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = '2'. "Column Position
wa_fieldcat-tabname = 'IT_SALESORDER'. "Internal Table Name
wa_fieldcat-fieldname = 'POSNR'. "Field Name
wa_fieldcat-seltext_m = 'Sales Doc Item'."Display Text In Screen
APPEND wa_fieldcat TO gt_fieldcat.
CLEAR wa_fieldcat.
*SubTotal on the Field NETWR
wa_fieldcat-col_pos = '3'. "Column Position
wa_fieldcat-tabname = 'IT_SALESORDER'. "Internal Table
wa_fieldcat-fieldname = 'NETWR'. "Field Name
wa_fieldcat-do_sum = 'X'. "Sum
wa_fieldcat-seltext_m = 'Net Value'. "Display Text In Screen
APPEND wa_fieldcat TO gt_fieldcat.
CLEAR wa_fieldcat.
ENDFORM. " field_catalog
*& Form sorting
* text
* -->P_IT_SORTCAT text
FORM sorting USING p_it_sortcat TYPE slis_t_sortinfo_alv.
CLEAR wa_sortcat.
wa_sortcat-fieldname = 'VBELN'.
wa_sortcat-up ='X'.
wa_sortcat-subtot = 'X'.
APPEND wa_sortcat TO p_it_sortcat.
ENDFORM. " sorting
*& Form display_data
* text
* --> p1 text
* <-- p2 text
FORM display_data .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
* IS_LAYOUT =
it_fieldcat = gt_fieldcat
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
it_sort = gt_sortcat
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* I_HTML_HEIGHT_TOP =
* I_HTML_HEIGHT_END =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_salesorder
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER
SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_data
*& Form fetch_data
* text
* --> p1 text
* <-- p2 text
FORM fetch_data .
REFRESH : gt_salesorder.
CLEAR : gt_salesorder.
SELECT a~vbeln
posnr
b~netwr
FROM vbak AS a
INNER JOIN vbap AS b ON a~vbeln = b~vbeln
INTO TABLE gt_salesorder
WHERE a~vbeln IN s_vbeln.
ENDFORM. " fetch_data
Edited by: Alvaro Tejada Galindo on Apr 11, 2008 12:24 PM -
Urgent : how to calculate sub total and grand total in smart forms
Hi Friens..how to calculate sub total and grand total in smart forms..How to print them in smart forms...Also kindly explain how to handle events in smart forms..Thanks in advance
Re: Subtotal with Table Node in smartforms
-
PO Print SAP scripts:Grand total field -- High priority
Hi experts
In a PO print out, For example in one line item ,I have conditions printed as below
Line iem 1.
Gross price -- 1000
VAT% 40
Service Tax -
123.36
Net. Incl. Disc. 1163.36
Line iem 2.
Gross price -- 500
VAT% 20
Service Tax -
61.8
Net. Incl. Disc. 581.8
Grand total----
1500
(desired tgrand total 1163.36+581.8)
I have many line items like this and the total of all conditions at individual line item printed is correct.
But at the bottom of the PO print, in the "Grand Total" the sum of only the Gross values is printed (Not the total of the Net. Incl. vlaues of line items).
I got info from our developer that we are using SAP scripts (not smart forms).
Please guide me if anyone has come accros a issue like this and got the answer. This is urgent.
Thank you
MRaoTo calculate grand totals and sub totals in sap scripts you have to use subroutines.
Say if you have to add the unit price (KOMVD-KBERT) then in the main window where ever that value is picked write this routine
/: DEFINE &TOT_PRICE&
/: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name>
/:USING &KOMVD-KBERT&
/:CHANGING &TOT_PRICE&
/:ENDPERFORM
Then write the variable where ever you want it to be printed (mostly grant total will be in footer window)
Then create subroutine pool program and you have to write the following code.
FORM F_GET_PRICE tables int_cond structure itcsy
outt_cond structure itcsy.
data : value type kbert.
statics value1 type kbert.
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
I have given a rough example,
Note:Int_cond-value and outt_cond-value are characters.
Close the thread once your question is answered.
Regards,
SaiRam
Maybe you are looking for
-
No email in Outlook 2011 for mac since yosemite upgrade
I installed yosemite 10.10.2 two days ago and cant get my gmail anymore. Using Outlook for mac 2011, ver 14.2.7 and gmail. Called microsoft, they created new identity but now I can only see what has come in the last 2 days, All other history, drafts,
-
We have an iMac 21 inch 2009 model. Screen is black upon switching on although we hear the sound. Any thoughts and/or fix? Many thanks
-
Blending modes, RGB to CMYK
Hi, Is there any way that blending modes in cmyk look the same (change the colors in a same way) as that they are in RGB ? Thanks
-
Opening the NAT of Two Xboxes on WRT54G v8 Router
Hello everyone! I have two Xboxes and a WRT54G v8 router. Both Xboxes are connected to the WRT54G v8 router. How do I open the NAT of both Xboxes? Thank you!
-
When I publish a responsive module using Publish for Devices (html 5), the results of captions with bullet indentation are incorrect. The second line is not aligned with the first -- it appears that there is a 2 space padding. Is there a workaround f