on 12-14-2010 1:37 PM
I HAVE 3 COLUMS, A,B,C
C = (A/B) * 100. ( 'C' IS THE PERCENTAGE FIELD)
NOW, WHEN I DO SUBTOTALS, CUMMULATIVE OF C FIELD IS NOT THE CORRECT PERCENTAGE.
HOW TO RESOLVE THIS?
A B C
10 20 50%
30 90 33.33
TOTAL ROW = 40 110 41.66 (41.66 IS THE AVERAGE OF THE PERCENTAGES) - THIS IS THE TOTAL ROW(INTERMEDIATE RESULTS ROW)
BUT THIS VALUE IS WRONG , THE VALUE SHOULD BE 36.36% ( 40/110 =36.36%)
Edited by: ssm on Dec 14, 2010 7:18 PM
Edited by: ssm on Dec 14, 2010 7:23 PM
CAN I WRITE MY OWN FORMULAS FOR INTERMEDIATE RESULT ROW?
how can i read the values of intermediate result row?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As the Column C calculation is done by you, when the inertmediate functionality is applied for all these columns, are you not getting the correct intermediate result. I donot find any such manipulations related methods class CL_SALV_WD_FIELD.
Have you tried out in OO ALV not in webdynpro ALV.
Regards,
Lekha.
Hi,
I do not see such options. You need to build your own logic of showing those rows(intermediate results row) rather using a standard one. It may be complicated also and not suggestable. As a sandbox, you can try the option of building our own. Need to wait for Thomas Jung opinion on this.
Regards,
Lekha.
Can we edit the intermediate results row?? or can we read it?
Edited by: ssm on Dec 15, 2010 4:28 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are the Domains that you have used are matching the requriement. I mean is it related to any rouding off..
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.