cancel
Showing results for 
Search instead for 
Did you mean: 

File content conversion.

former_member223432
Participant
0 Kudos

Hi guys,

I am woring on File to proxy interface. where i need to read CSV file(not a fixed length file).

here are fields are seperated by "|" as shown below.

6260900000|RLSC||4||||||11-Jun-2012 11:53:56|11-Jun-2012 11:53:56.

if there is no field exist, then its not creating any fixed length values to read...how do i read this kind of file in PI.

please advise.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi,

>>> if there is no field exist, then its not creating any fixed length values to read...

This is not a problem, as long as the separetor is put correctly (which seems to be true in your case, based on the example data you provided). So you don't need to worry about it, just use the .fieldSeparator = | attribute of FCC, and all the XML structure will be created automatically for you. Refer to SAP Help below for more details if required.

http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6713ec3f914ddee10000000a1553f7/content.htm

Regards,

Greg

former_member223432
Participant
0 Kudos

Thanks Greg...

Answers (0)