Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

help - validation check on checkbox in list reporting

Former Member
0 Kudos

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

2 REPLIES 2

sachin_mathapati
Contributor
0 Kudos

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

Former Member
0 Kudos

solved by my own..thx