‎2008 Dec 16 1:25 PM
hello friends,
my question is suppose i have one parameter & one check box on the selection screen, if i select check box ,the value can directly displayed in the selection screen parameter & if not the value can be clear with out using the execution button.
can you help me.
‎2008 Dec 16 1:38 PM
Hi Sreekanth,
you have first to indicate the check box with user-command
PARAMETERS: p_box AS CHECKBOX USER-COMMAND abc.
then at selection-screen output,
AT SELECTION-SCREEN OUTPUT.
IF p_box IS INITIAL.
CLEAR: p_param
ELSE.
p_param = 'TEST'.
ENDIF.
thanks,
M
‎2008 Dec 16 1:31 PM
Hi,
Yes you can do that
p_clear AS CHECKBOX.
IF p_clear = ' '.
w_text2 = 'and appended to the end of existing data'.
ELSE.
w_text2 = 'Existing Data will be deleted'.
ENDIF.
Do it this way will surely help you.
‎2008 Dec 16 1:38 PM
Hi Sreekanth,
you have first to indicate the check box with user-command
PARAMETERS: p_box AS CHECKBOX USER-COMMAND abc.
then at selection-screen output,
AT SELECTION-SCREEN OUTPUT.
IF p_box IS INITIAL.
CLEAR: p_param
ELSE.
p_param = 'TEST'.
ENDIF.
thanks,
M
‎2008 Dec 16 1:39 PM
Hi,
We can do it by declaring the Parameters as mentioned below
PARAMETERS: p_check AS CHECKBOX user-command test,
p_test type char10.
at selection-screen on p_test.
IF p_check = 'X'.
p_test = 'checked'.
ELSE.
p_test = 'Unchecked'.
ENDIF.
Hope this is useful.
Regards,
Sravanthi
‎2008 Dec 16 2:26 PM