‎2008 Mar 05 8:52 PM
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
‎2008 Mar 05 8:57 PM
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
‎2008 Mar 05 9:01 PM
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.