cancel
Showing results for 
Search instead for 
Did you mean: 

Need to have Output as CRLF Format

Former Member
0 Kudos

We have a scenario where in the Receiving system we are posting Fixed Length Flat File.

In this case we need to have the Output in CRLF format not LF format.

In the module of the RCV Comm Channel we have used

xml.Record.endSeparator '0x0D''0x0A'

and xml.Record.fieldFixedLengths as 3,4,2,2,3,4,35 as because we have 7 fields in the output structure.

If we open the Output in Testpad we are having the output in correct format. But if open the Output in Notepad all the segments are comming in one line.

Can you help us so that we can have the Output in the CRLF Format.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Carriage Return (CR): \r

Line Feed (LF): \n

check this link (StrictXml2PlainBean)

http://help.sap.com/saphelp_nw04/helpdata/en/44/748d595dab6fb5e10000000a155369/frameset.htm

also this has some info

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

Regards

Vishnu

Former Member
0 Kudos

try with "nl" as end separator

Rajesh