Hello,
I have to send a mail notification to external email address for some workflow tasks, we have the requirement to send a url to the portal in the mail body, to achieve this we have had some problems that I will comment:
First of all we tried to create a dialog text from SE61, with a command inside like this:
/:if &syst-sysid = 'DE1'
/:elseif &syst-sysid = 'QE1'
/:endif
The result after running program RSWUWFML2 is a mail with the two urls, what means that the command are not being executed and only the text lines are left.
The second solution that we are trying to implement is to use the "Preparation Exit" that is described in OSS note 808971, this exit consist in a FM without any interface that is used to prepare some variables to be used in SE61 texts.
I have tried searching google, SDN, help.sap.com, OSS notes to try to know how to implement this exit but there is no global data defined at RSWUWFML2 to allow this, and a local variable in the FM is not later seen when text of SE61 is rendered.
So my questions are, has anybody implemented sucessfully this exit? could I use it to pass the URL as a parameter to get it in the sent email? Do you have any other suggestions?
I would avoid using extended notification due tu a restriction in the workflow design.
Thank you in advance,
Kind regards,