09-09-2008 10:08 AM
Dear all,
I've a normal abap report which wil write a few checkbox...is it possible to do some validation check on these checkbox..say if checkbox 1 already selected,then disables checkbox 2 and checkbox 3..? Thank you.
my report layout looks like this
Name task
A 1
B 2
checkbox1 checkbox2 chekcbox3
the check box is to allow the user to select the subsequent function to be carried out,they can only select one out of these 3. I can't write it out as radiobutton,hence i can only use checkbox.....any idea? or better way to do it? thanks
09-09-2008 10:14 AM
Hi Joan,
You can definately do that.
Check this code for further help.
PARAMETERS :
pa_ord AS CHECKBOX USER-COMMAND cmd1,
pa_confg AS CHECKBOX,
pa_diff AS CHECKBOX.
IF pa_ord eq 'X'.
LOOP AT SCREEN.
IF screen-name = 'PA_CONFG' OR
screen-name = 'PA_DIFF' .
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Endif.
Regards,
Sachin M M
09-10-2008 3:44 AM