09-25-2006 11:09 AM
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.
09-25-2006 11:15 AM
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.
09-25-2006 11:27 AM
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