Hi Experts,
I have a requirement that, PI needs to read a mail having a PDF attachment and detach the attachment and place it in an application folder(It is not to read PDF file and convert to xml). The data in PDF file looks like an invoice (having logo, address, details in tabular format).
My clarifications are:
1. Can we detach the attachment from mail and place in a folder? If so, do we have any standard SAP module to be put in sender email adapter; if not how it can be acheived.
2. If we have to convert this kind of PDF file to XML format, how can we do this.
Could you please share your thoughts.
Thank You for all your support,
Regards,
Ravi.
Hello,
>>I have a requirement that, PI needs to read a mail having a PDF attachment and detach the attachment and place it in an application folder
It seems that ur interface is a by pass kind of scenarion - dump the attachment without reading the content?
If yes, then u don't need to create any ESR objects and just use payload swap bean to read the attachment as the main document and if u want to dump file on app server with the same name as that of attachment then check this blog -
Creating File Name from Mail Attachment using Standard Beans
Thanks
Amit Srivastava
Add a comment