Screen Personas

SAP Screen Personas – Screen Events and Use cases – II

Second edition for the screen events. Please read the first part here.

Some events are available on all main screen window and thus they are available on all the screen. These events are:

  • onBeforeRefresh
  • onAfterRefresh
  • onLoad
  • onResize
  • onEnter

Like other events, the names are good indication of what they do. In sequence, the events are triggered onBeforeRefresh, then onLoad, and then onAfterRefresh. I would not touch these events because I do not want to mess with the standard SAP logic.

onEnter – is the most obvious and usually used for triggering custom action. If you have added something onClick event, it makes sense to check whether it should be added to onEnter as well.

onResize – this event can be used to make the screen more “responsive” looking for example – hiding some fields on a smaller screen. It should be noted that all the screen fields will be loaded and then removed using the flavor – so should be used wisely. I would prefer a different flavors for different screen sizes.

We will continue the screen events in next blog.

As always, please feel free to drop comments, share your thoughts and feedback and if you like the content, then spread the word.

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