cancel
Showing results for 
Search instead for 
Did you mean: 

sap po content conversion problem with newline

former_member298062
Discoverer
0 Kudos

hi experts,

In a file sender adapter, I have to convert a file with the following structure:

H|1|2|3|4|<br>L|a|b|c|d<br>L|a|b|c|d<br>F|1|2|3|4 (no fixed field length)

The structure should be: Header, Line*, Footer

The problem is that there is no real line break in the file, only <br>

I tried to use the endSeparator parameter with '<br>', '<', '>' but no luck so far. Is there maybe a way to replace the string or maybe use the encoding option? Any hints appreciated...

thx

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member298062
Discoverer
0 Kudos

I solved this issue with a workaround using an adapter module to replace the '<br>' string with a newline before calling the MessageTransformBean

the adapter module was developed similar to this one:

Blog: Adapter Module ReplaceString

... but I still would like to know if there is a more 'standard' solution