Skip to Content

Screen Personas - Website Button with the link

Jan 17 at 01:57 PM


avatar image

Dear Screen Personas Team,

normally, when you paste following text "" in your browser address bar, your email program will be triggered.

I tried to put it in the website button in a flavor, and it doesn't work. It throws me an error script. Could you please check it? Many thanks.

unbenannt.jpg (29.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tamas Hoznek
Jan 18 at 09:14 PM

Use a script button instead, with'','_self');
Show 3 Share
10 |10000 characters needed characters left characters exceeded

Many thanks Tamas, it works now.

In the script editor, I got the error message for - the object window is not found, which confuses me a little bit. But in runtime enviroment the script works.

Thanks again.


Sorry I have to disturb again that because of using, this script can't run under Windows GUI, only in WebGUI environment.

Do you have another alternative for it, can I use another object instead of window, which then works with Windows GUI too? Thank you.


That's correct - the window object doesn't exist in the SAP GUI, so it can only be used while running the transaction in the browser.

For doing the same in SAP GUI, you will have to use a different method which allows execution of your mail client program. Perhaps an appropriate RFC could be used here, something like GUI_RUN or similar. You may have to set the RFC whitelist so that the FM runs in the same session like your transaction - you'll have to experiment with this.

Your Personas script must decide whether the current client is ITS or SAP GUI and do the mail client launch depending on the result of that check.