i_requested_status = 'E' i_status_mail = 'E' ). send_request->set_send_immediately( immediately ). * 第七步: 正式发送并提交作业 send_request->set_send_immediately( '' ). "设置立即发送 send_request->send_request->set_link_to_outbox( 'X' ). "与outbox关联 CALL METHOD send_request...
SAP可以把一些信息发到外部的Email地址,比如把PO的信息发送给供应商。实现这个事情主要的问题有两个:配置系统和写ABAP 配置系统:(这是470以上系统的配置,如果是47C或者以下,会用到RFC(SM59))1.设置Profile参数2.SAP发邮件用户的维护3.SICF4.SCOT5.SOST (查看发送状况) ABAP的编写: 基本是参考note:455140(Confi...
SAP可以把一些信息发到外部的Email地址,比如把PO的信息发送给供应商。 实现这个事情主要的问题有两个:配置系统和写ABAP 配置系统:(这是470以上系统的配置,如果是47C或者以下,会用到RFC(SM59)) 1.设置Profile参数 2.SAP发邮件用户的维护 3.SICF 4.SCOT 5.SOST (查看发送状况) ABAP的编写: ***转载:http:/...
con_tab TYPE abap_char1 VALUE cl_abap_char_utilities=>horizontal_tab.. (tab space) TRY. send_request = cl_bcs=>create_persistent( ). PERFORM f_head_cont. PERFORM f_xls_att2. •Dokument (mit Anhang) setzen(comment) CALL METHOD send_reques...
SELECT smtp_addr FROM zmm_invtr_email INTO TABLE addr_email. CHECK addr_email[] IS NOT INITIAL. LOOP AT addr_email. CLEAR:i_receivers. i_receivers-receiver = addr_email-smtp_addr. i_receivers-rec_type = 'U'. i_receivers-com_type = 'INT'.* i_receivers-copy = 'X'."CC* i_recei...
This weblog is focused on the BCS interface and not SO_NEW_DOCUMENT_ATT_SEND_API1. There is a separate weblog for that function module that might help:Sending E-Mail from ABAP - Version 46D and Lower - API InterfaceBut yes you can certainly create an email body. The first object in...
SAP Managed Tags: ABAP Development ABAP Development Programming Tool View products (1) Hi All, I have the a requirement to send an email from SAP, the format will go like a normal email as such that: TO: receiver@yahoo maintained and will be retrieve from custom table FROM: sender @...
*Send email message, although is not sent from SAP until mail send *program has been executed(rsconn01)PERFORM send_email_message.ENDFORM.FORM get_send_mail.SELECT * FROM zsendmail INTO CORRESPONDING FIELDS OF TABLE i_sendmail.IF matnr[] IS INITIAL .DELETE i_sendmail WHERE ztype NE '1'....
SAP Managed Tags: ABAP Development Hi Praveen, Try this FM: It will solve ur purpose. The ABAP should write the messages into an internal table (e.g. i_mail_body), and distribution list of users should be populated into another internal table (e.g. email_send) . Then call the SAP...
bcs_message type string. clear: lv_email, lv_title, html. " Email Body Content with html format try. * request email function clear send_request. send_request = cl_bcs=>create_persistent( ). * Create the content of email clear document . document = cl_document_bcs=>create_document( ...