cancel
Showing results for 
Search instead for 
Did you mean: 

Send CSV instead of XML via Emailadapter

Former Member
0 Kudos

Hi,

I can send emails via the XI-Mail Adapter, this works fine. But the attachments which were created by XI are in XML format. How can I get the attachments in CSV?

regards,

Daniel

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Daniel,

try using stnadard content conversion:

https://websmp205.sap-ag.de/~sapdownload/011000358700001186732005E/HowToConveModuleJMS.pdf

this should work in standard and create a csv document as you need

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Former Member
0 Kudos

Hi Michal,

thanks for the link. It fits exactly my problem

Regards,

Daniel

MichalKrawczyk
Active Contributor
0 Kudos

I know:)

glad it helps

Regards,

michal

Former Member
0 Kudos

Hi Michal,

the PDF helped me a lot. But is there a complete description of the possible parameters and parameter values of the localejbs/AF_Modules/MessageTransformBean?

In the PDF there are only examples, but no complete description. I followed the recommendation in the PDF an searched the online documentation, but I found no complete description

Regards,

Daniel

MichalKrawczyk
Active Contributor
0 Kudos

hi Daniel,

but are you looking for content conversion only?

if so have a look at sender/receiver file adapter

(content conversion sections)

sender:

http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

receiver:

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Regards,

michal

stefan_grube
Active Contributor
0 Kudos

Hi Daniel and Michal,

the Content Conversion in the Module is acting like the J2SE file adapter, so the parameters are better checked here:

http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm

and here:

http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm

All parameters that start with <i>xml</i> can be used.

Regards

Stefan

stefan_grube
Active Contributor
0 Kudos

Hi Daniel,

here is a list of all possible parameters, but without any decsription. The value besides the parameter is the default value. In brackets are possible values.

Regards

Stefan

structureTitle
fieldFixedLengths
enclosureSign
enclosureSignEnd
enclosureSignEscape
enclosureSignEndEscape
enclosureConversion YES
checkForXMLPredefinedEntities YES
checkForISOControls

---- Plain 2 XML

lastFieldsOptional NO
addBeginSeparatorAsField
addEndSeparatorAsField
fieldContentFormatting trim

--- not simple mode

processFieldNames fromConfiguration
keyFieldName
keyFieldValue
keyFieldInStructure add

-- Simple mode ----

documentName
documentNamespace
documentNamespaceScope root
processFieldNames

--- XML 2 Plain

addHeaderLine (only single?)
absoluteRowWidth 
headerLine
fixedLengthTooShortHandling Error (Cut, Enlarge)
fieldNames

Former Member
0 Kudos

Hi Stefan and Michal,

thanks for the information. Especially the links from Stefan are helpful.

I try to convert a complex XML-Document (generated from an IDoc) into an Edifact-CSV-Message. Therefore I searched for content conversion.

But it seems that I have to realise some mappings and learn much more about XI before I get proper results

Regards,

Daniel

Answers (0)