on 01-29-2014 4:36 PM
Hi Experts,
I've a file to idoc scenario.It is a text file. It has a heirarchy of 4 levels.
I know that in PI content conversion using FCC/Message Transform bean is possible only for 3 levels.
Is there any way to read such a file?
Source structure of the above file
<Message Type>
<Record>
<header1>
--h1
--h2
<header2>
--h21
--h22
<header3>
<Item>
--<LineItem>
--<It1>
--<It2>
Thanks in advance
Senthil J
Hi Senthil - If you would like to avoid java mapping then please refer to the below blog which explains the possibility through graphical mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
We have worked on the similar requirement long time back .Below is the simple sol for your req.
First read the csv file using normal fcc ,then use the java mapping to convert input xml to deeply nested xml structure.
Java code for converting to deeply nested structure by taking an example.
Mapping1:Java Mapping
Mapping2:Your actual structure to target xml.
OM-->MM1 + MM2
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.