Hi Experts,
I have the following code to get the upto the Fiscal year period variable .It shoudl fetch the Values From the starting of the Fiscal period like 2009001 whatever the period user enters.But currnelty it is not woking.Please let me know am I doing any mistake in code.currently it is only fetching for the month user enters not up to the period.
Prasad
Variable Name : ZUPTOPER
User Entry Var : 0P_FPER
WHEN 'ZUPTOPER'.
IF i_step = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = '0P_FPER'.
fper = loc_var_range-low.
fper+4(3) = '001'.
CLEAR l_s_range.
l_s_range-low = fper.
l_s_range-high = loc_var_range-low.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
EXIT.
ENDLOOP.
ENDIF.