Skip to Content
0
Former Member
Jul 15, 2008 at 12:05 PM

Attachment file not picked - File to Mail scenario

18 Views

Hi,

I'm just trying out the file to mail scenario as suggested in blog:

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]

I created a xml file as the main mail content(main.xml). And I also have an attachment file(txt) placed at the same location. The file adapter picks the mail.xml, but not the attachment txt file. I can see the mail in my inbox, with the mail.xml added as an attachment..

I have added the "additional files" in the File adapter configuration. Also in mail adapter configuration, I have checked "Keep attachments"

Are there any other configurations I'm missing out???

When I check in XI ABAP engine, sxmb_moni, I see the following error:

http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_Mail_MM_</SAP:P1>

<SAP:P2>java.lang.NullPointerException</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_Mail_MM_:</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>