Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Email to users.

Former Member
0 Kudos
88

Hello,

I have a requirement to send the email to the users.email contain some hyperlinks.

Please guide me the possible procedure to build by email.

I have a idea of building email with text symbols and appropriate HTML codes.

Thanks.

Reddy.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
61

Have you tried using FM "SO_NEW_DOCUMENT_ATT_SEND_API1"?

3 REPLIES 3

Former Member
0 Kudos
61

> Total Questions: 67 (64 unresolved)

Also, think about it... are you the first person to have ever attempted this?

If you conclude that you are not, then chances are very good that you can use the search first and then ask more detailed questions later.

Cheers,

Julius

Former Member
0 Kudos
62

Have you tried using FM "SO_NEW_DOCUMENT_ATT_SEND_API1"?

Former Member
0 Kudos
61

Hi,

you can use HTML tags in text elements to acheive this.

Use the FM 'SO_OBJECT_SEND'

call function 'SO_OBJECT_SEND'

exporting

object_hd_change = g_obj_hd_chg

object_type = 'HTM'

outbox_flag = 'X'

owner = sy-uname

store_flag = ' '

delete_flag = ' '

sender = sy-uname

ip_encrypt = 'X' "Encrypt the email

tables

objcont = objtxt

receivers = receivers

packing_list = packing_list

att_cont = objbin

in the parameter objtxt, populate your text and web link as shown below.

for example, if you want text in the email as "to access sdn, click on the [link]"

add HTML tag like this :

to access sdn, click on the

A href="your web link"+link/A+

Note : instead of * above, use <

instead of + above, use >