在SAP ABAP中使用SO_DOCUMENT_SEND_API1函数模块发送包含图片的邮件时,你需要将图片作为附件处理,因为SO_DOCUMENT_SEND_API1并不直接支持在邮件正文中嵌入图片(除了以HTML形式作为邮件内容的一部分,但这需要收件人支持HTML邮件并正确渲染图片)。以下是一个分步指南,包括如何准备图片和调用SO_DOCUMENT_SEND_API1函数模块...
Hi, I am using function module SO_DOCUMENT_SEND_API1 to send mail with excel attachment.But i am getting error 6 when i pass karthi@company.com as sender address. But at
SEND EMAIL SO_DOCUMENT_SEND_API1 FUNCTIONzcrm_send_email_and_attach .*"---*"*"Local Interface:*" IMPORTING*" VALUE(IV_TITLE) TYPE STRING OPTIONAL*" VALUE(IV_HEADER) TYPE STRING OPTIONAL*" VALUE(IV_BODY) TYPE STRING OPTIONAL*" VALUE(IT_TABLE) TYPE ANY TABLE OPTIONAL*" EXPORTING*" VAL...
SO_DOCUMENT_SEND_API1 - Sending external mail with changed sender Former Member 2012 Jun 21 4:25 PM 0 Kudos 499 SAP Managed Tags: ABAP Development Hi. I'm trying to send an external e-mail and when the recipient replies it must go back to a different sender. Sending the...
This function module is SO_DOCUMENT_SEND_API1. When I tried to delete the parameter, COMMIT_WORK, i can save the order but then cannot send the e-mail when executing the output type to send e-mail. But the message to be sent is still no entry in queue when checking in transaction ...
give SO_DOCUMENT_SEND_API1 in the search forum, you will get hundreds of answers on the same topic. Regards, Satish Reply Simha_ Advisor In response to Simha_ 2007 Oct 25 4:38 PM 0 Kudos 169 SAP Managed Tags: ABAP Development Hi, Don't expect everything to come to ur...
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1' exporting document_data = docdata put_in_outbox = 'X' commit_work = 'X' tables packing_list= objpack object_header = objhead contents_bin= objbin contents_txt= objtxt receivers = reclist. if sy-subrc 0. message id 'SO' ...
EXCEPTIONS 里能看到的是SAP 层面能检测到的错误(理论上:EXCEPTIONS 中的 document_not_sent 能检测邮件是否发送成功,但有时候也不奏效)因邮件有没有真正发送成功,还要取决于所对应的邮件服务器及当时的网络环境
i_objpack-body_start = v_lines_bin_all - v_lines_bin +1. i_objpack-body_num =v_lines_bin. i_objpack-doc_type ='XLSX'. i_objpack-obj_name ='text'. i_objpack-doc_size = v_lines_bin *255.***&step6.Send emailCALLFUNCTION'SO_NEW_DOCUMENT_ATT_SEND_API1'EXPORTINGdocument_data...
hi i have a requirement to send the text file attachment and mail after zipping the attachment. I have used fm so document send api1 to attach the text file and send to