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

Conversion of Flat file to XML

Hi ,

I have a scenario where i need to convert a FLAT File to XML ...

Since I am using Seeburger Adapter the usage FCC is ruled out.

Is there any inbult Adapter Module available in SAP PI which can be used to convert a Flat file to XML.

The Flat file has many rows... I just want a single record to repeat n times.

Please help me on this.




Why don't try with Message Tran Bean

Check this below details out:

Processing Sequence:

1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid

2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean mtb

3 localejbs/CallSapAdapter Local Enterprise Bean exit

Module Configuration:

mtb Transform.Class

mtb Transform.ContentType text/xml;charset=utf-8

mtb xml.conversionType SimplePlain2XML

mtb xml.documentName XXX_EXPENSES_mt

mtb xml.fieldContentFormatting trim

mtb xml.fieldNames FIELD1,FIELD2,FIELD3,FIELD4

mtb xml.fieldSeparator '0x09'

mtb xml.processFieldNames fromConfiguration

mtb xml.structureTitle RECORD



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