Application Development and Automation 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: 
Read only

Email to users.

Former Member
0 Likes
519

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
Read only

Former Member
0 Likes
492

Have you tried using FM "SO_NEW_DOCUMENT_ATT_SEND_API1"?

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.

3 REPLIES 3
Read only

Former Member
0 Likes
492

> 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

Read only

Former Member
0 Likes
493

Have you tried using FM "SO_NEW_DOCUMENT_ATT_SEND_API1"?

Read only

Former Member
0 Likes
492

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 >