Application Development and Automation 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: 
Read only

Reg selection using checkboxes

Former Member
0 Likes
392

Hi ,

I have 8 checkboxes in the selection screen .And by checking each box I need to write a validation by comparing values in 2 tables fields.so the user can check any number of boxes,so based on that I need to write the condition for those fields.

So how can I write the code based on the selection of the checkboxes?

So Please help me out.

CHECKBOXES FIELD1 FIELD2

0 X1 Y1

0 X2 Y2

0 X3 Y3

0 X4 Y4

0 X5 Y5

0 X6 Y6

0 X7 Y7

0 X8 Y8

2 REPLIES 2
Read only

Former Member
0 Likes
365

May be you can try reading the checkbox data(selected/not selected) into and internal table and use that in a where clause in your data retrieval or select statement.

SO the statement would always fetch data based on the conditon whether a particular checkbox is space or 'X'.

I hope it helps. Plz ignore if it doen't make sense

thanks

Read only

0 Likes
365

with the event

AT selection-screen on chk-box1.

perform validation.

?? Ignore if this doesn't make sense! Perhaps I did not get your qn.