Skip to Content

Save email body in SBWP as PDF

Hi Experts,

In SBWP T-code, I have all mails that were sent as reply by different users. My requirement is to save each email along with the attachment in that mail as PDF in my system.

Please help me.

Regards,

Vidya.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 19, 2016 at 12:48 PM

    Hi Vidya,

    Can you explain a little more the context ?

    First qualify what you call mail :

    Is that external mail coming into SAP and getting in the SAP inbox ?

    Is that SAP MAIL to SAP MAIL ?

    Is that work item ?

    Then tell us if that is for every thing in the inbox or only certain mail ?

    How do you select them ?

    Thanks

    Stephane

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi

      you can create a class using the interface IF_INBOUND_EXIT_BCS and indicating your class in transaction SO50 for all kind of mail (*)

      The worst part is transforming the HTML mail into something readable then you'll certainly find the function module (* 2_PDF) corresponding to your need or one of the class provided by SAP

      Cheers

      Stephane

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.