‎2007 Feb 22 3:46 AM
Hi All,
Am validating the Select-options low values.how to do validations on high values.
Please suggest.
Thanks&Regards.
Ramu.
‎2007 Feb 22 3:49 AM
hi,
try this one,
select-options: s_a for csks-kostl .
at selection-screen on s_a .
if s_[]is initial .
error message
else .
if s_a-low is initial and s_a-high is initial .
*error message
endif .
endif .
Pls reward useful points...
Thanks,
Siva
‎2007 Feb 22 3:52 AM
For multiple seelction use
AT SELECTION-SCREEN ON END OF s_gsart .
‎2007 Feb 22 4:04 AM
Hi,
You can use AT SELECTION-SCREEN ON sel_opt-high.
Regards,
Sesh
‎2007 Feb 22 7:05 AM
use the below events....
AT SELECTION-SCREEN ON sel_opt-low.
whrite ur validations here...
AT SELECTION-SCREEN ON sel_opt-high.
whrite ur validations here...
Regards,
Ramesh.
‎2007 Feb 22 7:11 AM
Hai,
Use the following validation
AT SELECTION-SCREEN ON so_werks-low.
perform validation using so_werks-low.
AT SELECTION-SCREEN ON so_werks-high.
perform validation using so_werks-high.
Reward if useful.
Regards,
Umasankar
‎2007 Feb 22 7:11 AM
Hi,
paste this code and try it.
AT SELECTION-SCREEN ON s_matnr.
IF NOT s_matnr[] IS INITIAL.
LOOP AT s_matnr.
IF NOT s_matnr-low IS INITIAL.
SELECT SINGLE matnr INTO v_matnr
FROM mara
WHERE matnr = s_matnr-low.
IF sy-subrc NE 0.
MESSAGE i128.
LEAVE LIST-PROCESSING.
ENDIF.
ENDIF.
IF NOT s_matnr-high IS INITIAL.
SELECT SINGLE matnr INTO v_matnr
FROM mara
WHERE matnr = s_matnr-high.
IF sy-subrc NE 0.
MESSAGE i128.
LEAVE LIST-PROCESSING.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.Please reward and close the previous thraed opened by you,