cancel
Showing results for 
Search instead for 
Did you mean: 

Content Conversion headerline with CRLF not working

susan_pfab
Participant
0 Kudos

I am using content conversion in my receiver channel. I have a header line (addHeaderLine=3 and headerLine=xxxxx). My xml.endSeparator='0x0D''0x0A'. However, the header line is not getting the '0x0D''0x0A'. It appears to only be getting the LF but not the CRLF that is requires for a Windows system. This causes issues because it concatenates the first line of data to the end of the header line. I have read of others having this same issue on SDN, but I haven't seen a solution except to separate the header in the receiver structure and map the header values in the message mapping. Is there any other way?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check

http://help.sap.com/saphelp_nw70/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm

Instead of '0x0D''0x0A' you can use 'nl' directly.

Also check the syntax of parameter name

NameA.addHeaderLine = 3

NameA.headerLine = xxxxx

NameA.endSeparator = 'nl'

Regards

Raj

susan_pfab
Participant
0 Kudos

'nl' will not work. This is for LF, but I need CRLF for UNIX system. I am currently getting a 'nl' at the end of the header line, but I need CRLF.

Former Member
0 Kudos

chk this:

in case u want to have a blank line after the header line use

addHeaderLine=4 and headerLine=xxxxx

susan_pfab
Participant
0 Kudos

This was actually on my list to try next. I will let you know if it works out.