cancel
Showing results for 
Search instead for 
Did you mean: 

DTP selection values in transformations

krish_rajesh
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

First write select statement in the code to fill internal table t_filter_values . Fill the table with values and then read table works.

Thanks

Konda Reddy

Former Member
0 Kudos

Hi,

how about trying

fieldnm = 'FISCPER3' instead of fieldnm = 'fiscper3'

Former Member
0 Kudos

Please load the data in the debug mode and see what is actually happening. Make sure the range for t_filter_values is actually getting filled.

thanks.

Wond