‎2010 Jan 26 7:00 PM
Hi experts,
I have started with ABAP programming but I programmed GUI applications in other languages for a long time. Could you give me an advise how to catch events in ABAP. I found only PAi and PBO. But what to do if I want to catch the event button click on one button.
I need two buttons which will calculate different results into an input field on the screen.
The screen will be the same, only some information on it will be different after the button click.
Could you please give me an advise how to do this.
Is it possible do develope own grapfic component in ABAP? Is it possinle to get the coordinations of the mouse in case of move, click...?
Thanks in advance,
Radek
‎2010 Jan 27 4:33 AM
Hi,
We write the code for button click in PAI of the screen.
Look at the example.
In PAI.
CASE sy-ucomm.
WHEN 'BUTTON1'.
CALL SCREEN 1000.
WHEN 'BUTTON2'.
CALL SCREEN 1001.
ENDCASE.Thanks,
Sri.
‎2010 Jan 27 4:33 AM
Hi,
We write the code for button click in PAI of the screen.
Look at the example.
In PAI.
CASE sy-ucomm.
WHEN 'BUTTON1'.
CALL SCREEN 1000.
WHEN 'BUTTON2'.
CALL SCREEN 1001.
ENDCASE.Thanks,
Sri.
‎2010 Jan 27 5:07 AM
hi,
Goto to Transaction Code: BIBS and have a look at the examples....
There is an example called Push Button for your requirement...
Hope it helps you,
Regards,
Abhijit G. Borkar