Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2895

SAP Screen Personas 3.0 - Set status bar message

$
0
0

Hi SCN,

 

I created a Flavor (transaction SMEN - SAP Easy Access screen) that copies the complete name of a user from transaction SU01D and displays it on a label of the starting transaction.

In case an error has happened, the error is copied from the status bar and I try to display it again on the status bar of the starting transaction.

 

However, this doesn't seem to be working as displayed on the screen underneath:

SSP - Status bar message.png

I use the "setMessage(String MessageText, String MessageType)" function of the status bar to set the message.
After execution of the script, the screen jumps to the original screen and exits my current flavor. Nothing can be done in this screen anymore (switching flavor, edit flavor, open scripting editor, theme editor, ...) unless I reload the page.

Also another error message is being displayed than the one I've provided in the "setMessage" function.

 

Any ideas on how to solve this?

 

Thanks in advance for your reply!

Kind regards,

 

Niels De Greef


Viewing all articles
Browse latest Browse all 2895

Trending Articles