Skip to Content

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

Mapping flat to nested

Hi all,

I have a file to Idoc scenario where I get file pipe separated.

By FCC I read this file into a flat XML.

Now I have to map this to Idoc WPUBON.

My src is

WPB01,a,a,a

WPB02,b,b,b

WPB03,c,c,c

WPB03,d,d,d

WPB04,e,e,e

WPB02,f,f,f

WPB03,g,g,g

WPB04,h,h,h

WPB06,i,i,i

My target structure is:

WPB01

~WPB02

~ ~ WPB03

~ ~ WPB03

~ ~ WPB04

~WPB02

~ ~ WPB03

~ ~ WPB04

~ WPB06

Is there any standard solution for his problem?

I think it is not possible even with xslt. Any suggestions?

regards,

Anirudh.

Edited by: Anirudh Vyas on Oct 8, 2008 1:57 PM

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