Skip to Content
0
May 26, 2011 at 04:58 PM

DTP selection values in transformations

93 Views

Hi,

I have written this code in start routine. but this code is not working( not populating any values)

DATA:

t_filter_values TYPE rsbk_th_range,

i_filter_values LIKE LINE OF t_filter_values .

  • The filters are being inserted into a hashed table.

t_filter_values = p_r_request->get_th_range( ).

LOOP AT SOURCE_PACKAGE ASSIGNING <source_fields>.

lv_vtype = <source_fields>-vtype.

CLEAR lv_vtype.

READ TABLE t_filter_values WITH KEY

fieldnm = 'fiscper3' INTO i_filter_values.

IF sy-subrc = 0.

IF i_filter_values-low = '01' AND i_filter_values-high = '06'.

<source_fields>-vtype = '606'.

ENDIF.

ENDIF.

ENDLOOP.

any help?

thanks