2012 Mar 11 5:43 AM
Hi Expert,
Below condition is not working for berw1 field in the selection screen i have given the range for berw1 i have check in
the debugging when break point reach to this statement it is fail
if ( ( s_berw1 is not initial ) and ( ( wa_mdsu-berw1 > s_berw1-high ) or ( wa_mdsu-berw1 < s_berw1-low ) ) ).
delete it_mdsu.
clear wa_mdsu.
continue.
endif.
Any one can throw some light on this.
Regards,
Am
Another Basic Question.
Message was edited by: kishan P
Hi Expert,
Below condition is not working for berw1 field in the selection screen i have given the range for berw1 i have check in
the debugging when break point reach to this statement it is fail
if ( ( s_berw1 is not initial ) and ( ( wa_mdsu-berw1 > s_berw1-high ) or ( wa_mdsu-berw1 < s_berw1-low ) ) ).
delete it_mdsu.
clear wa_mdsu.
continue.
endif.
Any one can throw some light on this.
Regards,
Am
Another Basic Question.
Message was edited by: kishan P
2012 Mar 12 5:16 AM
hi,
I think you would not select any value in range s_berw1. Instead of use the if statement above, I think we could change:
s_berw1-sign = 'E'. "Exclude this range
s_berw1-option = 'BT'.
s_berw1-low = value1.
s_berw1-high = value2.
when you write: if wa_mdsu-berw1 in s_berw1 then the program will return FALSE if any value wa_mdsu-berw1 fall in range [value1;value2].
please try.
2012 Mar 12 5:30 AM
Hi,
I guess you need to delete the entry from table IT_MDSU which doesnt fall in the range of S_BERW1.
Please use:
DELETE IT_MDSU WHERE berw1 NOT IN S_BERW1.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |