Skip to Content
avatar image
Former Member

sap po content conversion problem with newline

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 18, 2017 at 01:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded