on 02-08-2014 8:16 AM
Hello experts,
I am facing a issue. I have an IDOC to .txt scenario using content conversion. The target message type has a node with 4 fields and a subnode with 3 fileds (in total 7 fields).
The mapping is simple (1 to 1 ).When txt file is generated using file content conversion only five fields are present i.e 4 fields of the node and first field of the subnode. The last 2 fields of the subnode are missing.
This issue is not happening in case of IDOC to .xml( all 7 fields are there) but when I do it for IDOC to .txt only 5 fields are there.
There are no empty fields also.My text file is pipe separated.
I have used the following fcc parameters.
Recordset.addHeaderLine 3
Recordset.headerLine all the fields for header
Recordset.fieldSeparator |
Please help.
Hello,
I think ur structure is not compliant enough for FCC. For FCC at receiver side ur XML structure generated after mapping should be like:
<Mt_Name>
<nameA>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
</nameA>
<nameB>
<value4>value</value4>
</nameB>
</MT_Name>.
u can check this:
Thanks
Amit Srivastava
Message was edited by: Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amit,
My xml is like this now.
<Mt_Name>
<nameA>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
<value4>value</value4>
<nameB>
<value5>value</value5>
<value6>value</value6>
<value7>value</value7>
</nameB>
</nameA>
</MT_Name>.
So all i have to do is create a new data type with a single context node instead of having a sub node inside a context node?
Hello,
>>So all i have to do is create a new data type with a single context node instead of having a sub node inside a context node?
How u want target CSV file to look like?
That's for sure u cannot do FCC directly on above structure, so either use the approach as suggested in the blog mentioned above or use JM directly to create CSV file.
Thanks
Amit Srivastava
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.