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

HTML + IMAGE

Former Member
0 Likes
649

I am using functions 'WWW_ITAB_TO_HTML_HEADERS' and

'WWW_ITAB_TO_HTML_LAYOUT' and 'WWW_ITAB_TO_HTML' to prepare a file that i send as an email and it work fine. I want to add a local image (ex: C:image.jpg) to my HTML file.

Help required,

Regards

1 ACCEPTED SOLUTION
Read only

franois_henrotte
Active Contributor
0 Likes
538

1) image should be uploaded on your SAP server using transaction OAOR

- class name PICTURES

- class type OT

- object key ZMY_LOGO_NAME

execute then click on create button and upload your file

2) in your program you have to load the BDS into your HTML file - this can be done using class CL_DD_DOCUMENT with method ADD_PICTURE

2 REPLIES 2
Read only

franois_henrotte
Active Contributor
0 Likes
539

1) image should be uploaded on your SAP server using transaction OAOR

- class name PICTURES

- class type OT

- object key ZMY_LOGO_NAME

execute then click on create button and upload your file

2) in your program you have to load the BDS into your HTML file - this can be done using class CL_DD_DOCUMENT with method ADD_PICTURE

Read only

Former Member
0 Likes
538

I was able to create the logo but how can i transfer it to the HTML table. I am able to use the new logo in an HTML screen, but i am not able to transfer it to the HTML table that i use to generate the email.

Regards.