Skip to Content
0
Former Member
May 14, 2008 at 02:28 PM

hai can any confirm E_T_RANGE is a predefined internal table

20 Views

Hai experts,

Can any one solve my problem. Pls find below code, the code is working as we debugged in RSRT but when the code reaches

the append statment to E_T_RANGE it specifies that E_T_RANGE

is not defined and we specified E_T_RANGE like RSR_S_RANGESID but even then we are not getting the data populated into the E_T_RANGE. Can any one help on this.

data: wa_var_range type rrrangeexit,

wa2_var_range type rrrangeexit,

wa_loc_var_range type RSR_S_RANGESID,

wa1_var_range type RSR_S_RANGESID.

...................................................................

*code for populating VARIABLE ZFIS_CYTD based on FISCPER VARIABLE 0P_FPER

...................................................................

case i_vnam .

When 'ZFIS_CYTD'.

if i_step = 2.

loop at i_t_var_range into wa_var_range

where vnam = 'ZP_FPER'.

clear wa_loc_var_range.

MONTH1 = wa_var_range-low+4(3).

YEAR1 = wa_var_range-low+0(4).

concatenate year1 '001' into wa_loc_var_range-low.

concatenate year1 month1 into wa_loc_var_range-high.

wa_loc_var_range-sign = 'I'.

wa_loc_var_range-opt = 'BT'.

append wa_loc_var_range to e_t_range.

exit.

endloop..

endif.

Thanks.

Regards.

Pradeep.