I have an real challlenge in File content conversion
source file:
DTACHKH 675334789008754311233ff
Detail 567778888999909999008776
Detail 567778888999909999008776
Detail 567778888999909999008776
DTACHKH 675334789008754311233ff
Detail 567778888999909999008776
Detail 567778888999909999008776
Required XML
<root>
<Data>
<header>
<Banknumber></Bank number>
<NameofCompanyCode></NameofCompanyCode>
</header>
<detail>
<Bankaccountnumber></Bankaccountnumber>
<CheckNumberFrom></CheckNumberFrom>
<Checknumber></Checknumber>
</detail>
<detail>
<Bankaccountnumber></Bankaccountnumber>
<CheckNumberFrom></CheckNumberFrom>
<Checknumber></Checknumber>
</detail>
<detail>
<Bankaccountnumber></Bankaccountnumber>
<CheckNumberFrom></CheckNumberFrom>
<Checknumber></Checknumber>
</detail>
</Data>
<Data>
<header>
<Banknumber></Bank number>
<NameofCompanyCode></NameofCompanyCode>
</header>
<detail>
<Bankaccountnumber></Bankaccountnumber>
<CheckNumberFrom></CheckNumberFrom>
<Checknumber></Checknumber>
</detail>
<detail>
<Bankaccountnumber></Bankaccountnumber>
<CheckNumberFrom></CheckNumberFrom>
<Checknumber></Checknumber>
</detail>
</Data>
</root>
1) I know all the field length
But how to identify the multiple header in source file because after one header line there maye 4 or 5 detail .
like;;;;;
Header
Detail
Detail
Header
Detail
Header
Detail
Detail
Detail
Edited by: Debashish Roy on Nov 6, 2010 7:40 AM
Edited by: Debashish Roy on Nov 6, 2010 7:41 AM
Debashish,
Rudolf is right. You have to use the java for FCC in this case. Even I had the same situation in one of teh project...
There is a limitation of FCC . In your case , you have the following structure
H
D
H
D
which is not possible by FCC. You have to use java.. If you structure is
H
D
D
D
then it is possible thru FCC.
Please go through teh following blog, It had helped me a lot..
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
Thanks
Veeru
Edited by: viru srivastava on Nov 8, 2010 4:26 AM
Similar Messages
-
FIle Content Conversion Problem in IDOC-XI-File Scenario
Dear All,
I am doing IDOC-XI-FILE scenario.
I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
The output xml version generated by Reciever file adapter is as below :
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
- <SITE_DATA>
<STORE_CODE>N002</STORE_CODE>
<TITLE_MEDI>Company</TITLE_MEDI>
<STORE_NAME>Mount Road</STORE_NAME>
<STREET>Chennai</STREET>
<COUNTRY>IN</COUNTRY>
<SALES_TAX_NO>12345678910</SALES_TAX_NO>
</SITE_DATA>
</ns0:MT_SITE_MASTER>
Plz provide me the code I have to write in the file content conversion .
Thanks in advance
Regards
PrabhatIf u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier. Then use the Suppress Logic for the Current Date.
So it will look like this-
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
- <SITE_DATA>
<STORE_CODE>N002</STORE_CODE>
<TITLE_MEDI>Company</TITLE_MEDI>
<STORE_NAME>Mount Road</STORE_NAME>
<STREET>Chennai</STREET>
<COUNTRY>IN</COUNTRY>
<SALES_TAX_NO>12345678910</SALES_TAX_NO>
</SITE_DATA>
<CURR_DATE>
<CURRENT_DATE>20051105</CURRENT_DATE>
</CURR_DATE>
</ns0:MT_SITE_MASTER>
So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
CURR_DATE.fieldFixedLengths - 0
CURR_DATE.fixedLengthTooShortHanling - Cut
And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
Hope this solves ur problem.
Regards,
Moorthy -
File Content Conversion--- Removing Quotations from csv file
I have a csv file in the folowing format:
field1,field2,field3,field4
"111","222","333","444"
"aaa","bbb","ccc","ddd"
Suppose the header name is row in IR.
While configuring the sender file adapter in XI, i have given following parameters under file content conversion.
row.fieldNames=field1,field2,field3,field4
row.fieldSeparator=","
row.processFieldNames=fromConfiguration
row.beginSeparator="
After picking up the XML file XI processes the data so that we have out put as
row
field1 111
field2 222
field3 333
field4 444"
row
row
field1 aaa
field2 bbb
field3 ccc
field4 ddd"
row
My Problem is what parameter should I add in ID to remove this last quote say 444" and ddd" from the XML message ????
I tried using
row.endSeparator=" but it is still giving the same output.
Can anyone help ????????????????????????Hi,
Try this FCC instead
row.fieldNames=field1,field2,field3,field4
row.fieldSeparator=,
row.processFieldNames=fromConfiguration
row.enclosureSign=u201C
row.enclosureSignEsc=u201Cu201C
row.endSeparator='nl'
http://help.sap.com/saphelp_NW04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
If you specify xml.enclosureSign=u201C and xml.enclosureSignEsc=u201Cu201C, text enclosed in quotation marks is transferred unchanged and the quotation marks are removed.
Thanks
SaNv... -
hi,
i have sender and received side -file content conversion.
in sender communication channel -
Recordset structure is -> Header,1,Detail,*
Message type structure is
MT1 has 2 subnodes Header and Detail.
In my message type,there is no field identical in Header and Details. All fields are different.
(1) Is Key Field Name mandatory in this case ? If I am not giving Key field name,sender channel gives error. How to resolve it ?
(2) Input file comes from customer and in the input file there is no specific data to identify header and detail. 1st line shud be header and other lines shud be Detail ,they say. If no identification coming in incoming data,how can we set the key field name ?
rgdsHi SAP PI,
For this moment try this.
Let the file content is like this
03456451 TESTDATABC 7645649 8746464
12344 60042
45678 60043
You try reading the file like this
<MT_S>
<RECORDSET>
<ROW>
<field1>03456451</field1>
<field2>TESTDATABC 7645649 8746464</field1>
</ROW>
<ROW>
<field1>03456451</field1>
<field2>TESTDATABC 7645649 8746464</field1>
</ROW>
<ROW>
<field1>03456451</field1>
<field2>TESTDATABC 7645649 8746464</field1>
</ROW>
</RECORDSET>
</MT_S>
FCC is like this
Document Name : MT_S
Document Namespace: "put name space here"
Recordset Name: RECORDSET
Recordset Structure: ROW,*
ROW.fieldNames field1,field2
ROW.endSeparator 'nl'
ROW.fieldSeparator 0x20
Once you get this in mapping use a simple UDF to ignore the first ROW values and read the rest.
Populate the target structure from the output of UDF for each field value.
Please let me know if you need the uDF and further mapping for this.
Regards
Anupam -
File Content Conversion doesn't pull file
Hi all,
I have a Comm Channel using File Content Conversion - it does not pick up the file (no message in msg monitor). If I copy the Comm Channel, turn off File Content Conversion, and change the Sender Agreement to use the copied Comm Channel, the file is picked up and a message appears in the message monitor.
Any ideas? Does File Content Conversion expect certain file names/types/etc...?
Also, side question - when I change the sender agreement (or anything else in the CD), SXI_CACHE shows "Unable to refresh cache contents" with various errors, one of them being "LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM"; another said something about IF_HTTP_.. HTTP Communication error or something.
I'll do more searching on this on and post a new topic if necessary...
Thanks,
BrianI'll try setting those logging settings (don't have access).
In the meantime, here is my content conversion:
Content Conversion info - converting a 3 line type flat file to XML
Example of file layout:
H060412
IC11030416 Example yada yada EA 110137
IC11030417 Example yada yada EA 131206
T000002
>First letter is key field RecType (H=header, I=detail, T=trailer)
Doc name: Material <--msg type
Doc ns: urn:......
Doc offset: <blank>
RS name: Material <--data type
RS ns: <blank>
RS struc: Hdr,1,Dtl,*,Trl,1
RS seq: ascending
RS/msg: 1
Key field: RecType
Key type: String case-sensitive
Hdr.fieldFixedLengths 1,6
Hdr.endSeparator 'nl'
Hdr.fieldNames RecType,GteamsDate
Hdr.keyFieldValue H
Dtl.fieldFixedLengths 1,1,18,20,4,6
Dtl.endSeparator 'nl'
Dtl.fieldNames RecType,ActivityInd,CatalogNum,Description,UOM,ProductClass
Dtl.keyFieldValue I
Trl.fieldFixedLengths 1,6
Trl.endSeparator 'nl'
Trl.fieldNames RecType,RecCount
Trl.keyFieldValue T
Brian -
Problem with file content conversion for multiple substrcture. Please help!
Hi Experts,
I am using file content conversion in file sender communication channel. The input file is a flat file with data like this:
A01 AA8I0NBVDA 20090704 84900
A02 AA8I0NBVDA 20090704 84900
A03 AA8I0NBVDA 20090704 84900
I want the data in sender side after content conversion to be like this:
<ns:Receive_Schedules xmlns:ns="http://mynamespace">
<ScheduleData>
<line>A01 AA8I0NBVDA 20090704 84900</line>
<line>A02 AA8I0NBVDA 20090704 84900</line>
<line>A03 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
</ns:Receive_Schedules>
I have tried many options in file content conversion but getting the data like this:
<ns:Receive_Schedules xmlns:ns="http://mynamespace">
<ScheduleData>
<line>A01 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
<ScheduleData>
<line>A02 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
<ScheduleData>
<line>A03 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
</ns:Receive_Schedules>
Following are the settings/properties have configured in content conversion:
Document Name Receive_Schedules
Document namespace http://mynamespace
Document Offset <no value>
Recordset Name <no value>
Recordset namespace <no value>
Recordset structure ScheduleData,*
Recordset sequence Ascending
Recordsets per message 1
Key field Name <no value>
Key Field Type String
ignoreRecordsetName true
ScheduleData.endSeparator 'nl'
ScheduleData.fieldNames line
ScheduleData.fieldSeparator 'nl'
How to get the desired message? What changes I need to do in content conversion settings? Please help!
thanks
Gopal
Edited by: GOPAL BALIGA on Jul 1, 2009 12:11 PMHi Ranjan,
My structure is like what you ahve defined.
scheduledata...1.1
...line....0...Unbound
I also tried the parameters you gave but still getting the same.
<ns:Receive_Schedules xmlns:ns="http://mynamespace">
<ScheduleData>
<line>A01 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
<ScheduleData>
<line>A02 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
<ScheduleData>
<line>A03 AA8I0NBVDA 20090704 84900</line>
</ScheduleData>
</ns:Receive_Schedules>
Following are the settings/properties have configured in content conversion:
Recordset structure ScheduleData,* -
> Is the value correct?
Recordset sequence Ascending -
> Is the value correct?
Recordsets per message 1 -
> Is the value correct?
ignoreRecordsetName true
ScheduleData.fieldSeparator nl
ScheduleData.fieldNames line
ScheduleData.endSeparator nl
Edited by: GOPAL BALIGA on Jul 2, 2009 5:28 AM -
Sender File Adapter - File Content Conversion
Hello,
i do have a problem with the file content conversion at the sender file adapter.
I have configured the file content conversion with key field defined
keyfield: key
recordsetstructure is set as head,1,item,*
head.fieldSeparator |
head.beginSeparator |
head.endSeparator |
head.keyFieldValue H
head.fieldNames key,....
item.fieldSeparator |
item.beginSeparator |
item.endSeparator |
item.keyFieldValue I
item.fieldNames key,....
When i run it like this it will not read since it has a problem to identify the key fields.
When ever i change the whole logic to be not based on fieldseparator but on fixed length, everything is working perfectly fine.
but this unfortuantly doesn't help as i have no fixed structure for the rest of the fields.
also when i change the recordsetstructure to head,1,item,1 my file is also processed correctly, of corse only for the first line, it at least tells me that the file structure is correctly defined.
Can anyone help why the identification for the keyfields doesn't work with field names and separator but in the same set up with fixed lengths ?
thanks a lotHello All,
thanks for the helpful answers.
So i tried Jayan tip and removed the begin Separter.
Unfortuantly my file is really looking like this |H|...|...| for the header record
and for the item record |I|...|...| ( this was an" I" like in Item ...
In my opinion this means i really do have a begin seperator which is the same like the field separator.
When i removed it from both the file and the config it started to work.
So i wrote an java function which will trow away the first digit in this case and integrated it in my szenario.
So that when this file is read there is no | as a begin flag anymore.
And the whole thing starts to work, this sounds more like a bug then a feature but anyway i am happy.
so thanks a lot
Tina -
File content conversion - sender adapter for Header and detail records
Hi Experts,
I am receiving a field of fixed length content format.(Header)The first line of the file will follow the structure X having some fields and (DetailRecord)subsequent lines in the file will follow structure Y having somes fields.There is no record identifier for Header and Detail records.In one file first line is Header records and remaining subsequent line is DetailRecord.What are the parameters we have to set for sender file content conversion parameters as i donot have any key field and key field value.And in one file we have only one header records ( first line) and n number of detail records from 2nd line onwards.
Thanks
DeepakHi
Refer the below fourm link,
Flat file whitout id
Regards
Ramg. -
File content conversion only 100 characters read from source..
Hi,
In my case I have a sender channel with file content conversion set as follows;
Recordset structure : Record, 1
sequence: ascending
Key field type : String (case sensitive)
record.fieldseparator : 'nl'
record.fieldnames : Data
ignorerecordsetname: true
Idea is in ECC, when a custom program is run, it reads the shipment data and builds an xml file with data in various nodes like;
<shipmentId>6767667</shipmentId>
<DelvText>hjysks sag fhdososlhfiof </DelvText>
Now all this data is converted to a single string entry under tag called <Data> and passed on to the third party system by PI using above conversion.
And the resulting file will have all the data like this;
- <Record>
<Data><?xml version="1.0" encoding="UTF-8"?></Data>
</Record>
- <Record>
<Data><ShipmentId>6767667</ShiomentId>.........</Data>
It so happens that the data that is populated in the <DelvText> by the program is lost during conversion. I get only first 100 characters in the resulting above mentioned XML after the file content conversion happens. rest of the string is lost. I can see all other data perfect except for this long text.
This is the data I enter in the delivery's header text under shipment instruction field. I debugged the program and see that the entire text is indeed filled but gets lost after the file conversion happens !!
What can be the reason ?
thnksStefan, I appreciate your concern, thanks. But this is an already working interface and I cannot change it and can only assist with minor data mapping changes and troubleshooting such issues.
Scenario is simple, ECC has to send shipment data to third party via PI.
The shipment data has to be sent as an XML file with a single <Data> tag as I showed to you earlier.
It is so weird that when I type my delivery text less than 100 characters I can see that in full text in my XML file but only when the text is more than 100 characters, the XML has only 100 characters and it is passed to the third party like that and so third party is consdering this as incomplete info.
Would help if you can think and let me kjow what may create this kind of an issue or if you can point me where to look for issues.
thnks -
Sender File Content Conversion Complexity
It is again time to dip into the well of knowledge that is SDN.
I have a question about sender file content conversion.
It appears that I can only create simple XML structures with it, but I'm hoping someone here can help.
Lets says I have a file where each record layout is the same. There are not header records, trailer records, etc. Basically only one structure within the recordset.
However the record itself may have a complicated structure. For example, the layout of each record may be:
String1, String2, String3, Array(0:3) consisting of String4, String5, String6.
Can I convert that to a structure of
<Node>
<string1>
<string2>
<string3>
<array>
<string4>
<string5>
<string6>
<array>
<string4>
<string5>
<string6>
</Node>
Or must I create a DT containing one node giving string4,5 and 6 a unique name for each occurance?
Thanks in advance.Hi,
You can go with generic structure and then either in the adapter module or Mapping, you can format the structure. Because content conversion has a limitation to upto one level.
check this for limitation-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
check this for generic structure-
/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
Rgds,
Moorthy -
Sender File Content Conversion. Pls suggest
Hi All,
I have to do the Sender File content conversion for the below file.
First Line is for Sender. Second Line is for Receiver. Third ,Fourth and Fifth lines are Invoice Numbers which can be more also.
The issue is coming that there is no Key Field defined for third ,fourth and Fifth line .
GB283032086 LANGFORD LODGE ENGINEERING
GB762702827 AIRBUS UK LIMITED
D58785 20030407 71.82
D58786 20030407 49.10
D58787 20030407 49.10
Pls let me know how will I do Sender File content conversion (to make it in XML) form.
RegardsHi Rachit,
In that case you can use temporary source structure to hold contents from the source flat file and using FCC you split the content by 'nl' and store it in one node (For rg:-<SDATA>) then using mapping you can map that to original source structure and then to target structure, here you need to use intermediate mapping (i.e two mappings) to archive the target structure.
Temp source structure
<SDATA>GB283032086 LANGFORD LODGE ENGINEERING </SDATA>
<SDATA> GB762702827 AIRBUS UK LIMITED </SDATA>
<SDATA>D58785 20030407 71.82 </SDATA>
<SDATA>D58786 20030407 49.10 </SDATA>
<SDATA>D58787 20030407 49.10 </SDATA>
Map the above to the actual source structure and the to target, hope it helps you to overcome your problem
[FCC for unequal entries|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0137316650DB10272139644103542695End?blog=/pub/wlg/2740]
[Key field problem|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0137316650DB10272139644103542695End?blog=/pub/wlg/3228]
Regards,
Prasanna
Edited by: PrasannaKrishna Mynam on Dec 1, 2009 8:14 AM
Edited by: PrasannaKrishna Mynam on Dec 1, 2009 8:17 AM -
EDI Flat file Content Conversion
Hi Experts,
I have got a question on File Content Conversion, Please have look the following structure, is it possible with FCC or what is the best possible solution for this, which is very big favour to me.
Some information about this structure,
This is EDI message in flat file structure, each segment has got 700 characters as a row, LIN item is repeating many times,
ST ,XQ , N1 , DTM, LIN, P04, N9,ZA , ZA ,ZA , etc are segments, LIN item is repeating, at the end CTT is last segment. Again from ST segment to CTT segment comes 3 more times.
ST 0000001 4444444
XQ H 20100531
N1 xxxxxxxx u 00000
N4 aaaaaaaa, kk xx87654
DTM600 20100531
LIN CB224790 HH002720033676 PP00027200336760 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA238.00000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP210.00000000000CT LJXX
ZA QS61.000000000000CT LJXX
ZA QW208.00000000000CT LJXX
LIN CB320275 SS004330033052 PP00043300330521 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA36.000000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP120.00000000000CT LJXX
ZA QS8.0000000000000CT LJXX
ZA QW36.000000000000CT LJXX
CTT00005300000000000000000000 00000000
ST 0000001 4444444
XQ H 20100531
N1 xxxxxxxx u 00000
N4 aaaaaaaa, kk xx87654
DTM600 20100531
LIN CB224790 HH002720033676 PP00027200336760 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA238.00000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP210.00000000000CT LJXX
ZA QS61.000000000000CT LJXX
ZA QW208.00000000000CT LJXX
LIN CB320275 SS004330033052 PP00043300330521 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA36.000000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP120.00000000000CT LJXX
ZA QS8.0000000000000CT LJXX
ZA QW36.000000000000CT LJXX
CTT00005300000000000000000000 00000000
Please I am really requesting you get appropriate answer and quick response please
Thanks in Advance
Regards
SandyaHi Suresh, Raj,
Thanks for quick reply, but we haven't got Seeburger Adapter in our landscape. Please one small clarification please this message looks to me, we can do with FCC, but i need some experties from you guys.
1. ST segment comes in one line with 700 characters - has got 5 fields 1..1 cardinolity
2. XO segment comes in another line with same length 700 ch, but 8 fields different lengths 1..1 cardinality
10 LIN segment comes in another line 700 characters, but 0..n
Can't we take structure as follows:
Header -- 0..n
SegID --- 1..1
field 2 -
1..1
field 3 -
1..1
field 4 -
1..1
field 5 --- 1..1
Row2 -
1..1
SegID -
1..1
field2 -
1..1
Row6 -
1..n (for LIN segment)
SegID --- 1..1
field 2 --- 1...1
Please can you give me your experties please??
Regards
Sandya -
File content conversion Testing
I would like to know method to test File Content Conversion to ensure it is read into the correct structure.
ThanksYou can do that by checking in the RWB->message monitoring, XI calling the file content conversion module.
If you have any doubts using the File Content Conversion, check
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm -
Preserve spaces in File Content Conversion
Dears colleagues,
we have a problem with the File Content Conversion in SAP PI 7.1
We send an IDOC from SAP to PI and a file to an external system. For example we have:
IDOC Z,
Segment S1 with fields
F1
F2
Segment S2 with fields
F3
F4
the mapping contains:
Z-S1-F1 --> File-Fiedl1 ( lenght 5 )
Z-S1-F2 --> File-Field2 ( lenght 5 )
Z-S2-F3 --> File-Field3 ( lenght 5 )
Z-S2-F4 --> File-Field4 ( lenght 5 )
If all the fields come filled the mapping it's ok and the result too, but if for example the second segment didn't come, the mapping it's ok ( no error in sxmb_moni ) but the result doesn't preserve the las 10 positions.
Any idea¿?
Thanks in advance.
JC.JC Says..
If all the fields come filled the mapping it's ok and the result too, but if for example the second segment didn't come, the mapping it's ok ( no error in sxmb_moni ) but the result doesn't preserve the las 10 positions.
Use the following parameters in your FCC..
<recordsetName>.fieldFixedLength = 5,5,5,5,5
Regards,
Madan Agrawal -
File content conversion: nodes have multiple occurence and is jumbled
Hi,
Here is one structure used in file content conversion.
Header
Dataline1
Dataline1
Dataline1
Dataline2
Dataline2
Dataline2
Header, Dataline1 and Dataline2 are nodes containing more than one fileds.
We have mentioned 'fieldSeparator', 'EndSeparator' and 'keyFieldValue' for each of the nodes Header, Dataline1 and Dataline2 .
Now the requirement has changed and the source file structure is as given below.
Header
Dataline1
Dataline2
Dataline1
Dataline2
Dataline1
Dataline2
Now with the same communication channel, the content conversion picks up only the first occurence of Dataline1, Dataline2 ie only this much
(Header
Dataline1
Dataline2)
is being picked or read.
The other occurences are lost, even though logically it should pick all of them, since 'keyFieldValue' is specified for each node..
Should I give any extra parameters in the communication channel for file content conversion.? or else what is the best way to proceedHi John !
Have you checked the recordset structure in the file content conversion parameters?? like "Header,1,Dataline1,,Dataline2, " to specifiy that it should be 1 header structure, N dataline1 and N dataline2 ??
Regards,
Matias.
Maybe you are looking for
-
Adding Images to a SQL Database
I'm using WAMP (courtesy of a community professional's reference), to build a database for a dynamic website (made in DW CS5). The database is meant to hold our inventory listings (name, description, price, etc). I want it to hold the product image
-
Where can i get applecare?
i was told by my verizon store when i got my phone back in october that i could buy applecare for my iphone after the fact. now that i'm ready to do so, i find out that it has to be purchased from apple within 30 days of getting the iphone. I've be
-
SQL Server Assertion: File: "logmgr.cpp" , line=5512
Hi All, We are using Sql Server 2005 Express , we got the below exception of Sql Server Assertion 2014-11-17 00:26:12.59 spid51 Error: 17066, Severity: 16, State: 1. 2014-11-17 00:26:12.59 spid51 SQL Server Assertion: File: <"logmgr.cpp">,
-
How do I delete a VIP Mail Box Apple Mail Yosemite
-
Hey there, im pretty new to java, and i've stumbled across a problem with one assignment. I need to "Save a ?snapshot? of the situation say every 10 generations in a binary file". I've tried to use what i know, but if anyone could give me some pointe