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

event-driven

Former Member
0 Likes
439

what is meant by event-driven programming.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
395

It means when the user does an action (e.g clicking on a button ), an event is triggered.When you click on a certain button for example, it returns a value to sy-ucomm.

You can just check its value ...

e.g

If sy-ucomm = 'ONLI'.

*Treatment.

else

....

endif.

Regards,

Satya.

2 REPLIES 2
Read only

Former Member
0 Likes
396

It means when the user does an action (e.g clicking on a button ), an event is triggered.When you click on a certain button for example, it returns a value to sy-ucomm.

You can just check its value ...

e.g

If sy-ucomm = 'ONLI'.

*Treatment.

else

....

endif.

Regards,

Satya.

Read only

Former Member
0 Likes
395

Hi,

basically abap is an event driven language.

if one event triggerd then the block of code under that event will execute.

suppose you have one report and you didn't code any event to trigger then here you will

get dought that there is no event for my report and how will i get output.

by default start-of-selection will trigger and it leads to execute the select statement and

which in turn will get data into internal table.

event is nothing but a driven program.abap process drives this driven program when

it will executes and when it wont;

regards,

swami