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: 

How can I catch a checkbox event?

iaki_vila
Active Contributor
0 Kudos

Hello,

I want to use the abap's events to catch the checkbox left click in an classical Dynpro. My questions are:

It´s possible?

If it's possibble, where can i get some documentation?

I find this weblog /people/thomas.jung3/blog/2005/09/08/oo-abap-dynpro-programming but it's so complicate...

Thanks.

2 REPLIES 2

Former Member
0 Kudos

hi,

You can do it.

It is not complicated.

Assign a function code in the properties of checkbox in screen painter(SE51).

If you assign function code like this, PAI gets executed, as soon as you check and uncheck the checkbox. So, you can write the code in PAI.

case sy-ucomm.

when 'CHCK'.

//Ur code

endcase.

Regards,

Sailaja.

Message was edited by: Sailaja N.L.

0 Kudos

Thanks Sailaja, I know this way. But I want that the user press the checkbox and ABAP send an event that modify something but it doesn't execute again the PAI.

I found this http://www.erpgenie.com/abap/controls/how.htm m, but it doesn't work me.

Regards.

Message was edited by: Iñaki Vila