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: 

Attaching a GIF image

Former Member
0 Kudos

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

Former Member
0 Kudos

Hai Ahasan,

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

Regards,

Srikanth.

Former Member
0 Kudos

Hi,

Refer this thread:

Regards,

Gayathri

0 Kudos

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

Former Member
0 Kudos

Hi,

Check this demo program which may help you.

Best Regards,

Vijay

Former Member
0 Kudos

Sorry here is the program - SF_XSF_DEMO_MAIL

0 Kudos

Hi,

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

Doc_type for the image.

Regards

Ahasan