‎2006 Dec 11 10:14 AM
Hi Frendz,
how to make obligatory for both low and high on selection-screen?
Thanks
‎2006 Dec 11 10:21 AM
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 .
Raja
‎2006 Dec 11 10:23 AM
Hi Viajaya,
In a select-option you can also enter a list ?
What do u do with this option ?
If you enter only intervals, then you can create two parameters :
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(18) text-p1 FOR FIELD p_LOW.
PARAMETERS : p_LOW LIKE ....
SELECTION-SCREEN COMMENT 45(20) text-p2 FOR FIELD p_HIGH.
PARAMETERS : p_HIGH LIKE .....
SELECTION-SCREEN END OF LINE.Hope this helps,
Erwan
‎2006 Dec 11 10:27 AM
TRY THIS
select-options: s_matnr for mara-matnr obligatory.
at selection-screen output.
loop at screen.
case screen-name.
when 'S_MATNR-HIGH'.
SCREEN-REQUIRED = 1.
endcase.
modify screen.
endloop.
‎2006 Dec 11 10:27 AM
Hi ,
try using this sample code...
tables: a006.
selection-screen begin of line.
selection-screen position 1.
selection-screen comment (31) text-006 for field p_datab.
parameters : p_datab like a005-datab obligatory.
selection-screen position 46.
selection-screen comment (10) text-001 for field p_datbi.
parameters : p_datbi like a005-datbi obligatory.
selection-screen end of line.
where text - 006 contains the field name and
text - 001 contains ' To'.
Madhavi
‎2006 Dec 11 10:27 AM
Hi Laxmi,
At <b>At selection-screen</b> event check whether both select-LOW and select-HIGH are not initial.
Reward if usefull..