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

Dialog program : dependency checkboxes

h_senden2
Active Contributor
0 Likes
678

Hi,

in my dialog program i want to build in some dependency between checkboxes. So when i click checkbox 1, checkbox 2 must be checked automatically. And when i uncheck checkbox 2, checkbox 1 must be unchecked automatically.

And that without pushing the enter button.

I did something before in a normale report.

1) I have defined a parameter :

parameters: p_ch as checkbox user-command ente.

2) in the AT SELECTION-SCREEN OUTPUT i can do whatever i want.

But can i do something simular also in a dialog program ?

regards,

Hans

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
577

I think you have to assign a Function code in the attributes for that check box in the screen painter. It is similar to the user command you give in the normal report.

What ever you did in at selection-screen output can now be implemented in PBO section of the screen.

Regards,

Ravi

4 REPLIES 4
Read only

Former Member
0 Likes
577

hi,

It is not possible to do it without pressing ENTER.

No event gets triggered when we check or uncheck the checkbox in dialog program.

It is possible in report program.

You can try like this.

Design a selection screen in report and call the selection screen from dialog program. Import all the values that have been given as input from report program to dialog program.

Regards,

Sailaja.

Read only

0 Likes
577

Sailaja,

thanx for the answer, but that is not an option for me right now. The program is a very critical, old program with a lot of functionality in this screen.

regards,

Hans

Read only

Former Member
0 Likes
578

I think you have to assign a Function code in the attributes for that check box in the screen painter. It is similar to the user command you give in the normal report.

What ever you did in at selection-screen output can now be implemented in PBO section of the screen.

Regards,

Ravi

Read only

0 Likes
577

thanx Ravi,

your solution solved my problem.

Hans