Modify ABAP code to handle PDF files

PostalMethods provides email-to-post functionality for SAP R/3 and enables sending postal mail directly from SAP. This is step 3 of our Mail Fulfillment From SAP guide.

You will need to modify your ABAP code in order for SAP R/3 to use PDF files (a standardized document format by Adobe) instead of SAP's OTF format. The PDF file is generated automatically and will be attached to the email message being sent to PostalMethods.

The ABAP code can be used with either one of SAP's form design tools: