I have the following scenario, Proxy ABAP-XI -Mail. I have configured my scenario, and the payload is correctly sent to the email address that i have configured in the mail adapter, but in xml format, the point is that I have to send the attached message as txt format.
I have done the following configuration in the receiving mail adapter channel, in the module section:
localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean XML2Plain
XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
XML2Plain Transform.ContentDisposition attachment;filename="Gen.txt"
XML2Plain Transform.ContentType text/plain;charset=utf-8
XML2Plain xml.REGISTRO_CABECERA.fieldFixedLengths 52
XML2Plain xml.REGISTRO_DE_DATOS.fieldSeparator ;
XML2Plain xml.REGISTRO_PIE.fieldFixedLengths 10
XML2Plain xml.addHeaderLine 0
XML2Plain xml.conversionType StructXML2Plain
XML2Plain xml.recordsetStructure REGISTRO_CABECERA,REGISTRO_DE_DATOS,REGISTRO_PIE
Maybe i missed something in my configuration, or maybe this is not the right way for doing it, can anyone help me with this??
Thanks a lot in advanced,