Sending Image in Mail body using SAP ABAP + HTML Code
Image in Mail Body Steps : Enter Transaction : Se80 Select/Choose : MIME repository option Path to be used to upload image: /SAP/PUBLIC/Image.jpg (Image upload from PC) Click on Import jpg picture Sample picture name : img_happy .jpg (Example) ================================================================================= Write a below program(report with Mailer functionality) to send an Image in Mail body . Program : report zimage_in_mail_body . "For Mime Repository data : gv_mr_api type ref to if_mr_api , "mime repository object gv_content type xstring , "image in XSTRING is_folder type boole_d , l_loio type skwf_io . *&------------------------------------ *&source Code for image in mail body *&------------------------------------ *&Image to Xstring Table form data : l_obj_len type so_obj_len , lv_graphic_length type tdlength , gr_xstr