Skip to Content

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

MessageMapping:hierarchical Structure to Flat Structure

Hi Gurus,

In message mapping I need convert hierarchical structure to Flat Structure: Pls see the below screen shot of source and target structure.

I have tried the mapping with node function useOneAsMany with SplitByValue, But it is not working as expected, Only the first records is displayed in the test results, 2nd record is missed out. pls see the below screen shots.'

Is this the right way to use node function or need to write UDF's, If Yes can you pls provide sample code?

Thanks for the help


Former Member


You can try using this mapping:

For Item

For Name

For Address

For Materials, Unit and Price

Input and Output

The mapping does not check for duplicates though, but it would work with multiple rows of item.

Hope this helps,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question