SAP-发邮件
摘要:发送Emailsap发送Email方法﹕1﹐从smartform中获取返回的内表data:control_parametersTYPEssfctrlop,job_output_infoTYPEssfcrescl,job_output_optionsTYPEssfcresop,i_pdf_tabLIKETABLEOFtlineWITHHEADERLINE.control_parameters-getotf='X'.CALLFUNCTIONf_nameEXPORTINGcontrol_parameters=control_parametersIMPORTINGjob_output_info=job_output_infojob_output_options=job_output_options.2,将返回的OFT转到PDF内格式内表CALLFUNCTION'CONVERT_OTF'EXPORTINGformat='PDF'IMPORTINGbin_filesize=g_filesizeTABLESotf=job_output_info-otfdatalines=i_pdf_tabEXCEPTIONSerr_max_linewidth=1err_format=2err_conv_not_possible=3OTHERS=4.IFp_s1='X'.PERFORMsend_mailTABLESi_pdf_tab.ELSE.PERFORMsend_mail2TABLESi_pdf_tab.ENDIF.方法1FORMsend_mailTABLESpdf_tabSTRU
温馨提示:当前文档最多只能预览
5 页,若文档总页数超出了
5 页,请下载原文档以浏览全部内容。
本文档由 匿名用户 于 2022-09-01 23:11:13上传分享