on 10-19-2007 7:19 AM
hi......i want to use the row value for getting the column value. ie.
if in the row the year value is 2007 & i said that i want (year in the row) - 1. then in the column value should pick 2006.
if the year is 2008 then column value should be 2007.
how can i read the row value ? pls help.
Hi,
I think, u can try like this ...
Create two variables: ZCALYEAR ( Userentry / default value , 0calyear, single value, mandatory ) , ZCALYEAR1( User-Exit ).
In include program ZXRSRU01 , under i_step = 2 .
try the following code.
DATA: year1(4) TYPE n.
WHEN 'ZCALYEAR1'.
IF i_step = 2.
CLEAR loc_var_range.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'ZCALYEAR'.
year1 = loc_var_range-low(4).
year1 = year1 - 1.
MOVE year1 TO l_s_range-low.
l_s_range-high = loc_var_range-low.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
EXIT.
ENDLOOP.
ENDIF.
I am not good in ABAP but please check the definitions also.
I have added some additions in coding
Regards,
SRIKANTH
Message was edited by:
KANTH SRI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope you need 2007 value against 2008 year.
For this , you take 2 selections in the rows.First selection should has CALYEAR = 2007 and Second selection should has CALYEAR = 2008. Hide first one. And then take Required KF into columns area . Now you will get 32 matrix (rows columns).
Then ,in the cell editor. Replace the cell (3,2) with cell (2,2). That means you are overwriting the 2008 value with 2007 value.
With rgds,
Anil Kumar Sharma .P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you please eloborate you requirement
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Use Formula Variable with replacement path to get row values to coloum Values.
If it dosent help, explain the scneario in detail.
Best Regards,
Meiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai
check this link how to create formula variable
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
i dont know whether this is the solution for ur question but if u explain bit more about the problem that would help us to solve
regards
abi ram
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.