cancel
Showing results for 
Search instead for 
Did you mean: 

FCC for input file with only one field in SAP PI

Former Member
0 Kudos

Dear all,

Please let me know the FCC parameters if you have worked on a input file with just one field.

The csv file looks like:

123,147,159,369,456,987......

Thanks in advance...

M. Manohar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Guys, Thanks for replying. Please do not send me general links.

I have a very specific requirement of converting a comma seperated csv file (with just one field) to XML. Below is the example:

CSV File:

1234,2345,3456,4567,5678

XML File:

<row>

<BP>1234</BP>

<BP>2345</BP>

<BP>3456</BP>

<BP>4567</BP>

<BP>5678</BP>

</row>

Thanks.

MM

Muniyappan
Active Contributor
0 Kudos

Hi,

if you know how many times BP comes in the sender you can refer below thread.

check Ambrish Mishra's reply.

if BP occurs n number of times, you can read this string in one field and then take care this requirement in message mapping.

you need udf for this.

check Grzegorz Glowackis reply

Regards,

Muni.

Former Member
0 Kudos

Dear  MM,

Plz find out the below CC_parameters:

.............

Mutti

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Murali,

Mention the same field names for all the fields in the communication channel parameter "fieldnames".

Regards,

Anusha Penneru

former_member182455
Active Contributor
0 Kudos
Muniyappan
Active Contributor
0 Kudos

Hi,

do you want to construct xml from one string?

please share your message type/xml.

Former Member
0 Kudos

Hi Murli,

Please refer to below thread:

http://scn.sap.com/thread/976525