How to get subtotals on my table
Hello,
Could any one please tell me how can i get subtotals on my table. i am new to the tool trying to get subtotals and grand totals for my analysis. please advice
Hi,
Can you post how you achieved this? It can help other users in the future. And also remember to close the thread.
J.-
Similar Messages
-
How to get all rows in table to red using alternate rows properties option
How to get all rows in table to red using alternate rows properties option
Hi Khrisna,
You can get all rows red by selecting the color red in the "Color" and "frequency" to 1 under the "Alternate Row/Column colors".
I tried doing it and the colors freaked me out (all red) :-D
Kindly tell me if im missing something.
Regards,
John Vincent -
How to get value on the table control in infotyp e0008
Dear Freinds
I have written a user exit ZXPADU02 for my requirement
as per the requirement in i have calculated wa-poo8-bet01 = wa_p0008-ansal/12 and i have passed on to the INNNN structure .
Nowe when do a Create or Copy for a rcord in infotype 0008 iam not
getting value on Q0008-betrg field on the SCREEN , since it is table control how to get data on the table Control Cell .
Please let me knlow
regardsHi Syamala,
The try to find the name of the table control and pass the values to it.
Of course you have to loop and endloop, the table control and mofidy it from the work area.
Message was edited by:
Sera -
How about get item count of table in formGroup.vm
JHeadstart Team:
I want change maxColumns=" 1" or" 2" by item count of table .but I do not know how about get item count of table .
#if (${JHS.current.group.columns} > 10)
#set ($majin = 2)
#else
#set ($majin = 1)
#end
<af:panelForm rows="1" maxColumns="$majin" width="${JHS.current.group.formWidth}" id="${JHS.current.group.shortName}FormItems">
majin
#FORM_ITEMS()
</af:panelForm>You can do this using the following syntax:
#if (${JHS.current.itemContainer.items.size()}>10)
maxColumns="2"
#else
maxColumns="1"
#end
Steven Davelaar,
Jheadstart Team -
How to get the values from table SKB1 R/3 to SRM
Hi Gurus,
My requirement is to get all the values from the table SKB1 to SRM (i.e. in to an internal table) for doing some validation(G/L account XXXXXX requires an assignment to a CO objectXXXXXX.)
Like wise I have many tables for doing validation in SRM
Help me how to get this, suggest me any Function module with sample code.
OR
Any Standard FM which will give all the values of the fields in the table SKB1 when I pass the key fields G/L account & company code alone so that I can improve the performance.
Suggest me.
Regards
PaulHi,
You can use the FM 's META_READ_TABLE Or RFC_READ_TABLE
Which SRM / Backend system version are you using ?
Are you taking care of the Importing paramater - DELIMITER in this case.. ??*
See related links ->
Re: Retrieving data from R/3 into SRM
Re: Product Search TIME lag
Else you can just call the remote enabled FM "BAPI_GL_ACC_GETDETAIL" from SRM.
BR,
Disha.
Do reward points for useufl answers. -
How to get the values from table region and how to set
Hi,
I have a requirement as Seeded Page Having One Table Region having around 8 columns, In That Item Description field is there. My Requirement is I need add one more field for that Region and assign the value depending Item Description.
I will create one new Item in that region and will give name as Item, But how to set the values to Item Depending on Item Description.
Is it possible to through CO Extension, If yes..Pls help how to get it.
Thanks in Advance,
HanimiHi Hanimi,
1. You need to extend the VO, add a new Attribute.
2. In VORowImpl of the extended VO, you can find the getter for your new attribute (example getItem())
3. In this getter method you can write some code like:
if("ABC".equals(getItemDescription())
return "XYZ" ;
-Prince
http://princekapoor82.blogspot.com -
How to get values from RT table
Hello friends ,
I want to get earned basic from RT table T-code - pc00_m40_clstr
how to get that values for wage types
gauravHi Gaurav,
The Function Module u2018 PYXX_READ_PAYROLL_RESULT u2019 generically reads a complete payroll result, that is for all country versions, from file PCL2 or from the buffer. In doing so, the payroll result is transferred to the PAYROLL_RESULT parameter. In the calling system, this must be classified as a complex structure according to the 'PAYxx_RESULT' dictionary structure. u2018 xx u2018 is the ISO code for the country. Now the payroll result is in the parameter FS_PAY99_RESULT. In this parameter the RT table is considered and the required values are moved into a internal table (say T_RT).
Regards,
Swapna. -
How to get values from a table(in jsp) for validation using javascript.
hi,
this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
thank you in advance.Yes i did try the same ..
BEGIN
select PROD_tYPE into :P185_OFF_CITY from
magcrm_setup where atype = 'CITY' ;
:p185_OFF_CITY := 'XXX';
insert into mtest values ('inside foolter');
END;
When i checked the mtest table it shos me the row inserted...
inside foolter .. Now this means everything did get execute properly
But still the vallue of off_city is null or emtpy...
i check the filed and still its empty..
while mtest had those records..seems like some process is cleaining the values...but cant see such process...
a bit confused..here..I tried on Load after footer...
tried chaning the squence number of process ..but still it doesnt help
some how the session variables gets changed...and it is changed to empty
Edited by: pauljohny on Jan 3, 2012 2:01 AM
Edited by: pauljohny on Jan 3, 2012 2:03 AM -
How to get standard view or table for the standard inforsource
Hi all:
According to business reqirement, we are going to use standard inforsource 0CO_OM_CCA_10,
we need to know the standard view or table in order to corresponding DataSource?
could you please tell me how to get the standard view or table or DataSource?
Couldn't thank you more!Hi Sony,
Goto RSA1>BI content installation>goto objects>double click on the Infosource>then a pop-up comes search for that infosource-->select it and click on transfer
Before that in the right side of the tab select the grouping as "Before and afterwards of the dataflow" and collection as automatic.
then you get all the datasource/cubes and all the object related to the infosource.
OR another option is-->
Goto RSA6 in the R/3 and search for the datasource with the name "0CO_OM_CCA_10" (don't forget to expand all the tree structure in RSA6)
then goto that datasource and double click on the datasource then you will get the Extract structure of that datasource.
double click on the extract structure then you may get the View name also.
hope this helps...
Regards,
Ravi Kanth -
How to get data from a table in a condition between twomonth
hai friends
I have a query that is i want to get data from a table based on a condition between two months in a format of char column
Ex
I have a column called from_month in the format of 'mon/yyyy'(already converted from date')
then the second column is to_month in the same format 'mon/yyyy'
now i wiil select from_month and to_month like
from month jan/2009
to month mar/2010
how to use between of two months in the format of char.Please tell me how to get two different month between data.Hi,
This may be of help.
Remember Pointless has made a point ;) (worth millions)
If possible , DO NOT store dates as strings or numbers.Let dates be dates.
WITH dat AS
(SELECT ' THIS IS JAN' x,to_char(to_date('01-JAN-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS FEB' x,to_char(to_date('01-FEB-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS MAR' x,to_char(to_date('01-MAR-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS APR' x,to_char(to_date('01-APR-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS MAY' x,to_char(to_date('01-MAY-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS JUN' x,to_char(to_date('01-JUN-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS JUL' x,to_char(to_date('01-JUL-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS AUG' x,to_char(to_date('01-AUG-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS SEP' x,to_char(to_date('01-SEP-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS OCT' x,to_char(to_date('01-OCT-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS NOV' x,to_char(to_date('01-NOV-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual)
SELECT * FROM dat
WHERE to_date(y,'mon/yyyy') BETWEEN to_date('01 jan 2009','dd mon yyyy') AND to_date('01 mar 2009','dd mon yyyy')Cheers!!!
Bhushan -
How to get a list of tables in an application
In version 6.0 I could do a simple join on views CI_TABLE_DEFINITIONS and CI_APPLICATION_SYSTEMS to get a list of table names given the name of the application system. The requisite columns to perform the join aren't there anymore in version 6i. How does on accomplish this?
Roger,
The link between containers (Folders and Application Systems) and the objects they own is recorded in a different fashion in Designer 6i. There is a new view SDD_FOLDER_MEMBERS that contains this link. It is an intersection between the containers on the one hand and all other PAC objects on the other.
The query you are after is now written as follows:
select tbl.name
, tbl.irid
from ci_application_systems app
, sdd_folder_members fm
, ci_table_definitions tbl
where app.name = 'APP NAME'
and app.irid = fm.folder_reference
and fm.member_object = tbl.irid
order
by tbl.name
Note: if you do not set the workarea context before running this query, you will get rows returned for all versions of the Application System times all versions of the Tables owned by the Application System. You can set the workarea context by executing this statement before executing the query:
begin
jr_context.set_workarea('Workarea Name');
end; -
Exit in DP90 and how to get value in the table
Hi all,
My requirement is when execute DP90(create billing request), the amount in the table must be validated when I click the "Billing Request" button.
Please tell me the user_exit, BADI or any other enhancement which can I use to validate the amount in that transaction.
And how to get the amount(amount to be Billed, Amount rejected) value in the table after that??
ThanxHi Teja,
Check the BADI (SE18) - BADI_SD_DPBP - Extensions in SD for DP90 with Billing Plan -
COMPUTE function: How to get subtotals and GRAND total together?
I am wrtiting a report using SQL and SQL*Plus to get subtotals and a grand total. The COMPUTE function allows me to COMPUTE SUM on a group, but it only gives me subtotals. I'm interested in getting a report with the SUBTOTALS and a final GRAND TOTAL. Can this be done using SQL*Plus?
Here is my current code that gives me subtotals:
COMPUTE SUM LABEL subtotal OF sal ON deptno
SELECT ename, sal, deptno
FROM emp
ORDER BY deptno;
ENAME SAL DEPTNO
CLARK 2450 10
VOLLMAN 5000
MILLER 1300
8750 subtotal
SMITH 800 20
ADAMS 1100
FORD 3000
SCOTT 3000
JONES 2975
10875 subtotal
ALLEN 1600 30
BLAKE 2850
MARTIN 1250
JAMES 950
TURNER 1500
WARD 1250
9400 subtotalHere is the code to give one grand total:
Column DUMMY NOPRINT
COMPUTE SUM OF sal ON DUMMY
BREAK ON DUMMY
SELECT NULL DUMMY, ename, sal, deptno
FROM emp
ORDER BY deptno;
ENAME SAL DEPTNO
CLARK 2450 10
VOLLMAN 5000 10
MILLER 1300 10
SMITH 800 20
ADAMS 1100 20
FORD 3000 20
SCOTT 3000 20
JONES 2975 20
ALLEN 1600 30
BLAKE 2850 30
MARTIN 1250 30
JAMES 950 30
TURNER 1500 30
WARD 1250 30
29025
How can I combine both on one report?Massimo Ruocchio wrote:
Do you like this?I believe OP is looking for both department totals and grand total. Frank already showed how to do it in SQL*Plus. To do it in SQL:
SELECT CASE GROUPING_ID(real_deptno,real_ename)
WHEN 0 then real_ename
WHEN 1 then 'Department ' || real_deptno || ' total'
ELSE 'All department total'
END ename,
SUM(sal),
deptno
FROM (
SELECT deptno real_deptno,
ename real_ename,
sal,
CASE ROW_NUMBER() OVER(PARTITION BY deptno order by ename) WHEN 1 THEN deptno end deptno
FROM emp
GROUP BY GROUPING SETS((),real_deptno,(real_deptno,deptno,real_ename))
ORDER BY real_deptno nulls last,
real_ename nulls last
ENAME SUM(SAL) DEPTNO
CLARK 2450 10
KING 5000
MILLER 1300
Department 10 total 8750
ADAMS 1100 20
FORD 3000
JONES 2975
SCOTT 3000
SMITH 800
Department 20 total 10875
ALLEN 1600 30
ENAME SUM(SAL) DEPTNO
BLAKE 2850
JAMES 950
MARTIN 1250
TURNER 1500
WARD 1250
Department 30 total 9400
All department total 29025
18 rows selected.
SQL> SY. -
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
How to get data from the Tables (Can func.module help then how to write )
Hi,
Can anyone tell the use of functional module to extract the data from R/3.i am working on PM module and need to extract the status of work order and equipment which i can get from First i had to get objnr then i had to go to jsto in jsto i get stsma and estat. by using estat and stsma i can get status in table tj30t here estat is same as stat in jest table.
how to get all these in bw . any help.
I need status of work orders and equipments which exists in tj30t or we can get from tj30 tables in the fields txt30 and txt04
Any one pls help to get all these stuff from R/3 to BW
Regards
Srini-----Hi
You need to enhance (write a user exit) for your Data Source.
Here are some links on UE:
Enhancment Framework
====================
SAP Help Enhancment Framework
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Enhancements in sap bw
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
User Exit Enhancments
Enhancement
User exit
BADI
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Reg's
Edan
Maybe you are looking for
-
Unable to find classes in iPlanet Web Server
Hi, I just got started in JSPs. I'm using iPlanet WS EE 4.1. And it works fine for simple ones. But when I try to reference home grown classes from JSP pages, the engine can not find the classes. I'm putting my classes in the same directory with the
-
WB_OLAP_AW_PRECOMPUTE: Template cannot contain escape parameters
I tried to use the WB_OLAP_AW_PRECOMPUTE transformation as a Post-Mapping-Process (OWB10gR2). When validating the mapping I get the error message "Template cannot contain escape parameters". Does anybody have an idea what that could be??
-
Just a Little Humor, Please?
I installed Yosemite on my iMac, recently. As far-as _I_ can tell Mac OS X v10.10 works as-promised. :-) About its name, I _like_ to think: Yose-Mite, as 2 separate words. What can I say? I break things down, well! :-) I may as-well brag a litt
-
Adobe Support is a profound waste of time.
-
How to read large blocks of data as quickly as possible in Labview?
<p> Hello friends,</p> <p>I meet a problem in reading visa data. It's a usb-raw device, it needs a indepent thread to read the data without any delay(Thread priority Critical). I can do this in both CVI &Labview. The difference is, in CVI, I can exc