Screen Personas

SAP Screen Personas – Understanding the Script Events

We have learned about the scripts and how they function in SAP Screen Personas. In order to use the scripts, we have to use the screen events available. Let’s try to understand what are they and when to use what?

What are screen events?

Every action (script) needs a trigger. Screen events are simply the triggers. We are familiar with it and we use the same concept in other software as well, for example – MS Powerpoint.

What are the different screen events which are available?

There are different kinds of screen events. Some screen events are available on the screen (main window) itself. They get called on actions that are related to the screen – for eg onLoad. Some events are available on tabs – for eg onActivated. The most used events are the ones added to a button or picture – onClick. The names of the events are self-explanatory and can be easily be found on SAP’s help page.

Can we use the same script in different events.

Same scripts can be added to multiple events but it is better if we create different scripts for different events. We already know that scripts will increase the screen loading time for the screen, so if we have bulky scripts running on all the screen events then it will take longer.

It should also be noted that not all screen events are available on different context. We will explore the use cases of the different events in separate blogs in future.

If you like the content, please follow our LinkedIn page and share the blog with your colleagues and friends.

Leave a Reply

Your email address will not be published. Required fields are marked *

error

Enjoy this blog? Please spread the word :)

Follow by Email
Twitter
LinkedIn
LinkedIn
Share