on 05-26-2011 5:58 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
how about trying
fieldnm = 'FISCPER3' instead of fieldnm = 'fiscper3'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.