Stopping total line in crosstab for plus
Okay.
Should be a simple answer where it's some setting somewhere .... but I could have sworn under Disco Desktop in the ol' days (ie: 4.x and down), there was a way to stop the automatic total line in a crosstab.
Does anyone know the setting - or how to do this - in a crosstab in Plus?
I need the crosstab presentation, but in a particular report's case, I DO NOT want the auto-aggregation to automatically total up the lines below when I have an item on the left column of the crosstab.
This should be a simple setting somewhere, but where ... I can't find it.
Any help?
Thx.
Russ
Thx. already taking the SUM for the aggregation.
The problem I'm having - and it SHOULD BE a trivial fix - is in a crosstab, let's say you have 2 axis items on the left side (like the Y axis in a graph) and a number of columns across the top (ie: state on far left, sales amt on near left, stores along the top).
Well when the datapoints are presented in the data area (where it's set to SUM), you'll get the correct datapoints for each location, etc. across the top, but I DO NOT want state to automatically show the SUM.
A good way to explain this, would be if you also created a total to sum all points everytime the state changed, then you'd get a total line, plus the auto-summing at the top where the state is.
It's the auto-summing I don't want for a particular worksheet.
So, it should be something trivial like: 'crosstab autosum off', and I could have sworn I've turned this off in the past in Desktop, but cannot figure out how to do it in Plus.
Any ideas?
Russ
Similar Messages
-
Total Line in BEX query output
Hello,
I have a requirement, where we have to show just total line in output for BEX query. We want to hide {though hide feature will not work} line items that we process. How can we do it?
Requirement goes like this:
Let say for orders, we have order requested date and actual delivered date. The query formula processes all line items for given selection and measures ontime, late and early shipments based on date in variable exit we have. At output (that is in total line)query will write have % ontime late early.
So for selection calmonth we need to show % ontime late early but for that we need to process all line items to get % calculation. So, how can I keep only total line in query output.
For example: Output should look like for selection of calmonth, plant - product or shipping point etc..
Calmonth plant - % ontime late early or
Calmonth product - % ontime late early or
Calmonth shipping point - % ontime late early
It is working in a way it shows all line items and total line at last. All I want is total line and ignore line items.
Thanks,
AjRemove the drilldowns for the "detail" characteristics that you do not want to see. The report will then display only the "totals" that you do want to see.
Hope this helps...
Bob -
How To avoid column heading for only total line in ALV list Display
Hi,
How To avoid column heading for only total line in ALV list Display.Hi,
to change colunm header field catlog is built
look at the example below
Changing column text headers
use this to change, hide, or alter the ALV columns
CLEAR: gt_fcat.
READ TABLE gt_fcat WITH KEY fieldname = 'TEXT1' " ***
*TEXT1 is your field name
ASSIGNING <gtfcat>.
IF sy-subrc = 0.
<gtfcat>-coltext = 'Date Type'.
<gtfcat>-no_out = ' '.
<gtfcat>-tooltip = 'Date Type Text from IT0019'.
<gtfcat>-seltext = 'IT0019'.
keep seltext to '' if u want to hide
ENDIF.
regards
austin -
Hi Masters,
Please any body give me UDF Code for Total Lines.
Thanks!
Regards,
SReddyHi,
See for example if your structure looks like the below
<Recordset>
<Row>
<Fname>J</Fname>
</Row>
<Row>
<Fname>K</Fname>
</Row>
<Row>
<Fname>L</Fname>
</Row>
<Row>
<Fname>M</Fname>
</Row>
<Row>
<Fname>N</Fname>
</Row>
</Recordset>
If you want to count the row then ,
Row[Change context to higher level]----->COUNT--
>Target
Hope it helps you!!
Best regards,
raj. -
AP Line-Item Report for State Auditors
Dear Members,
I am preparing one Report named AP Line-Item Report for State Auditors and i need the following fields in my report.
Check Number PAYR-CHECT
Voucher Number BSEG-BELNR
Check Date PAYR-ZALDT
Voucher Date BKPF-BUDAT
Vendor Number LFA1-LIFNR
Vendor Name ADRC-NAME1
Vendor Street Address ADRC-STREET
Vendor City ADRC-CITY1
Vendor State ADRC-REGIO
Vendor Zip Code ADRC-POST_CODE1
General Ledger Acct No BSEG-HKONT
Purchase Order Number BSEG-EBELN
Tax Status Code BSEG-MWSKZ
Taxable Amount BSEG-HWBAS
Exempt Amount BSEG-MWSTS
Tax BSEG-MWSTS
Tax Accrued BSEG-MWSTS
Total Invoice BSEG-DMBTR
I am new to FI.So I request some one please let me know which datasources contain the above fields and which CUBE is best suited for this.
Thanks in Advance for help and quick reply is much much appreciated.
Best Regards
RC0VENDOR_ATTR - Vendor Master Data Attributes
0FI_AP_51 - Check Register Line Items
0FI_AP_4 - Accounts Payable Line Items
It should be noted, however, that this won't get you everything that you need, so you may have to create enhance one or more of these DataSources and create User Exit ABAP code to get the required data. Also, the 0FI_AP_51 DataSource isn't available if your source system isn't ECC6 EHP3 or higher. If your source system is less than that, you're going to have to create a generic DataSource for the data from the PAYR table. -
What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?
I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
single month and year.
I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
resultset on two fields:
Start Date - The date the patient was assigned to the practice. This field is never null or blank.
End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
leaves the practice, the date the patient left is populated in this field.
Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
AND
end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
selected)
Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
Jimmy Doe has a start of 7/3/2012 and an End Date of 9/2/2012
Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
this:
Patient Name
Months Assigned
John Doe
June 2012
John Doe
July012
John Doe
Aug 2012
John Doe
Sept 2012
John Doe
Oct 2012
Sally Doe
Aug 2012
Sally Doe
Sept 2012
Sally Doe
Oct 2012
Sally Doe
Nov 2012
Sally Doe
Dec 2012
Jimmy Doe
July 2012
Jimmy Doe
Aug 2012
Jimmy Doe
Sept 2012
From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
June 2012 - 1
July 2012 – 2
Aug 2012 - 3
Sept 2012 - 3
Oct 2012 - 2
Nov 2012 - 1
Dec 2012 - 1
The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
be the y axis).
Does this sound like the best approach?
If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
I do not have permissions to create SPs or Functions within the database but I can create temp tables.
I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
Any advice or help is greatly appreciated.Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want.
Doing a cross join between my original resultset that had two dates:
08/27/2010
10/24/2011
and a calendar table that has 24 rows (each month for a two year period)
my new resultset looks like this:
I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
the Months Assigned value must be greater than or equal to the date assigned value.
Any advice would be appreciated. -
Total line in PA report painter
Hi,
I have a problem with total line calculation in KE30 report.
I have defined a few colomns in the form like gross sales, discounts, returns by some customer and I have written a MAX formula for one colomn. When I select material for drill-down. the system generate a total line automatically. total line for MAX formula colomn is calculated as MAX of the related colomn total line result. I would like to change this calculation way and I want to see the result of MAX colomn total at this line.
the Report form can be seen as follow:
Key colomn(material)Net sales(cust.1) Net sales(Cust 2) MAX of net sales
Material 1 100 120 120
Material 2 90 85 90
Total line 190 205 205 (I want to see 210 for this total result)
I have tried all type of report form to change the result like matrix, one axes with key figure but I could not solve the problem.
Could you please help me about that issue If you have any idea or experience
Thanks
Best regards.
Ozlem Babacan.Remove the drilldowns for the "detail" characteristics that you do not want to see. The report will then display only the "totals" that you do want to see.
Hope this helps...
Bob -
After taking days to upload elements 13 I am now having trouble even trying to import my images and videos into the program for editing. Each time I IMPORT files an error message comes up that says " ....has stopped working, we are looking for a solution to the problem and will notify you if a solution is found" I have not been able to edit ANYTHING or even drag files/images to the time line.... is it me? is my computer too slow? surely if it was, then Adobe elements 13 would not have installed in the first place? please someone help me sort this out as I have a deadline to make for a docco! thanks in advance Lyddy
From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
•You MUST use an account with Administrator Privileges to run Premiere Elements
•(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
•What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.1 update)
•What operating system? This should include specific minor version numbers, like "Mac OSX v10.9.4"---not just "Mac"
•Has this ever worked before? If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.? Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
•Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
•What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
•If you are getting error message(s), what is the full text of the error message(s)?
•What were you doing when the problem occurred?
•What other software are you running?
•Tell us about your computer hardware. How much RAM is installed? How much free space is on your system (C:) drive?
•How many and what speed are your hard drive(s)... ie 5400rpm or 7200rpm or?
And some other questions...
•What are you editing, and does your video have an orange line over it BEFORE you do any work?
•Which version of Quicktime do you have installed?
•What is your exact brand/model graphics adapter (ATI or nVidia or ???)
•What is your exact graphics adapter driver version?
•Have you gone to the vendor web site to check for a newer driver?
•For Windows, do NOT rely on Windows Update to have current driver information
•-you need to go direct to the vendor web site and check updates for yourself
•nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
•ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool -
Total and non-total lines in ALV grid
Hi all,
Does anyone know if there is any standard SAP functionality for retrieving the non-total/raw item lines that lies beneath a total line in an ALV grid (after the user has selected the total line)?
All helpful answers will be rewarded!
Best regards,
MVTry the ALV event AFTER-LINE-OUTPUT may be it can help u to achieve ur requirement.
Append AFTER-LINE-OUTPUT event to the internal table T_EVENT.
CLEAR W_EVENT.
W_EVENT-FORM = SLIS_EV_AFTER_LINE_OUTPUT.
W_EVENT-NAME = SLIS_EV_AFTER_LINE_OUTPUT.u201CAFTER_LINE_OUTPUT event
APPEND W_EVENT TO T_EVENT.
FORM AFTER_LINE_OUTPUT
USING P_RS_LINEINFO TYPE SLIS_LINEINFO.
Here you have to write the logic to retrieve the 'total' line
ENDFROM.
Now call the alv FM
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = L_REPID "Program Name
IS_LAYOUT = W_LAYOUT "Layout of the Report
IT_FIELDCAT = T_FIELDCAT "Field Catalog for Report
IT_EVENTS = T_EVENT "For setting the events
TABLES
T_OUTTAB = T_OUTPUT "Report data Internal Table
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2. -
Hi,
Can I use a total line in an ALV grid and hide part of the columns, so that only the total line will be presented for some of the columns ?Hi,
Yes u can use a total column in the ALV Grid.
Check the code below:
AT LAST.
WA_ALV_CAT1-FIELDNAME = 'TOTAL'(004).
WA_ALV_CAT1-COL_POS = L_I.
WA_ALV_CAT1-COLTEXT = 'TOTAL'(004).
WA_ALV_CAT1-JUST = C_CENTER. " 'C'.
APPEND WA_ALV_CAT1 TO L_ALV_CAT1_TAB.
CLEAR WA_ALV_CAT1.
ENDAT.
Regards
Kannaiah -
ALV grid total line customizing
Dear Masters,
I need a solution for my problem. I need to modify sorting of subtotal and grand total based on currency which criteria i create myself. The standard alv output sort total by currency based on alpahabetical order, e.g: AUD, EUR, IDR, USD. I need to change the sorting into IDR, USD, AUD, EUR. How can i do it in alv grid?
I also like to add new line after grand total line, which is grand total in Local Currency, in this case, in IDR, which rate given. I can get the figure of subtotal, but i don't know how to append new line after grand total line output in alv standard.
Need your suggestion.
Many thanks,
TiaraHi,
I have used object oriented ALV. You can remove final total line and have sub total lines. Code below can help you.
1) Fieldcatalog you can do sum for currency values
2) Sort Build you can have sub totals.
3) layout_init you can remove final total line.
4) CALL METHOD grid->set_table_for_first_display you can pass above structure for excepted Result.
fieldcatalog_init
FORM fieldcatalog_init USING lt_fieldcatalog TYPE lvc_t_fcat
value(field_name) value(field_type) value(field_text) value(field_key).
DATA: ls_fieldcatalog TYPE lvc_s_fcat.
CLEAR ls_fieldcatalog.
ls_fieldcatalog-fieldname = field_name.
ls_fieldcatalog-datatype = field_type.
ls_fieldcatalog-reptext = field_text.
ls_fieldcatalog-coltext = field_text.
ls_fieldcatalog-seltext = field_text.
ls_fieldcatalog-tooltip = field_text.
ls_fieldcatalog-key = field_key.
IF field_type = 'CURR'.
ls_fieldcatalog-do_sum = 'X'.
ENDIF.
APPEND ls_fieldcatalog TO lt_fieldcatalog.
ENDFORM. "fieldcatalog_init
sort_build
FORM sort_build USING lt_sort TYPE lvc_t_sort.
DATA: ls_sort TYPE lvc_s_sort.
ls_sort-fieldname = 'BUKRS'. "Fieldname on which to sort
ls_sort-subtot = 'X'.
ls_sort-up = 'X'. "Sort Ascending
APPEND ls_sort TO lt_sort.
IF p_comp <> 'X'.
ls_sort-fieldname = 'LIFNR'. "Fieldname on which to sort
ls_sort-subtot = 'X'.
ls_sort-up = 'X'. "Sort Ascending
APPEND ls_sort TO lt_sort.
ENDIF.
ls_sort-fieldname = 'WAERS'. "Fieldname on which to sort
ls_sort-subtot = 'X'.
ls_sort-up = 'X'. "Sort Ascending
APPEND ls_sort TO lt_sort.
ENDFORM. "sort_build
layout_init
FORM layout_init USING ls_layout TYPE lvc_s_layo.
DATA lv_date(10) TYPE c.
WRITE sy-datum TO lv_date.
IF p_line = 'X'.
CONCATENATE 'Line Item wise Report as on' lv_date INTO w_string2 SEPARATED BY space.
ELSEIF p_vend = 'X'.
CONCATENATE 'Vendor Summary Report as on' lv_date INTO w_string2 SEPARATED BY space.
ELSEIF p_comp = 'X'.
CONCATENATE 'Company Summary Report as on' lv_date INTO w_string2 SEPARATED BY space.
ENDIF.
ls_layout-zebra = 'X'.
ls_layout-grid_title = w_string2.
ls_layout-sel_mode = 'A'.
ls_layout-no_merging = 'X'.
ls_layout-cwidth_opt = 'X'.
ls_layout-no_totline = 'X'.
IF p_line = 'X'.
ls_layout-ctab_fname = 'COLINFO'.
ENDIF.
ENDFORM. "layout_init
CALL METHOD grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
is_variant = va_layout "&see below
i_save = 'A' "&see below
i_default = ''
CHANGING
it_outtab = it_apout[]
it_fieldcatalog = gt_fieldcatalog
it_sort = gt_sort.
Edited by: Himanshu Dave on May 11, 2009 2:33 PM -
Merge the total line about header and item in the Hierarchical Seq ALV
Hello guys,
Now i used CL_SALV_HIERSEQ_TABLE to create a Hierarchical Sequential ALV. but there are two total lines, one is to calculate the numerical fields in the header(main) and another is calculate the numerical fields in the item(slave).
my requirement doesn't contain the calculation for header line, so the first line is unuseful and i want to merge these two line.
how i should do with it?
Any clues is appreciated.
Thanks a lotcould anyone help me? i am very urgent!
-
How to count the total lines of the file (including the file header)
Hi all,
I am working with Idoc to file scenario(FCC).
I need to map one of the field with a recound count ie.., count of the total lines of the file (including the file header).
Eg:Record Count-- mapping area:Total number of records in the file including file header The total line of the file (including the file header).
Can i get a help on this.
Thanks and Regards,
ManojHi !
If there is a tag of your IDOC that occurs the same quantity of times as file lines you have to create in your target file, you could make a Java user defined function in graphical mapping that "caches the entire queue" (use the corresponding option button), that receives as input that field of the IDOC, and returns the "lenght" (.length property value) of that input parameter (it is an array) as output..that should be the file line quantity..you may also add 1 to that count, for the header.
Hope it helps.
Regards,
Matias. -
Identify selection of sub-total line in ALV grid
Hi folks,
Is there a way to identify in the report if the user has selected any sub-total line in an ALV grid? Both for REUSE_ALV_GRID_DISPLAY and CL_GUI_ALV_GRID.
Thanks
SagarSagar,
1. I don't think its good design, if you want to process those three lines, you should ask the user to select those 3 rows and process them.
2. If you have no choice, tyr these methods, these might give you some info
GET_SORT_CRITERIA
GET_SUBTOTALS
These methods might give you the info you are looking for. Try it out.
regards,
Ravi -
APO-DP: Getting rid of TOTAL lines on Integrated Planning Area (SDP94)
We like the individual total lines for a sold-to for the various key figures BUT we have a GRAND TOTAL at the top and would like to know if any has an idea how this can be turned off, hidden, etc. We are on 7.0.
Hi Tim,
Please go through below thread:
How to hide the "Total: row in DP Planning book,
Hope this helps.
Regards,
Jatin
Maybe you are looking for
-
Hi, I am using following htl in my jsp. <INPUT type=CHECKBOX name='markets' value='911|6' > I am using the following javascript in on submit event alert(document.form.markets.length );But i am getting "undefined" in my alert box.However if there are
-
Anyone using an nNovia HD with their cam & FCP?
I'm interested in the nNovia drives but wanted to check if anyone has experience using them successfully with FCP. I searched the FCP & FCE forums and there were a few references to Firestore drives but none on nNovia. I film live events and often ha
-
HT3207 Help, trying to switch my computer to high performance but not there
Hey im just wondering how to switch my computer from energy performance to high performance, im going in system prefernces, energy saver and the option isnt there, would it be somewhere elsE
-
Iphone / ipad with apple tv using 3g to stream
Hello! So its happened, the administration at my school now agrees that blocking youtube is bad for business. Their presentation failed due to being unable to show a couple of videos. So I had an idea to load it on my 3g using the iPhone, not connec
-
HT4623 Why are my sounds not working?
Why are my sounds for my messaging, facebook and mail not working?