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

Attaching a GIF image

Former Member
0 Kudos
372

Hi all,

Does anyone know how to attach a gif image to a email.I am working in APO-ABAP.

Regards

Ahasan

6 REPLIES 6
Read only

Former Member
0 Kudos
231

Hai Ahasan,

Just check these links, you may get some idea...

Regards,

Srikanth.

Read only

Former Member
0 Kudos
231

Hi,

Refer this thread:

Regards,

Gayathri

Read only

0 Kudos
231

Hi,

I have created the gif image using this code

CONCATENATE 'C:\' v_folder_name '' INTO v_file_name.

pathname = v_file_name.

IF my_bds IS INITIAL.

CREATE OBJECT my_bds.

ENDIF.

wa-comp_count = 1.

wa-directory = pathname.

wa-mimetype = 'IMAGE/GIF'.

APPEND wa TO files.

CALL METHOD my_bds->get_with_files

EXPORTING

classname = 'SAP_ICONS'

classtype = 'OT'

object_key = 'ICON_INCOMPLETE'

CHANGING

files = files

EXCEPTIONS

OTHERS = 1.

It gets created in the c drive within the folder Now i want to send this as an attchment with the HTML FILE .Since The gif file is needed for the HTML file

Read only

Former Member
0 Kudos
231

Hi,

Check this demo program which may help you.

Best Regards,

Vijay

Read only

Former Member
0 Kudos
231

Sorry here is the program - SF_XSF_DEMO_MAIL

Read only

0 Kudos
231

Hi,

I Know About The Program. But I want to Know About The

Doc_type for the image.

Regards

Ahasan