on 2023 Feb 14 4:44 PM
I am using the FM SO_DOCUMENT_SEND_API1 to send an email with an excel file attachment.
I need the body of the email to contain an image that I have uploaded in mime repository in se80.
I have tried retrieving the URL of the image using FM 'WWW_GET_MIME_OBJECT' and 'DP_CREATE_URL'
and then entering the URL in html tag while populating the text body of the mail as shown below.
assuming that the URL received is "url_link"
<img src = "url_link" align = "right";width = 150>
This approach is not working. The FM 'WWW_GET_MIME_OBJECT' is failing.
However, if I replace the url_link with actual url from the internet of an image. The image is getting embedded as expected in the mail body.
How do I ensure that instead of getting the image from outside, I can get it internally once uploaded in SAP System?
Request clarification before answering.
DP_CREATE_URL is for SAP GUI, not for emails.
To send an image embedded in an HTML email, via <img src="..." ...>, you have 2 possibilities for src:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
30 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.