cancel
Showing results for 
Search instead for 
Did you mean: 

Is Content Conversion possible in Fourth Level?

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

GabrielSagaya
Active Contributor
0 Kudos

Yes content conversion can be possible with the use of Keyfield

Former Member
0 Kudos

I tried using KeyField, but i am unable to achieve it.

can you give me the steps.

Former Member
0 Kudos

Kish,

try to have flat structures in the data type for FCC

Former Member
0 Kudos

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.