zoukankan      html  css  js  c++  java
  • 如何使用ABAP发送带有PDF格式附件的电子邮件

    Created by Jerry Wang on Feb 15, 2014

    the signature of CL_DOCUMENT_BCS~ADD_ATTACHMENT:

    suppose we already have PDF binary source with type XSTRING, variable iv_pdf_content.
    i_attachment_type: value list of attachment type could be found in value table TSOTD:

    in PDF, we should use BIN
    i_attachment_size: could be filled via xstrlen( iv_pdf_content )
    i_att_content_hex: cl_document_bcs=>xstring_to_solix( ip_xstring = iv_pdf )
    i_attachment_subject: for example test.pdf
    finally the PDF attachment could be found in email box.

    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    撕衣服
    寒假作业1编程总结。
    C Traps and Pitfallss
    《彻底搞定C指针》文档整理
    C语言中内存分配 (转)
    ASCII
    ipad
    tour
    Diet
    第7章 输入与输出
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13624936.html
Copyright © 2011-2022 走看看