Display Total Row In Matrix
Hi all!
In my addon application I have Matrix with 10 columns (2 columns with column type Edit Text, 8 columns with column type checkbox) now In 8 columns with type checkbox I want to display Footer as form Id = 60207(Menu service/service Report/Response Time by assignee Report). How To do it?
please give me the solution to display Footer(Total) of Matrix when the column have column type is checkbox.
Thanks & Help Me
Hi !
Thanks for your reply! when using 2 matrixs have problem as follow:
My Matrix has 10 columns so will appear horizonal scrollbar so it doesn't solved this problem. My Idea I will add row after the last row and display total but i have problem: 8 columns that i want to add total have column type is checkbox so I can't. HOw to convert column type only the my row? Or give me the other solution. THanks
Edited by: Tao lao on Apr 8, 2008 12:02 PM
Similar Messages
-
Total Rows incorrect for REST Search webservice in Sharepoint 2013
Hi,
I am using Sharepoint 2013 REST webservice in Javascript to fetch search results:
<a href="https:///_api/search/query?querytext='<text>'&startrow=0">https://<server>/_api/search/query?querytext='<text>'&startrow=0
I am passing the startrow value fetching records in set of 10.
The value that I recieve for TotalRows in the response is different when I query with startrow=0 ans startrow=10 etc.
Please suggest a possible solution to this issue as I need to display total rows as count of search results.
Regards,
MolshreeThe total rows tend to be estimated in small result sets like that. This is behavior that you rally can't do anything about.
Corey Roth - SharePoint Server MVP blog:
www.dotnetmafia.com twitter: @coreyroth |
SP2 Apps -
Quantity fields not getting displayed in the second total row
Hi,
As per the requirement I have to display 2 total rows for an ALV report using CL_GUI_ALV_GRID. I am able to get the first total row properly using method get_subtotal(). However for the next total row only the character fields are getting displayed and the quantity fields are coming blank.
The second total row will have different values based on a formula.
Please help me out in resolving the issue.
Thanks,
AbhishekYou can provide first row as the SUBTOTAL and next row as the TOTAL.
Get one extra column on which you can do the SUBTOTAL.
Regards,
Naimesh Patel -
Display Total No of Rows displayed in footer -- Classic Table
Hi Friends,
I have a search page. I want to display total records selected in the footer.
Like:
Col1 col2 col 3
---- Repaired --------
---- Not Repaired -------
------ Repaired ------
Total Records : 3
I cant use column total in this case b coz i the column 2 is not numeric column.
I can get the total no of rows using getRowCount, but i dont know how to display it in footer of perticular column.
Can anybody pls help in this regards...
Thanks & Regards,
RamHi,
i solvet it.. with littlebit changes to the same code.
Its urgent requirement pls help.........
I am using the following code
int totRow = getTotalRowFromView(pageContext,webBean);
OATableBean table = (OATableBean)webBean.findChildRecursive("telmarRepairDetailVO1");
OAMessageStyledTextBean totBean = (OAMessageStyledTextBean) table.findChildRecursive("ResultDetail");
String s1 = "Total Result: "+totRow;
totBean.setAttributeValue(TABULAR_FUNCTION_VALUE_ATTR", s1);
But the value is not set to the footer.
Regards,
Ram -
ALV: how to display only subtotals and total rows in the output
ALV: how to display only subtotals and total rows in the output
i am getting output
i am getting subtotals for respective fields
but i want to display only subtotals and totals rows in the output
i have tried the
totals_only parameter in slis_layout_alv
but it is not working.hi,
For TOTAL
For the amount field / quantity field in the field catalog give DO_SUM = 'X' for WHOLE total
For SUBTOTAL
For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
DATA: lt_sort type SLIS_T_SORTINFO_ALV,
ls_sort type slis_sortinfo_alv.
CLEAR ls_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'Give the field name that you do the sum'.
ls_sort-up = 'X'.
ls_sort-subtot = 'X'.
APPEND ls_sort TO lt_sort.
fieldcatalog-do_dum = 'X'.
for subtotals
WA_SORT-FIELDNAME = 'ERSDA'.
WA_SORT-SPOS = '2'.
WA_SORT-UP = 'X'.
WA_SORT-SUBTOTAL = 'X'.
APPEND WA_SORT TO IT_SORT.
Refer
http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
regards,
Prabhu
reward if it is helpful -
Displaying Multiple Row Header for Matrix...
Hi
Can you please tell me, whether we can display Multiple row headers for the Matrix object same as that in the Posting Period SAP Form...
Please check the Link: http://img198.imageshack.us/img198/3491/postingperiodform.jpg..
Thanking you in advance...
Thanks
HariI am extremly sorry...Please check the following link...
Link Address : http://www.freeimagehosting.net/image.php?d499726589.jpg
Edited by: hari angamaly on Jun 17, 2009 1:20 PM
Edited by: hari angamaly on Jun 17, 2009 1:21 PM -
SAP BW Universe displays only total row
Hi all,
I've created an universe from a SAP BW cube. When I'm using Xcelius I can only see one total Row in the list view item , no detailed Data. The following query I've created:
(Customer) (Material) (Amount)
--> No Filter selected
Thanks for your help!
Regards,
Sebastian
Edited by: soccerfan on Jun 16, 2009 10:42 AMHi,
Can you please explain in detail about your issue.
Thanks,
SK. -
Add a row after Total row in ALV report
Hi Experts,
I have a report is displayed by ALV format(not use function module to display it but use Class cl_gui_custom_container),I want to add a row after the total row. for example,
Customer amount1 amount2 amount3
10000 1,234 1,000 2,000
10001 4,000 2,000 1,000
10002 1,300 1,000 3,000
11000 1,200 4,000 3,000
Total: 7,734 8,000 9,000
Ratio% 31.27 32.34 36.39
the row of 'Total' is calculated by fieldcat-do_sum = 'X' But after the Total row we need a Ratio row to display the ratio. Yes we can calculate the total amout and ratio and then append it into the output itab, but we don't like this solution.We want to keep the total function in the ALV report.Any experts can poit me a direction. Thanks in advance.
JoeDjoe,
First you need to handle the user command,in order to capture the button action. For this you need to implment a class, i am attaching sample codes here
In top include write the following code
CLASS lcl_event_handler DEFINITION .
PUBLIC SECTION .
METHODS:
handle_toolbar FOR EVENT toolbar " To add new functional buttons to the ALV toolbar
OF cl_gui_alv_grid
IMPORTING e_object,
handle_user_command FOR EVENT user_command " To implement user commands
OF cl_gui_alv_grid
IMPORTING e_ucomm .
PRIVATE SECTION.
ENDCLASS. " Lcl_event_handler DEFINITION
Now <b>Class implementation</b>
CLASS lcl_event_handler IMPLEMENTATION .
METHOD handle_toolbar. " Handle Toolbar
PERFORM f9500_handle_toolbar USING e_object.
ENDMETHOD . " Handle_toolbar
METHOD handle_user_command . " Handle User Command
PERFORM f9600_handle_user_command USING e_ucomm .
ENDMETHOD.
ENDCLASS . " lcl_event_handler IMPLEMENTATION
FORM f9600_handle_user_command USING p_e_ucomm TYPE sy-ucomm.
CONSTANTS:c_newl(4) TYPE c
VALUE 'NEWL', " New line
c_copy(4) TYPE c
VALUE 'COPY', " Copy
c_corr(4) TYPE c
VALUE 'CORR'. " Correction
CASE p_e_ucomm .
WHEN c_newl.
Create a new line
PERFORM f9610_insert_new_line.
ENDFORM. " f9600_handle_user_command
FORM f9610_insert_new_line .
*Data Declarations
DATA: lt_rows TYPE lvc_t_row, " Itab for row property
ls_rows TYPE lvc_s_row, " Work area for row
lv_cntid TYPE i. " Counter
DATA: gv_index TYPE sy-index.
CLEAR gs_last.
CALL METHOD gr_alvgrid->get_selected_rows
IMPORTING
et_index_rows = lt_rows.
READ TABLE lt_rows INTO ls_rows INDEX 1.
IF sy-subrc EQ 0.
gv_index = ls_rows-index + 1.
ELSE.
gv_index = 1.
ENDIF.
DESCRIBE TABLE gt_last LINES lv_cntid.
lv_cntid = lv_cntid + 1.
gs_last-cntid = lv_cntid.
INSERT gs_last INTO gt_last INDEX gv_index.
LOOP AT gt_last INTO gs_last FROM gv_index TO gv_index.
Make the new line editable
PERFORM f9611_style.
ENDLOOP.
CALL METHOD gr_alvgrid->refresh_table_display
EXCEPTIONS
finished = 1
OTHERS = 2.
ENDFORM. " f9610_insert_new_line
You can ask questions doubts if any!
regards
Antony Thomas -
ALV totals row ,should not download in EXCEL
Hello ,
I have developed a ALV report with subtotals.
In the output, it will display an extra row with the Grand total, but when we try to downalod into Local PC excel file,
it is downlaoding the totals row also. But the requirement is not to download that.
Any option is there to not to downlad that row ?
Let me know if anything needed.
Thanks,
AVHi,
I will suggest one thing.
<li>Define layout structure
DATA: wa_layout type SLIS_LAYOUT_ALV.
<li>One checkbox on selection-screen for with or without total line.
PARAMETERS: p_check AS CHECKBOX.
<li>Now set the below on based on checkbox value
IF p_check = 'X'. "Lets say without total line.
wa_layout-no_totalline = 'X'.
ENDIF.
<li>Now pass wa_layout through REUSE* function module.
Thanks
Venkat.O -
Count total rows in database?
Hello all,
Is there a way to query the database for the total number of rows.... without using ANALYZE STATISTICS? (That would cause the db to sometimes use COST instead of RULE based optimization, slowing it down significantly.)
I know I could could brute force a total row count with something like:
spool get_total_rows.sql
SELECT 'SELECT COUNT(*) FROM '||owner||'.'||table_name||';'
FROM ALL_TABLES;
spool off
...then run get_total_rows and manually add all the counts.
But it just seems like there must be a cleaner way to do it.
Thanks much,
Natashaok. here you have that information:
ALL_TABLES
ALL_TABLES describes all relational tables accessible to the current user. To gather statistics for this view, use the SQL ANALYZE statement.
Related Views
DBA_TABLES describes all relational tables in the database.
USER_TABLES describes all relational tables owned by the current user. This view does not display the OWNER column.
Note:
Columns marked with an asterisk are populated only if you collect statistics on the table with the ANALYZE statement or the DBMS_STATS package.
Column Datatype NULL Description
OWNER
VARCHAR2(30)
Owner of the table
TABLE_NAME
VARCHAR2(30)
Name of the table
TABLESPACE_NAME
VARCHAR2(30)
Name of the tablespace containing the table; NULL for partitioned, temporary and index-organized tables
CLUSTER_NAME
VARCHAR2(30)
Name of the cluster, if any, to which the table belongs
IOT_NAME
VARCHAR2(30)
Name of the index-organized table, if any, to which the overflow entry belongs. If IOT_TYPE column is not null, this column contains the base table name.
PCT_FREE
NUMBER
Minimum percentage of free space in a block; NULL for partitioned tables
PCT_USED
NUMBER
Minimum percentage of used space in a block; NULL for partitioned tables
INI_TRANS
NUMBER
Initial number of transactions; NULL for partitioned tables
MAX_TRANS
NUMBER
Maximum number of transactions; NULL for partitioned tables
INITIAL_EXTENT
NUMBER
Size of the initial extent in bytes; NULL for partitioned tables
NEXT_EXTENT
NUMBER
Size of the secondary extension bytes; NULL for partitioned tables
MIN_EXTENTS
NUMBER
Minimum number of extents allowed in the segment; NULL for partitioned tables
MAX_EXTENTS
NUMBER
Maximum number of extents allowed in the segment; NULL for partitioned tables
PCT_INCREASE
NUMBER
Percentage increase in extent size; NULL for partitioned tables
FREELISTS
NUMBER
Number of process freelists allocated to this segment; NULL for partitioned tables
FREELIST_GROUPS
NUMBER
Number of freelist groups allocated to this segment; NULL for partitioned tables
LOGGING
VARCHAR2(3)
Logging attribute; NULL for partitioned tables
BACKED_UP
VARCHAR2(1)
Has table been backed up since last change
NUM_ROWS*
NUMBER
Number of rows in the table
BLOCKS*
NUMBER
Number of used data blocks in the table
EMPTY_BLOCKS*
NUMBER
Number of empty (never used) data blocks in the table
AVG_SPACE*
NUMBER
Average amount of free space, in bytes, in a data block allocated to the table
CHAIN_CNT*
NUMBER
Number of rows in the table that are chained from one data block to another, or which have migrated to a new block, requiring a link to preserve the old ROWID
AVG_ROW_LEN*
NUMBER
Average length of a row in the table in bytes
AVG_SPACE_FREELIST
_BLOCKS
NUMBER
The average freespace of all blocks on a freelist
NUM_FREELIST_BLOCKS
NUMBER
The number of blocks on the freelist
DEGREE
VARCHAR2(10)
The number of threads per instance for scanning the table
INSTANCES
VARCHAR2(10)
The number of instances across which the table is to be scanned
CACHE
VARCHAR2(5)
Whether the cluster is to be cached in the buffer cache (CACHE | NOCACHE)
TABLE_LOCK
VARCHAR2(8)
Whether table locking is enabled or disabled
SAMPLE_SIZE
NUMBER
Sample size used in analyzing this table
LAST_ANALYZED
DATE
Date on which this table was most recently analyzed
PARTITIONED
VARCHAR2(3)
Indicates whether this table is partitioned. Set to YES if it is partitioned.
IOT_TYPE
VARCHAR2(12)
If this is an index-organized table, then IOT_TYPE is IOT, IOT_OVERFLOW, or IOT_MAPPING. If this is not an index-organized table, then IOT_TYPE is NULL.
TEMPORARY
VARCHAR2(1)
Can the current session only see data that it place in this object itself?
SECONDARY
VARCHAR2(1)
Whether the trigger is a secondary object created by the ODCIIndexCreate method of the Oracle9i Data Cartridge (Y |N)
NESTED
VARCHAR2(3)
Is the table a nested table?
BUFFER_POOL
VARCHAR2(7)
The default buffer pool for the object. NULL for partitioned tables
ROW_MOVEMENT
VARCHAR2(8)
Whether partitioned row movement is enabled or disabled
GLOBAL_STATS
VARCHAR2(3)
For partitioned tables, indicates whether statistics were collected for the table as a whole (YES) or were estimated from statistics on underlying partitions and subpartitions (NO)
USER_STATS
VARCHAR2(3)
Were the statistics entered directly by the user?
DURATION
VARCHAR2(15)
Indicates the duration of a temporary table:
SYS$SESSION: the rows are preserved for the duration of the session
SYS$TRANSACTION: the rows are deleted after COMMIT
Null for a permanent table
SKIP_CORRUPT
VARCHAR2(8)
Whether Oracle ignores blocks marked corrupt during table and index scans (ENABLED) or raises an error (DISABLED). To enable this feature, run the DBMS_REPAIR.SKIP_CORRUPT_BLOCKS procedure.
MONITORING
VARCHAR2(3)
Whether the table has the MONITORING attribute set
Try with ALL_TABLES and post if the results were zero too
Joel P�rez -
Display total cost in interactive report
Hello,
I have created one interactive report, on which i have applied control break on one of the column say department.
there is one column on my report which is showing price,
so,I want to add one more row at the bottom of report showing total of of the prices.
for ex.
Department type : Sales
ID----------NAME-----------SAL------------ DEPT
1--------------A------------- 100--------------10
1--------------B------------- 300--------------12
Department type : Marketing
ID----------NAME-----------SAL------------ DEPT
1--------------C------------- 100--------------10
Total-------------------------400
Apex Version : 4.1
Database : 11g
Thanks in advance
JitendraHi,
How do I rename the label on the break total function?
For ex, If I use break total(sum) function, it displays Total (Column Name). How do I get rid of the Total keyword in the Interactive Reporting?
Please help.
Thanks. -
Module Pool to Display the Values in Matrix Format
Hi Experts,
I have one requirement which as follows,
In Module pool program i need to display the Values in Matrix format i.e,
Row = Color
Column = Size
Can you Please Help me out.
Thanks n Advance.
Logucreate your internal table dynamically (with number of columns corresponding to number of sizes)
this is done easily with class CL_ALV_TABLE_CREATE method CREATE_DYNAMIC_TABLE
then use the internal table for ALV output -
Displaying a row by default in ALV table
Hi all,
I have created an alv table in which i have to display a row by default. I have set all the fields of the table as editable.
Also I have created the total calculation for the amount field by using the aggregation method, I want to displat the total grid also to be displayed by default.
How can I set that value?? Please give some suggestions.
Thanks in advance,
Nalla.BHi Nalla,
As you know you should call the agregation methode for displaying the total row :
DATA : alv_config_table TYPE REF TO cl_salv_wd_config_table.
DATA : lr_field TYPE REF TO cl_salv_wd_field.
alv_config_table->if_salv_wd_std_functions~set_aggregation_allowed( abap_true ).
lr_field = alv_config_table->if_salv_wd_field_settings~get_field( 'CARRIED' ) . "The column name for which total needs
lr_field->if_salv_wd_aggr~create_aggr_rule( aggregation_type = if_salv_wd_c_aggregation=>aggrtype_total ).
OK, i guess this is done in a specific methode 'METHODE_ALV' for the ALV settings.
Row by default :
Try to populate a line in your internal table, and bind it to the reference context of the ALV in WDDOINIT.
and call the METHODE_ALV
Sum row :
Check if you are implementing a methode that intercept the ON_DATA_CHECK event, if yes try to recall the METHODE_ALV.
> The aggregation methode must be recalled.
Best regards. -
Total row count - where from is that value?
Hi,
I need the value of total row count that is displayed at the button of portal report. I need this value to use in my java script.
Is that value somewhere in database? Maybe any variable or hidden form element on the page?
Where from does the portal know when to show only the previous button and when both next and previous? It must by calucated somehow.
Thanks in advance.
best regards
Krzysztof Jungowski
nullThanks. Just to make clear:
Probelm:
I need to display links to pages with part of results at the bottom of page - just like in discussion group: Pages: [1] [2] [3] ....
Solution:
I know that there is a hidden form on every report rendered by portal. In that form there are several elements like:
pagenumer, minrow and maxrows. Updating these elements I can jump to every page with results.
Total row count problem:
The problem is that I don't know the number of pages. If I had a total row count value I would calculate the number of pages and create links only to existing pages.
best regards
Krzysztof Jungowski -
Having trouble with report total row with expression based condition
Hi,
I have a simple SQL region that has 2 columns (country and pnl). I then had a request to display negative PNL in red. To do this I copied the Standard Alternating Row Colors report Template and changed the condition so that it uses one class (named "t16data") with a PL/SQL Expression condition NVL(#PNL#,0)<0
Then, in the referencing page HTML header I added :
<style>td.t16data{color:red} </style>
For normal data rows it works fine. However, I also have a sum on PNL and the total row always shows red (even when it's a positive number).
Any idea? Do I need to provide more information?
ThanksMy question about this is the other Dynamic VPN that is working has no static route.
I added:
route outside 10.10.10.0 255.255.255.248 xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx is the IP of the non working remote IKE Peer)
This had no effect.
Looking at the two tunnels. The working tunnel is using IKE IPSEC and the nonworking tunnel is using IKE IPsecOverNatT. What have I entered that tells the VPN to use IPsecOverNatT?
Maybe you are looking for
-
How to show a pcd object in dynpro view
Hi All, I have to show a PCD object in dynpro view but I can't use iFrame because it will show all header footer of portal not just view. what will be other way to show a PCD object in Webdynpro view. Thanks
-
Lumia 635/WinPhone8.1 emails too large for screen
recently upgraded from 620 to 635 and im beginning to think it was a mistake. build quality and speed issues aside, whats annoying me most today is that many emails with embedded pics dont fit on the screen (theyre too big) and wont zoom out or scro
-
Re: Issue while installing application.
Hi All, Greetings ! I am trying to install a development application on an iPhone 5 ( iOS 7.0.4) through iTunes. On sync, the application icon appers on my phone but the icon turns dark. Also on click of the icon, "Installing..." appers and never end
-
I have successfully added an ExceptionHandler to Toplink which does catch stale JDBC connections and refreshes them. However, once in while this does not work and I see this in the logs: 2004-09-07 13:14:52 StandardWrapperValve[action]: Servlet.servi
-
Migrating Associations success or failure?
I tried migrating a single association as a test before attempting to migrate all our Zen7 associations. I have a few questions on the log errors I see after clicking "Refresh" on the device's Zen icon. Within the ZCC web interface I get the followin