cancel
Showing results for 
Search instead for 
Did you mean: 

How to change a value in Idoc flat file in SAP CPI?

vinodkidambi
Explorer
0 Kudos
218

Hi,

I want to change the data value at multiple places in IDOC flat file in Iflow in CPI.

E.g. 'E2EDL456' to 'E2EDL455'

Please suggest how it can be done using groovy script without changing the file format and also via converting to XML.

SAP Integration Suite #

Ryan-Crosby
Active Contributor
0 Kudos
Use XML instead of flat files which simplifies what you need to do.
Ryan-Crosby
Active Contributor
0 Kudos
I was referring to ensuring that the outgoing IDocs are setup for an XML port instead of a port that relies on flat files, then you don't have to do any conversion to handle in XML.
Ryan-Crosby
Active Contributor
0 Kudos
You would need the metadata for the structure of the IDoc to attempt anything like that... IMO it's too much effort.

Accepted Solutions (0)

Answers (2)

Answers (2)

vinodkidambi
Explorer
0 Kudos

Hi @Ryan-Crosby 

Got it but it can't be changed. So can you please suggest better way to convert flat file to XML.

vinodkidambi
Explorer
0 Kudos

Thanks @Ryan-Crosby 

How can I get the XSD to convert the tab delimiter EDI text files to XML? Please suggest.