cancel
Showing results for 
Search instead for 
Did you mean: 

Text files

Former Member
0 Kudos

Hi,

I have a code in abap which does create text files.

OPEN DATASET OUTFILE FOR OUTPUT IN TEXT MODE.

transfer outdata to outfile.

Since I dont have access to text file, i dont know how it looks.

Can PI be able to convert a normal XML files into text file?

Regards

Krish

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>Can PI be able to convert a normal XML files into text file?

Yes it is possible use. FIle receiver adapter and message protocol file content conversion. Search SDN forum for fcc receiver side.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Krish,

A text file can be converted into XML by PI File adapter and vice versa.

In the message protocol, you need to keep the option as File content conversion.

And you need to provide the File content conversion parameters under the content conversion Tab.

Former Member
0 Kudos

HI,

transfer outdata to outfile.

Since I dont have access to text file, i dont know how it looks.

Can PI be able to convert a normal XML files into text file?

--->yes that is possiable with receiver file communication channel,

--->in this channel we have to provide bellow parameters:

1.message protocol is FCC

2.And also add the following columns in the Content Conversion Parameters. These columns are sufficient to do this conversion.

please go through this link:

http://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/

thanks,