Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Attachment content in body of the mail in different format

Hellow Guys,

I have a proxy to mail scenario in which I'm getting output XML as an attachment need the same attachment content in body in different format.(need both attachment and body now)

For ex: In Attachment I'm getting as beloiw,

<m<MessageId>56607416CE000A66C848</messageId><ServiceVersion>1.0</ServiceVersion><ServiceDirection>Outbound</ServiceDirection><DocumentType>FSOCREATE</DocumentType><FSONumber>54772</FSONumber><TransmissionDatetime>08-DEC-2013 16:20:35</TransmissionDatetime><TransmissionId>56607416CE051810E100800C848</TransmissionId><FSOLastUpdateDate>08-DEC-2013 16:20:18</FSOLastUpdateDate><fsoOutbound><priority>P2</priority><CaseNumber>2004110734</CaseNumber><PartRequestNumber>8001203631</PartRequestNumber><ReportingHostName>SZXNAS38A-DR</ReportingHostName><ProductSerialNumber>850000155303</ProductSerialNumber><Model>FAS3240-R5</Model><CustomerContactName>Lin Li</CustomerContactName><CustomerPhonenumber

So now I want to get some of the specific fields from attachment  as below   in my body of the mail as below.

messageId : 56607416CE00A66C848

FSONumber: 54772

PartRequestNumber: 8001203631

I'm using SAP XI 7.0 version

I think this can be acheived by using java mapping.

If anyone can help in providing that code or your suggestions it will be a great help from your end.

you can drop me code to my mail address

Thanks in advance


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question