on 11-28-2007 12:27 PM
Hi Experets,
In my Scenario the data needs to be passed from Flat File to IDOC.
My Data Type looks as below:
Level 1: <SalesOrder_DT>
Level 2: <DOCUMENT_ROOT>
Level 3: <DOCHEADER>Source_System ....</DOCHEADER>
Level 3: <POHEADER>Order_Type PO_Number ....</POHEADER>
Level 3: <SHIPTOADDRESS>Name1 Name2......</SHIPTOADDRESS>
Level 3: <STRUCTURE>
Level 4: <PRODUCT>Line_Position ....</PRODUCT>
Level 4: <LINEITEM>Note ....</LINEITEM>
</STRUCTURE>
Level 3: <DOCTRAILER>keyfield</DOCTRAILER>
</DOCUMENT_ROOT>
</SalesOrder_DT>
But my Flat File will be as below:
DOC_HEADER ...........
PO_HEADER...........
SHIPTOADDRESS.........
PRODUCT..........
LINEITEM..........
PRODUCT..........
LINEITEM..........
LINEITEM..........
LINEITEM..........
PRODUCT.........
LINEITEM...........
LINEITEM..........
DOCTRAILER........
Product and LineItem can occure multiple times.
I will not get Structure in Flat File.
Product and the LineItem(occuring until the next product) should go into one structure. So as many times Product occurs it should go to new structure.
Will the File be picked and how can i do Content Conversion?
Please suggest me the solution for solving this issue.
Thanks & Regards,
Kish.
Kish,
Can you give a sample of your input file and the XML file you are expecting. It is very difficult to understand the levels you have posted. Generally, File adapter Content Conversion can not deal with nested structures.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes content conversion can be possible with the use of Keyfield
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Arvind,
I done the same in the th Content Conversion.
But the File is picked normally without any repetation of Strucutre.
My Intention is to Create Structure for every occurance of Product and LineItem.
But my File does not contain Structure.
Based on Structure i need to map this to E1EDP01.
How many times the Structure with Product and LineItem occurs E1EDP01 should be repeated.
So please suggest me the solution based on this criteria.
Thanks for ur response.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.