Problem in Receiver content conversion
Hi All,
I have idoc to flat file, where my reciever is flatfile.
I have a strucutre like below
Header-1.1
Item..1..unbounded.
footer..1..1,
As i am using PI 7.0 , my requirement is to repeat the item segment multiple times.
I am using fixedlengths, to achieve this i have followed like below.
RecordsetStrcture: Header,Item,Footer
Header.fieldFixedLengths:
Header.endSeparator:'nl'
same as for Item,footer..if i am using the above one i could not able to achieve to generate the item segment multiple times.if i give the item,*..it is throwing exception.
Can any one tell...how to achieve the requirement to generate teh item field multiple times.?
Regards,
Sekhar
can you any one tell me ..how do i mention item segment is occuring multiple times in the reciever content conversion.If only one segment is comming then the scenario is working but if the item segment is comming with multiple times, it is throwing error.
Can any one let me know how do we achieve this.
Regards,
Chandu.
Hi Chandu,
See this Thread Nested structur for receiver file content conversion
Here see the reply given by Arpit Seth . It is the same problem .
This is the exact solution to your Problem.
I think this is very helpful to you.
And Please gothrough this Blog... /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
Thanks.
Similar Messages
-
Problem with file content conversion in receiver file adapter
Hi All
I have a problem with file content conversion in receiver file adapter.
This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
These are the content conversion parameters:
Header_Record.fieldSeparator = ,
Header_Record.endSeparator = 'nl'
Claim_Record.fieldSeparator = ,
Claim_Record.endSeparator = 'nl'
Check_Rec.fieldSeparator = ,
Check_Rec.endSeparator = 'nl'
In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
But, Adapter status is RED with the following error message:
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
In communication channel monitoring, i get the following error message:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
What is going wrong here? Can anyone please tell me?
Thanks
ChandraPosted in Incorrect forum.
Posted again in Process Integration forum -
IDOC to flat File----Problem in File Content Conversion at receiver
hi experts,
I am doing a IDOC to flat file secnario.
My requirment is IDOCXI-Flat file
Format of flat file is like:--
Every segment in the IDOC will be converted into a single line of file(without any delimiter). So number of lines in flat file will be equal to number of segments in IDOC.
I am facing problem in File Content conversion.
Please help me out..
Thanks
JaideepCheck this doc...
[How To...Convert an IDoc-XML structure to a flat file and vice versa in XI 3.0 |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a] -
Problem in file content conversion from XML to CSV
Hi Experts,
I am finding problem in file content conversion. I need to convert the following XML file into CSV file:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_CROSS_REF xmlns:ns0="urn:dabur:idoc2file:pos">
<Update_type>2</Update_type>
<PLU>00000000</PLU>
<Cross_ref_PLU>7777777</Cross_ref_PLU>
<Capture_PLU />
<Package_size />
<Package_desc />
</ns0:MT_CROSS_REF>
The output file data has to be like:
2,00000000,7777777,,,,
The problem I am facing is while specifying the content conversion parameters in communication channel i dont know what recordset structure i should mention as all the records are directly under root. If I mention recordset structure as "ns0:MT_CROSS_REF" and parameters as
ns0:MT_CROSS_REF.fieldSeparator ,
ns0:MT_CROSS_REF.endSeparator 'nl'
i get error in communication channel monitoring and no file is posted.
Please help me as to what correct parameter i should mention in my case.
Thanks,
Regards,
YashHi Chirag,
I cannot change the xml file as it comes after mapping idoc to a message type. How can I add ROOT in the xml? My message type is like MT_CROSS_REF and it has those 6 fields as in the XML (Update_type, PLU etc.). I do the mapping of these fields from a IDOC and get the XML.
I hope you got my point.
Thanks,
Yash -
Problem with File Content Conversion
Hi All
I am facing a problem with file content conversion.
This is my sample file structure:
Header_Record (Occurance - 1)
Field1 in Header
Field2 in Header
Item(Occ-1 to n)
Field3 in Item
Field4 in Item
<<ItemType>> (Structure in Item) (Occ - 0 to n)
<<Field5>> in ItemType
<<Field6>> in ItemType
<<ItemTypeCategory>> (Structure in ItemType)(Occ - 0 to n)
<<<<Field7>>>> in ItemTypeCategory
<<<<Field8>>>> in ItemTypeCategory
Footer_Record (Occurance-1)
Field9
Field10
There is a key field 'Type' in all the above records with unique value in each record.
Now, I defined Field content conversion as follows:
Recordset Structure: Header_Record,1,Item, * , ItemType, * ,ItemTypeCategory, * ,Footer_Record,1
Recordset Sequence: Ascending
KeyField Name: Type
Following are parameters defiled:
Header_Record.Keyfieldvalue: 00
Header_Record.fieldseperator: ,
Header_Record.fieldnames: Field1,Field2
Header_Record.endseperator: 'nl'
Item.keyfieldvalue: 05
item.fieldseperator: ,
item.fieldfieldnames: field3,field4
item.endseperator: 'nl'
ItemType.keyfieldvalue: 10
itemType.fieldseperator: ,
itemType.fieldfieldnames: field5,field6
itemType.endseperator: 'nl'
ItemTypecategory.keyfieldvalue: 15
itemTypecategory.fieldseperator: ,
itemTypecategory.fieldfieldnames: field7,field8
itemTypecategory.endseperator: 'nl'
Footer.keyfieldvalue: 20
Footer.fieldseperator: ,
Footer.fieldfieldnames: field5,field6
Footer.endseperator: 'nl'
Now, i pass the following file:
00,111
05,222
10,333
15,444
20,555
What i expect out of my FCC is this (Sample output to show the hierarchy of field values):
00,111
05,222
<<10,333>>
<<<<15,444>>>>
20,555
But, I am getting this output (Hierarchy is missing. All the structures are in the same order without hierarchy):
00,111
05,222
10,333
15,444
20,555
Field values are being identified according to field content conversion, but, the hierarchy of the fields is missing.
Can you please tell me how should i change my FCC config?
Sorry for this long question.
Many Thanks
Chandra
Edited by: Chandra Sekhar H on Jan 30, 2009 7:10 PM
Edited by: Chandra Sekhar H on Jan 30, 2009 7:16 PM
Edited by: Chandra Sekhar H on Jan 30, 2009 7:17 PMYou will always get a flat structure from FCC. If you want hierarchichal strucuture, you have to create a target and map. You will get only like -
Root
--Recordset
Group1
Fields
Grop2
Fields
Group3
Fields
VJ -
Receiver File Adapter: Problem with NewLine Content Conversion Parameter
Hello Everybody
On our SAP-XI (SAP NetWeaver 2004s, sp14) I have the scenario to send a price catalogue (IDoc PRICECATALOGUE.PRICECATALOGUE02) from SAP R/3 as csv PRICAT file to a file share.
In the receiver communication channel I have defined
Message Protocol = File Content Conversion
using the following RecordSet:
RecordSet = HeaderRow,MainBody
One header row is followed by one or more main body rows. The csv PRICAT message format demands that there is an empty row (i.e. one carriage return) between header and main body and another carriage return after the last main body row:
<Header Row>
carriage return
<MainBody 1>
<MainBody 2>
carriage return
As content conversion parameters I tried to use NewLine ('nl') to create the carriage returns in the file:
HeaderRow.fieldSeparator = ,
HeaderRow.endSeparator = 'nl' " new line
MainBody.fieldSeparator = ,
MainBody.endSeparator = 'nl'
Using the settings I have been able to created the carriage return at the end of the file but not the one between header and main body.
As workaround I have used the following approach:
" Add the following XSLT mapping between header and body:
<SeparatorLine>
<value>
<xsl:value-of select=" '' "/>
</value>
</SeparatorLine>
RecordSet and parameters have been changed accordingly:
RecordSet = HeaderRow,SeparatorLine,MainBody
HeaderRow.fieldSeparator = ,
HeaderRow.endSeparator = 'nl'
SeparatorLine.fieldFixedLength = 0,0 " sic!
MainBody.fieldSeparator = ,
MainBody.endSeparator = 'nl'
Has anybody an idea why I failed to receive the first carriage return and has somebody a more elegant solution?
Kind Regards
UweHi,
Thanks for reply. I have already used 'nl'.
When i open into the notepad it is showing [] boxes rather then new line.
e.g. 1 [] 2 []
but when we open into wordpad it opens properly.
Customer wants when he opens in notepad it should show line by line.
e.g.
1
2
How should i convince to customer ? -
Problem with File Content Conversion (Receiver FIle Adapter)
Hi Experts,
I have following structure in receiver side:
MT_Test
F1
F2
F3
F4
Now I want a CSV file in target side in below format:
F1,F2,F3,F4
I have provided below config in receiver file adapter under content conversion tab:
Recordset Structure : MT_Test
MT_Test.fieldSeperator= ,
MT_Test.endSeperator= 'nl'
But this is generating blank CSV files in target directory..What might be the reason.. I have checked the msg in adapter engine, the XML file is correct and contains valid values for the fields..Its something like below:
<?xml version="1.0" encoding="UTF-8" ?>
<MT_Test>
<F1>Hai</F1>
<F2>Hello</F2>
<F3>Bye</F3>
<F4>Hi</F4>
</MT_Test>
I should get CSV file as
Hai,Hello,Bye,Hi
But I am getting a blank file with above said config parameters in content conversion tab.
What might be the reason for getting blank CSV files in target side???
Thanks,
AdiHi Adi,
>>My target structure in below format:
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_Test>
<F1>Hai</F1>
<F2>Hello</F2>
<F3>Bye</F3>
<F4>Hi</F4>
</MT_Test>
So, try to edit Data type and include hierarchy level above <F1>.
Finally your Target Structure will resembles like this.
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_Test>
<Structure>
<F1>Hai</F1>
<F2>Hello</F2>
<F3>Bye</F3>
<F4>Hi</F4>
</Structure>
</MT_Test>
FCC Parameters will be like this.
Structure.fieldSeparator = ,
Structure.endSeparator = 'nl'
Hope you were clear.
Thanks,
Siva. -
Problem in file content conversion, file 2 xml scenario
Hi,
Could some one help me in finding out the error in my file to xml scenario, please do consider the following things what I did for this scenario.
1.My sender file structure is flat file with , seperated 4 fields. On receiver end expecting xml file.
2.Did file content conversion at sender file adapter and given parameters as follows.
Document name : MT_FileInput
DocumentnameSpace : http://file/praveenworkshop
Recordset Name : DT_Record
Recordset Structure : DT_Row,*
KeyfieldType : String( default)
DT_Row.fieldnames : FirstName,LastName,City,PostCode
DT_Row.fieldSeparator : ,
DT_Row.processConfiguration: FromConfiguration
Dt_Row.endSeparator : 'nl'
3. I did check in Adapter Monitor that Both Sender and receiver adapter are showing green and It was showing 'Adapter is up and running: But no messages processed'
4. I did check the SXMB_MONI which was showing " Scheduled for Outbound processing"
5. In SXMB_MONI outbound processing payload was picking up the file and also inbound processing showing the same.
6. my source folder and destination folder are very simple c:/praveenfiles/input and c:/praveenfiles/output
files are source file praveen.txt and destination file praveenOP.xml
Please help me in finding out the error to see the output file in my output folder.Hi Praveen,
Hope these bloga are useful to you..
File content conversion sites
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Thanks,
Satya -
Problems in File Content Conversion
Hello,
I am trying to convert a text file to an XML using File Content Conversion in XI 3.0.
The incoming text file gets picked up but no message is sent and hence no message is received in the monitor.I get the following log-
<b>Success</b> Channel FILE_SENDER_XML_1: Entire file content converted to XML format
<b>Warning</b> Channel FILE_SENDER_XML_1: Empty document found. Proceed without sending message
<b>Success</b> File "C:\xi_public\i033066\dme_in.txt" deleted after processing
Can somebody help me on this
Thanks
SandeepHello,
I am not sure of why the empty Payload is created.
I have the following TXT file -
<b>LINE 1</b> 01 22 Sandeep ASKDJKLASD HDFC Bank 12342 asdasd 123569
<b>LINE 2</b> 02 22 Sagar 23123 ICICI 4234 ASDASD 254636 12304 ASDAsdqwe
<b>LIME 3</b> 03 22 1 12304
Ignore 'Lines' above.They are not part of the file.
I have given the following parameters -
<b>Document Name -</b> SampleMessageType
<b>Document Namespace -</b> http://sandeep/xi/bpm_example
<b>Recordset Name -</b> Header,Item,Trailer
<b>Recordset Namespace -</b> http://sandeep/xi/bpm_example
<b>Record Structure -</b> Header,,Item,,Trailer,*
<b>Recordset Sequence -</b> Ascending
<b>Key Field Name -</b> Record Type
<b>Key Field Type -</b> String(Case Sensitive)
<b>Header.fieldFixedLengths</b> 3,4,15,20,15,15,20,10
<b>Header.fieldNames</b> RecordType,RecordLength,CompanyName,CompanyAddress,BankName,BankCode,BankAddress,AccountNumber
<b>Header.processFieldNames</b> fromConfiguration
<b>Header.keyFieldValue</b> 01
<b>Header.lastFieldsOptional</b> YES
<b>Item.fieldFixedLengths</b> 3,4,15,20,15,15,15,10,6,10
<b>Item.fieldNames</b> RecordType,RecordLength,BeneficiaryName,BeneficiaryAddress,BankName,BankCode,BankAddress,AccountNumber,Amount,NoteToPayee
<b>Item.processFieldNames</b> fromConfiguration
<b>Item.keyFieldValue</b> 02
<b>Item.lastFieldsOptional</b> YES
<b>Trailer.fieldFixedLengths</b> 3,4,6,6
<b>Trailer.fieldNames</b> RecordType,RecordLength,TotalRecords,TotalAmount
<b>Trailer.processFieldNames</b> fromConfiguration
<b>Trailer.keyFieldValue</b> 03
<b>Trailer.lastFieldsOptional</b> YES
If I don't give these parameters then channel will give me errors.I don't know what other parameter to give to create a file.
I had tried the same thing with the following and it worked
<b>Document Name -</b> SampleMessageType
<b>Document Namespace -</b> http://sandeep/xi/bpm_example
<b>Record Structure -</b> Substr,*
<b>Recordset Sequence -</b> Ascending
<b>Key Field Name -</b> Record Type
<b>Key Field Type -</b> String(Case Sensitive)
<b>Substr.fieldFixedLengths</b> 3,4,15,20,15,15,20,10,3,4,15,20,15,15,15,10,6,10,3,4,6,6
<b>Substr.fieldNames</b> RecordType,RecordLength,CompanyName,CompanyAddress,BankName,BankCode,BankAddress,AccountNumber,RecordType,RecordLength,BeneficiaryName,BeneficiaryAddress,BankName,BankCode,BankAddress,AccountNumber,Amount,NoteToPayee,RecordType,RecordLength,TotalRecords,TotalAmount
<b>Substr.processFieldNames</b> fromConfiguration
<b>Substr.keyFieldValue</b> 01
<b>Substr.lastFieldsOptional</b> YES
But the problem here is my mapping has the Header,Item and Trailer as the structure names but he XML created here will be like
<?xml version="1.0" encoding="utf-8" ?>
- <ns:SampleMessageType xmlns:ns="http://sandeep/xi/bpm_example">
- <Recordset>
- <Substr>
<RecordType>21</RecordType>
<RecordLength>22</RecordLength>
<CompanyName>Sandeep</CompanyName>
<CompanyAddress>ASKDJKLASD</CompanyAddress>
<BankName>HDFC Bank</BankName>
<BankCode>12342</BankCode>
<BankAddress>asdasd</BankAddress>
<AccountNumber>123569</AccountNumber>
</Substr>
- <Substr>
<RecordType>02</RecordType>
<RecordLength>22</RecordLength>
<CompanyName>Sagar</CompanyName>
<CompanyAddress>23123</CompanyAddress>
<BankName>ICICI</BankName>
<BankCode>4234</BankCode>
<BankAddress>ASDASD 25463</BankAddress>
<AccountNumber>6 12304</AccountNumber>
<RecordType>AS</RecordType>
<RecordLength>DAsd</RecordLength>
</Substr>
- <Substr>
<RecordType>03</RecordType>
<RecordLength>22 1</RecordLength>
</Substr>
</Recordset>
</ns:SampleMessageType>
In this case my mapping fails
Thanks,
Sandeep -
Hi All,
I got below error while working with receiver file content conversion scenario.
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '2350' too long (>2 for 3. column) - must stop', probably configuration error in file adapter (XML parser error)'.
I have checked length and source element existence. Both are ok.. I have mapped multiple source elements and contstant values to one target element (The one which is getting error). All source elements are existed. Why am I getting the error?
Thanks inadvance.
Best Regards,
Ashok.Hi,
Below is the output xml data...
<BGR00>
<STYPE>0</STYPE>
<GROUP>2350RFFP2020</GROUP>
<MANDT>590</MANDT>
<USNAM>SAPBATCH1234</USNAM>
<START>12345678</START>
<XKEEP>1</XKEEP>
<NODATA>/</NODATA>
</BGR00>
Error is:
Column value '2350' too long (>2 for 3. column) - must stop', probably
configuration error in file adapter (XML parser error)'
GROUP is the 2nd column. But it is displaying error in 3rd column with GROUP data.. Does system considers BGR00(node) as a column?
Regards,
Ashok. -
Encoding problem after File Content Conversion
Hi SAP gurus!
we're about exporting debitor data via PI into CSV files. Therefore we use a mapping to an intermediate structure. In the receiver file adapter a file content conversion is done into the target CSV format.
We have a lot of data with eastern europe characters. Right after the mapping, everything is fine. All characters are processed correctly. After the file content conversion, the files written on the target system contain "?" instead of the special characters.
Does anybody have any hint to fix this problem? We already tried to change the "file.encoding" parameter, but hasn't helped.
Thanks in advance for your support!
Cheers,
MatthiasHello Satish,
thanks for your reply.
First, I have to explain, that the sender side isn't done by file adapter but IDoc adapter. So I cannot change the encoding on sender side.
Both on IDoc and file side, the data is ok. Only when inserting the file content converion, the files become corrupted.
Without using the FCC, tjhe target files are stored as UTF-8. When using FCC the files are stored as ANSI. (I tested this by opening the files in notepad and performing "Save As")
Do you have further ideas?
Cheers,
Matthias -
Problem with File content conversion and parameters
Hi experts,
What is the use of file content conversion that is available in file adapter? For what cases we can use it?
What do the different content conversion parameters mean?
Kindly help
Thanks
GopalHi,
We use the file content convertion to conver the flat file that is text file into XML,
File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
Check some links which will tell how the convertion is done.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if helpful -
Complex file receiver content conversion
Hi
My challenge is to change this xml structure to a flat file structure using content conversion in a file receiver adapter. My problem is, that I have a record within a record and both records can occur multiple times:
<statusUpdate_response>
<ProcessID/>
<SenderSystem/>
<Results>
<ResultList> (0..unbound)
<OKKode/>
<Reference/>
<Result/>
<ResultDetail> (0..unbound)
<TYPE/>
<ID/>
<NUMBER/>
</ResultDetail>
</ResultList>
</Results>
</statusUpdate_response>
Any suggestions?
Maybe some sort of xml flattener before doing the content conversion would do the trick, but then again how is that to be done?
BR MIkaela small trick might help - /people/shabarish.vijayakumar/blog/2010/01/14/file-conversion-using-nodeception
Also do read - /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts -
Trailing spaces problem during file content conversion
I have developed a proxy to file scenario.And am using file content conversion for creating the file. The file is to be a fixed length file.
File Structure
<Header>
<Item>
<Item Trailer>
<File Trailer>
Each tab in the file has the last character mapped to spaces.
Eg: Header00000001 2006011700000000020060<blank space>
Item00000001 2006011700000000020060<blank space>
The problem is that during file content conversion. XI does not preserve trailing spaces at the end of the line i.e.if a particular line in the file ends with space. It terminates the line at the last non-space character (in this case at 060).
However we are required to maintain these trailing spaces at the end of each line.
I have tried preserve white space in data type that does not work.
I know that xslt mapping may solve the problem but I am looking for a workaround with my current graphical mapping.
Looking for suggestions !!
Thanks,
RashidaHi,
I have the problem quite opposite to this where we are getting the trailing spaces at end of each record which should not come.
File structure is
<Record>
- <Data>
<Content>11/09/2007@210@ZACSL007@GBB-56436@PS01@29@1044@19@646@0</Content>
</Data>
</Record>
............. n records
<Header>
<File_Name>UK01</File_Name>
</Header>
Record structure in communication channel used is
Header, Data
Data.fieldFixedLengths 1024
Data.addHeaderLine 0
Header.addHeaderLine 0
Header.fieldFixedLengths 0
Header.fixedLengthTooShortHandling Cut
Data.fixedLengthTooShortHandling Cut
Header.endSeparator '0'
Actually if the length of record is less than 1024, rest of the length is being filled with spaces which should not occur.
Many advanced thanks.
Jitender -
Strange Problem with File Content Conversion (Sender)
Hi,
I have a strange problem. I have a sender file adapter with content conversion (csv -> xml). The adapter produces the following error during the processing...
- 2006-02-06 16:34:00 CET: Error: Conversion of part of file content of 'OE_Extractor_47_ISW112_SC-Ireland.csv' to XML format failed around position 1202: IOException: Stream closed
After the 4th or 5th try the adapter processes the file correctly.
Why does it works after several tries and not at the first time? (The file is not changed during the adapter is trying to convert it)
Thanks
ThomasI found the problem, something was wrong with the ftp server
Maybe you are looking for
-
Problems with project when switched from Labview 8.2.1 to Labview 10
Hi everyone, I recently switched from Labview 8.2.1 to Labview 10. Before I can run the project I get the error which you can see in the attachment. (The project is running well in Labview 8.2.1) I did already check if variables end with a space, but
-
The parents material lot size is fixed lot size , child component lot size is 2 week lot size. ( ie. 2 week = 10 Days ). question: If the demand for parent material in month,after MRP run the dependent requirement for child component also getting ge
-
Use of XPath 2.0 in XSLT plugins
Hi I need to use the upper-case XPath function in a XSLT. This function is available in XPath 2.0. I set the stylesheet version="2.0" and is works fine when I test the xslt in Editix before I deploy it. The Saxon parser installed with OSM 7.0.1 suppo
-
Need help syncing photos.
Ok first off let me say I have a new iPod Nano 2GB. Ok this isn't ordinary so please don't post the link to that photo help thing. This is different. Ok so this is what shows up when I try syncing my photos: "The iPod cannot be updated because there
-
Total newbie question... Just need some help.
I am wondering how to change a header and have all my sheets (yes, using a template) reflect that change. Also, I made a team roster and I am wondering how to have all my sheets (stats for players) reflect the roster I created. Simple name stuff. Tha