on 09-19-2006 7:19 PM
Our Input message structure looks like this..
<a>
<code>
<text>
<a>
<code>
<text>
<a>
<code>
<text>
....
....
</a>
</a>
</a>
Is there any way we can map the code and text from this recursive source structure to a target elemnet using Graphical Mapping/UDF?
Has any one come across this situation? If yes how have you handled this situation?
Any help would be greatly appreciated.
Thanks
Hi,
From where you are getting this nested input structure ?
Is it from idoc/file etc?
What is your source and target systems? i.e to know the target structure.. If your target structure is flat , then mapping this will not be a problem. otherwise , you need to think some other mapping options(Java,ABAP,XSLT) to make the life easier
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If so, is your input file is xml file ? If the file is not an xml file , then you need to do content conversion in the sender file adapter. Now question is , file is always a flat structure. So if you want to convert your non xml input file(i.e coma separated etc) into xml file in your file adapter into the deeply nested structure as you mentioned, it is difficult . I mean to say content conversion will not give you the structure more than 2 levels...
<i><i>Can we loop through a recursive source structure via Java Mapping? Have you done something like that?</i></i>
>>>Yes .Source structure is flat message structure...for a file it does not matter having deeply nested structure..
Regards,
Moorthy
...
Message was edited by: sagarkavi srungarakavi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.