Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Conversion of single record with multiple lines to XML

Hi All,

In my scenario, I need to convert a multiple line record (text format) to a single recordset (XML format).

My outbound structure follows



-- Data1

-- Data2

Input file:


st second


Output Expected:


<Data>First second<\Data>


But when I tried I got the error "Set the param lastfield optional". The problem is whenever it encounters a new line it assumes that's the end of the record. But my input record comes in multiple lines.

How do I solve it?



Former Member
Not what you were looking for? View more on this topic or Ask a question