I’m using an IDES system with Personas 2.0 for this example and have already simplified the screen. This is the FD03 (Customer Master) transaction on the General Data screen.
From here, I added a new script button with the following steps.
args.mailto = “mailto:”;
args.fullmail = args.mailto.concat(args.email);
window.location.href = args.fullmail;
After saving the script and the flavor, my screen now shows the following:
And after clicking the ‘Email’ button, my Outlook ‘New message’ screen pops up with the email address prefilled.
Since Outlook is my default email client, this works very well for me, as well as my customers who use Outlook. One small quirk that I’ve found is between Internet Explorer and Google Chrome. When clicking on the button from within IE, the Outlook window displays immediately. When clicking on the button from Chrome, the browser prompts me with the message “Confirm Navigation. All unsaved data will be lost” which requires me to click on “Leave Screen’.