![]() ![]() The development in SAP PI has made it possible to unzip a zip file containing an XML file and multiple PDF files in sequence and use XML data to form the Email body and PDF files to form the Email Attachments. SAP provides a standard feature to unzip multiple files contained in a. ![]() PDF files are received in the same email as attachments. Step5 – Mail received to the recipients with the mail attributes used from the XML file. Step 4 – Open the message to observe the Before Message Mapping, After Message Mapping and Attachments tab. Step3 – Message monitoring showing the Message Content as below. Message Monitoring Logs shows the End to End audit logs of the message. Step2 – Sender File Adapter picks up the ZIP File. zip file comes over to PI Directory from Sending System containing an XML file and multiple PDF files as below. This completes the Interface Setup in PI. zip file from the PI Directory, unzip the files using PayloadZipBean and send them to the destination over Email adapter with XML file data in Main Payload and PDF file as attachments. “ Keep Attachment” makes sure that the attachments received in PI from Sender system are further sent to destination as attachments intact.Ī File to Mail scenario is created. Hence we enable the checkbox – “ Use Mail Package” However, since we are using mail package here, we have provided these details in the mapping as shown in ESR section above. When you do not use mail package you have to provide the email header details (like To and From addresses, Subject line etc.) in the Mail adapter. One using the mail package & other without using mail package. Key Detail to note here is for the Mail Attributes, we select the checkbox “ Use Mail Package” and “ Keep Attachments” Receiver Communication Channel: Below is the configuration of the Receiver Mail Adapter.
0 Comments
Leave a Reply. |