on 08-30-2008 7:04 PM
gUYS
I am trying to calcualte amounts which is for that whole year from when user enter the value
say user enter as 06-2007 ...then i want to calculate all value from 06- 01 ..2007 and similarly if they enter 10-2007 ...then i want all cumulated value to the begining of the year... that is 10-2007 to 01-2007
is there ant sap customer exit available?
Hi,
Create user entry variable on 0CALMONTH then create a
restricted key figure with 0CALMONTH (# Not assigned -
0CALMONTH variable). This fulfills your requirement.
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a customer exit variable, named WYTENT.
Let say the upper value (entered by the user) will be entered in a single mandatory variable, named WVO_MTHS
and code this into the ZXRSRU01program.
when 'WYTENT'.
if I_step = 2.
loop at I_T_VAR_RANGE into loc_var_range
where vnam = 'WVO_MTHS'.
clear l_s_range.
concatenate loc_var_range-low(4) '01' into l_s_range-low.
move loc_var_range-low to l_s_range-high.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
append l_s_range to e_t_range.
exit.
endloop.
endif.
prasad
i tried to pick date range between #notassigned value and the variable which populated with user entered date . but it is giving me error as select proper value for 0calmonth
i assume its not recognised # value.
you saying # assigned value is always first month of the the year of 0calmonth?
Hi,
There is no standart exit for YTD calculation.Please check the doc below that is telling how to do YTD calculation.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.