Hi Samique,
Do this:
1. Create a variable for FISCPER with options SINGLE and processing by as MANUAL INPUT, lets's call it ZFISC_MANUAL
2. Create another variable for FISCPER with options INTERVAL and processing by as CUSTOMER EXIT, let's call it ZFISC_RANGE
3. Go to CMOD and enter this code
DATA: year type c length 4,
temp_fisc_start type c length 7,
| temp_fisc_end type c length 7. |
WHEN 'ZFISC_RANGE'.
if i_step = 2.
LOOP AT I_T_VAR_RANGE INTO FISC_VAR_RANGE
WHERE VNAM = 'ZFISC_MANUAL'.
year = FISC_VAR_RANGE-LOW(4) - 1.
concatenate year '001' into temp_fisc_start.
temp_fisc_end = FISC_VAR_RANGE-LOW.
L_S_RANGE-LOW = temp_fisc_start.
L_S_RANGE-HIGH = temp_fisc_end.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
endif.
Just post here for any questions..
Regards,
Loed