cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Receiver Adapter

Former Member
0 Kudos

Hi All,

I am getting the file from the file adapter. I am doing some simple transformation in message mapping. I want to send this payload as an .txt file as an attachment in the mail.

I am able to send the attachment as an .xml file in the mail. Using the modules i am able to rename the file as .txt. But the content inside is always .xml file. See this example:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Mail xmlns:ns0="http://xyz.com/"><Record>& 2 400</Record><Record>& 2 1200</Record></ns0:Mail>

But here I dont want this xml as an attachment in the mail. I only want the actual payload like:

& 2 400

& 2 1200 as an attachment.

Can anyone please help me in acheving this requirement.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Korobee,

to solve your problem you have to use MessageTransformBean adapter module.

http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm

This thread could also be useful:

Hope this help

Francesco