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

How to find current Event Execution

Former Member
0 Likes
443

Hi,

i have a perform which is called in all events like

AT start of selection.

End of selection.

etc..

So do we have any variable in SYST of any FM using which i can find out in which EVENT that perform is called.

it is a standard code so i have only possibility to change that FORM . i cannot make any other changes.

Hi,

i have a perform which is called in all events like

AT start of selection.

End of selection.

etc..

So do we have any variable in SYST of any FM using which i can find out in which EVENT that perform is called.

it is a standard code so i have only possibility to change that FORM . i cannot make any other changes.

1 REPLY 1
Read only

former_member770378
Active Participant
0 Likes
380

If you can add code into the form you can try this.

data: l_count type i.

import l_count from memory.

if not sy-subrc is inital.

l_count = 1.

else.

add 1 to l_count.

endif.

export l_count to memory.

then depending on the l_count value you will be able to know how much time the form has been called.