cancel
Showing results for 
Search instead for 
Did you mean: 

URL in email

Former Member
0 Kudos

Hi all,

I have developed a webdynpro application.

Now my requirement is that i would like to send the URL of this application through an email to the user and then the user can run the application from there when he clicks on the URL/Link.

Any solution to this requirement.

Thank You ,

RV.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

the url can be found when you double click your aplication,

if you have certain import parameters defined, you have to append them to this url.

Ofcourse when you want to send the emails automatically (like in a workflow),

we need more info to come up with a solution.

grtz,

Koen

Former Member
0 Kudos

Thnx for the reply guys.

I have the URL with me.

What i want to do is , I have a button 'Send Mail' .

When i click on this button an email shud be sent to the external user with the URL in the mail content , so that he can run the application from the mail using the URL.

hope its more clear this time.

Thank you.

Former Member
0 Kudos

Hi,

in your action handler you can use:

cl_wd_utilities=>construct_wd_url(

EXPORTING application_name = <name_of_your_application>

IMPORTING out_absolute_url = lv_url.

and use this as content for your mail

grtz,

Koen

Former Member
0 Kudos

Thnx Koen,

Am already using this to get the URl.

As i mentioned i have the URL with me,

But when i pass this in the mail content it does not appear as a clickable Link.

It just comes up as plain text.

So my main goal is to send that URL as a Link in the email.

Any idea on this one ?

Former Member
0 Kudos

Hi,

in your content


<a href=url>Click to go to application</a>

but then your content should be added as a html file,

so begin with <html> end with </html>

grtz,

Koen

Former Member
0 Kudos

Hi,

as Koen mentionend you should use HTML format for your email. How do you send your email? You can use your ABAP System for sending the email. Here on SDN are some great weblogs form Thomas Jung, he describes how to create an ABAP Email webservice and how to use it.

[Weblog from Thomas Jung|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1135] [original link is broken] [original link is broken] [original link is broken];

Best Regards,

Marcel

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you please explain bit more. Do you want to send the mail from webdynpro or using external mail?

All webdynpro applications have the URL know. So you can just copy and then send it to your clients.

Thanks.