FCC endseparator problem ?
Hi All,
I am doing FCC on a file where records are seoparated with , and the last record is seperated with # so Iam giving fieldSeparator as ',' and endsepartor as '#' but the end separator is not working and it is failing saying that csv file contains more fields than specified .
However when I am giving single record I am able to run the same.
Also multiple records with End separator as 'nl' is working but I ahve to change the file replacing '#' with 'nl'
I amnot able to solve this problem urgent help is required
regards
Hi Sarvesh ,I tried this also but not working .
My file structure is like this :
276,2/1/2007,10:48:36,Access-granted,203,12,02-02-Recpection-Exit,5,PRAMOD-KUMAR-RAJARAYA,65:00120l$277,2/1/2007,10:49:04,Access-granted,203,12,01-02-Recpection-Entrance,5,SANDEEPIKA-SEHGAL,65:00140N$
And my parameters are like this :
Record.fieldNames =Sequence,Date,Time,EventMessage,EventNumber,Obj1,ObjDesc1,Obj2,EmpName,CardNumber
Record.fieldSeparator=,
Record.endSeparator =$
Regards
Similar Messages
-
Hi,
This is my source file format.
"abc","asdf","1212","2323"
Source File Structure:
EAN
MaterialNo
Plant
MaterialDesc
I have just created a sender communication channel and given these parameters in the content conversion.
RecordSetName: ProcOrdRecs
RecordSetStructure: ProcOrdRecs,*
RecordSetSequence: Ascending
ProcOrdRecs.fieldSeparator ','
ProcOrdRecs.endSeparator "'0x0D''0x0A'
ProcOrdRecs.beginSeparator "
ProdOrdRecs.fieldNames EAN,MaterialNo,Plant,MaterialDesc
I am unable to start the channel itself as it gives me the following error
Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'ProcOrdRecs.fieldNames': no value found
Though I have provided the field names, still it gives me the same error. I checked the spelling and number of fields and it seems quite ok.There was a problem with extra space associated in the field names.
-
Receiver FCC: endSeparator now working
Hi,
I am having an issue while doing file content conversion at receiver side.
My XML structure is as below:
<ROOT>
<MASTER>
<DATA1>data1</DATA1>
<DATA2>data2</DATA2>
</MASTER>
<MASTER_DETAIL>
<DATA3>data3</DATA3>
<DATA4>data4</DATA4>
</MASTER_DETAIL>
<MASTER>
<DATA1>dataA</DATA1>
<DATA2>dataB </DATA2>
</MASTER>
<MASTER_DETAIL>
<DATA3>dataC</DATA3>
<DATA4>dataD</DATA4>
</MASTER_DETAIL>
</ROOT>
Now entries in Receiver FCC were
ROOT,MASTER,MASTER_DETAIL
MASTER.fieldSeparator=|
MASTER_DETAIL.fieldSeparator=|
MASTER.endSeparator='nl'
MASTER_DETAIL.endSeparator='nl'
ROOT.endSeparator='nl'
ROOT.fieldSeparator='nl'
Output got:
data1|data2|data3|data4
dataA|dataB|dataC|dataD
Expected output :
data1|data2
data3|data4
dataA|dataB
dataC|dataD
Please let me know what to specify?
Regards, Anirudh
Edited by: Anirudh Vyas on Sep 17, 2008 3:05 PMProblem solved!
I was supposed to do 2 stage mapping to map the parent and child segment of Idoc to Parent and child XML structure and then do mapping to have parent and child nodes as siblings of ROOT.
As below
MAP1: Idoc to XML1
MAP2: XML1 TO XML2
XML1:
<ROOT> *
<MASTER>
<DATA1>...</DATA1
<MASTER_DETAIL>*
<DATA3>...</DATA3>
</MASTER_DETAIL>
</MASTER>
</ROOT>
XML2:
<ROOT>*
<MASTER>
<DATA1>...</DATA1>
</MASTER>
<MASTER_DETAIL>
<DATA3>...</DATA3>
</MASTER_DETAIL>
</ROOT>
I was doing content conversion with XML1.
I didn't add MAP2 in interface mapping.
Now my output is as expected.
Thank you all for your help.
regards,
Anirudh. -
File Content Conversion (Sender) endSeparator Problem
Hi
i have a flat file like this:
fieldA;fieldB;fieldC;fieldA;fieldB;fieldC;fieldA ...
recordset structure: FIELDS,1
recordset per msg: *
parameters:
FIELDS.fieldNames = fieldA,fieldB,fieldC
FIELDS.fieldSeparator = ;
FIELDS.endSeparator = ;
if i change the endSeparator to 'nl' and then changeing the input file to this:
fieldA;fieldB;fieldC
fieldA;fieldB;fieldC
fieldA ...
it works. i already tried to use another endSeparator like this:
fieldA;fieldB;fieldC:fieldA;fieldB;fieldC:fieldA ...
but it doesn't work. it seems like the adapter is only using 'nl' endSeparator, no matter whats the parameters say.
the error in adapter monitoring:
Error: Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 1 according to structure 'FIELDS':java.lang.Exception: ERROR in configuration: more elements in file csv structure than field names specified!
i already tried to use hex separators and found the following thread (best matching tread):
anyone has an idea? Thanks a lot.
Regards
J.
Message was edited by: Jörg Pieper
Message was edited by: Jörg PieperHi
this doesn't work
Regards
J. -
Hi all
My input text file is like this.
KAC v1 v2 v3 v4
5640 v51 v61 v71 v81
5640 v52 v62 v72 v82
5640 v53 v63 v73 v83
5640 v54 v64 v74 v84
which is a tab separated file.
Here I row is header field and Remaining Rows are Item values.
In this case what to set the keyfileld since header and body fields are different?Hi Gabriel,
One workaround for this issue is in your record set structure you can give as header,1,Item,9999999. Here you are saying item will repeat 9999999 these many number of times. You can check with your legacy users or functional users till date the maximum number of records in a peak time. I dont think you will have more than this. If you want you can add one or two more 9s after checking with them. Please put the maximum number always to be on the safer side.
Then you should give this content conversion parameters:
Document Name: record (in my example i took like this you can change according to your message type)
Document Namespace:http://gabriel/demo
Recordset Namespace:http://gabriel/demo
Recordset Structure: header,1,Item,9999999
header.fieldSeparator: tab or five spaces
header.endSeparator:'nl'
Item.fieldSeparator:tab or five spaces
Item.endSeparator:'nl'
ignoreRecordsetName:true
header.fieldNames:header1,header2,header3,header4,header5
Item.fieldNames:Item1,Item2,Item3,Item4,Item5
I just tested with this parameters and it is working. The xml we see in moni before message processing is:
<?xml version="1.0" encoding="utf-8"?>
<ns:record xmlns:ns="http://gabriel/demo">
<header>
<header1>KAC</header1>
<header2>v1</header2>
<header3>v2</header3>
<header4>v3</header4>
<header5>v4</header5>
</header>
<Item>
<Item1>5640</Item1>
<Item2>v51</Item2>
<Item3>v61</Item3>
<Item4>v71</Item4>
<Item5>v81</Item5>
</Item>
<Item>
<Item1>5640</Item1>
<Item2>v52</Item2>
<Item3>v62</Item3>
<Item4>v72</Item4>
<Item5>v82</Item5>
</Item>
<Item>
<Item1>5640</Item1>
<Item2>v53</Item2>
<Item3>v63</Item3>
<Item4>v73</Item4>
<Item5>v83</Item5>
</Item>
<Item>
<Item1>5640</Item1>
<Item2>v54</Item2>
<Item3>v64</Item3>
<Item4>v74</Item4>
<Item5>v84</Item5>
</Item>
</ns:record>
When you put tab if it dont work then nab the tab as mentioned in this blog:
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
Regards,
---Satish -
Receiver File content conversion problem with newline separator
Hello Experts,
My scenario is IDOC To file..At output we are generating an csv file wherein we have got records in new line.
somethng like these..
ITEM1,ITEM2,ITEM3
ITEM1.ITEM2,ITEM3.
But when i open these csv file using notepad,we are getting records in same line.
i.e item1,item2,item3item1,item2,item3
Also we have specify in FCC,endseparator value as 'nl'
My target structure is somethng like these,
MT_PRODUCT_MASTER
-Product master
-item1
-item2
Pleasee advise.What is exactly parameter that you have set on channel?
endSeparator = 'nl'
NameA.endSeparator
If you enter a character string here, the system adds it to the last column as a closing character. You can also make this specification in addition to NameA.fieldFixedLengths. To include a line break following the closing character, you must explicitly define it by attaching ´nl´ (including the quotation marks) to the string. -
Hi All,
Is it possible to use Payload Zip bean module in Receiver File Adapter with File Content Conversion option?
Iam getting the below error when iam trying to enable the communication channel with with Message Protocol as FCC and using AF_Modules/PayloadZipBean bean together.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)': java.lang.Exception: Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)'
However when i run the same scenario with the below single options, the interface is working fine
Message Protocol: File; Module:AF_Modules/PayloadZipBean -->Worksfine
Message Protocol: File Content Conversion; Module: None -->works fine
From the Audit Log data, it's showing that the channel is trying to zip the file first and then its trying to do the FCC (its erroring out at this stage) when enabling both Zipping and FCC functions together.
Any idea's on how to enable both these options together??
Thanks
PradeepHi Pradeep,
Yes u r correct that if u specify both the payloadXipBean and FCC, this problem will arise.
The reason is that the sequence of processing of the inbound payload.
So what i suggest is, in receiver communication channel please change the sequence of processing of adapter modules., once and check it.
first put the File then the AF_Modules/PayloadZipBean.
It will work,not a problem.
If still problem exists pl do post the prblm.
Babu -
Mapping problem due to FCC in sender file adapter
Hi All
I am doing File( Flat File ) to RFC Scenario.it is working fine..
the problem comes in mapping with multiple records.
FCC at sender file adapter is used
my Data Type are :
Source DT Target RFC import parameter(table).
E2ED20* ITEM*
KEY VBELN
VBELN POSNR
E2E24* CHARG
KEY
POSNR
CHARG
<b>*->>multiple occurence
E2ED20 and E2E24 are 2 segment ,KEY is used in FCC to identify E2EDL20 & E2EDL24</b>
My source text file is like this :
E2EDL20 0200
E2EDL24 xyz
E2EDL20 0201
E2EDL24 abc
E2EDL24 efg
E2EDL24 mln
E2EDL20 0202
E2EDL24 gty
so the payload should be :
0200 xyz
0201 abc
0201 efg
0201 mln
0202 gty
in <i>FCC ignoer record set= true</i>
otherwise is not called...
i try to use split by value & use oneasmany , not helpfull.
in message mapping when i checked th field VBELN -> display queue
i am getting an array 0200
0201
0202 in white fields
thanks & regards
Ashutosh Rawat<b>Source payload</b>
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_MATNO_FILE xmlns:ns="urn:abc:xxx">
- <E2ED20>
<KZ>E2EDL20</KZ>
<FIELD1>020</FIELD1>
<b><VBELN>0083662685</VBELN></b>
</E2ED20>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900001</POSNR>
<CHARG>1078629</CHARG>
<LFIMG>3200</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900002</POSNR>
<CHARG>1078630</CHARG>
<LFIMG>1895</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900003</POSNR>
<CHARG>1079145</CHARG>
<LFIMG>1883</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900004</POSNR>
<CHARG>1079146</CHARG>
<LFIMG>3195</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
- <E2ED20>
<KZ>E2EDL20</KZ>
<FIELD1>020</FIELD1>
<b> <VBELN>0083662648</VBELN></b>
</E2ED20>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900011</POSNR>
<CHARG>1001450</CHARG>
<LFIMG>2946</LFIMG>
<MEINS>8PC</MEINS>
</E2E24>
- <E2ED20>
<KZ>E2EDL20</KZ>
<FIELD1>020</FIELD1>
<b> <VBELN>0083673936</VBELN></b> </E2ED20>
- <E2E24>
<KZ>E2EDL24</KZ>
<FIELD2>020</FIELD2>
<POSNR>900012</POSNR>
<CHARG>1073953</CHARG>
<LFIMG>2458</LFIMG>
<MEINS>PCE</MEINS>
</E2E24>
</ns:MT_MATNO_FILE>
<b>at target what required is</b>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900001</POSNR>
</item>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900002</POSNR>
</item>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900003</POSNR>
</item>
<item>
<b><VBELN>0083662685</VBELN></b>
<POSNR>900004</POSNR>
</item>
<item>
<b><VBELN>0083662648</VBELN></b>
<POSNR>900011</POSNR>
</item>
<item>
<b><VBELN>0083673936</VBELN></b>
<POSNR>900012</POSNR>
</item>
in Sender FCC
E2ED20.fieldFixedLengths 7,76
E2ED20.fieldNames KZ,VBELN
E2ED20.keyFieldValue E1EDL20
E2ED20.endSeparator 'nl'
E2E24.fieldFixedLengths 7,24,13,7,3
E2E24.keyFieldValue E1EDL24
E2E24.fieldNames KZ,POSNR,CHARG,LFIMG,MEINS
E2E24.endSeparator 'nl'
ignoreRecordsetName true
source file is already there...
Message was edited by:
ashutosh rawat -
Problem in Sender File Adapter using FCC with Variable structure
Hi Experts,
Hi Experts,
I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
Recordset per message == *
Key Field Name == Key
(Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
HEADER.fieldSeparator ,
HEADER.endSeparator u2018nlu2019
HEADER.fieldNames Key,x,y,zu2026
HEADER.keyFieldValue 1
HEADER.keyFieldInStructure ignore
HEADER.fieldContentFormatting trim
HEADER.additionalLastFields ignore
HEADER.missingLastFields ignore
DATA.fieldSeparator
DATA.endSeparator
DATA.fieldNames
DATA.keyFieldValue
DATA.keyFieldInStructure
DATA.fieldContentFormatting
DATA.additionalLastFields
DATA.missingLastFields
Using same variables for Trailer record as well.
Source CSV file which i am picking:-
ADSE ,RASD,replan Contact ,2 0080509 0 8:43:25 ,
EMPL ,0011111, S Top Up ,20080401 ,20080430 ,sdf , 00000000431250 ,2007 , , , , , ,20080414 18:07:35,
EMPL ,0222222, r Cash Award ,20070701 ,20070703 ,ded , 00000000023509 ,2007 , , , , , ,20080414 18:09:31,
EMPL ,0233333, Cash Award ,20070801 ,20070831 ,df , 00000000044057 ,2007 , , , , , ,20080414 18:10:56,
EMPL ,0244444, Cash Award ,20080101 ,20080111 ,sf , 00000000026717 ,2007 , , , , , ,20080414 18:08:29,
BTRL , 5140,
When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
Kindly help me in solving this problem.
Thanks,
Aditya VermaHi Madan,
Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
ADSE ,ASDA,Sha replan Fr ont Feed Contact ,2 0080509 0 8:43:25 ,
EMPL ,0011111, Cash Top Up ,20080401 ,20080430 ,TPV , 00000000431250 ,2007 , , , , , ,20080414 18:07:35,
EMPL ,0222222, r Cash Award ,20070701 ,20070703 ,TPV , 00000000023509 ,2007 , , , , , ,20080414 18:09:31,
EMPL ,0233333, r Cash Award ,20070801 ,20070831 ,TPV , 00000000044057 ,2007 , , , , , ,20080414 18:10:56,
EMPL ,0244444, Cash Award ,20080101 ,20080111 ,TPV , 00000000026717 ,2007 , , , , , ,20080414 18:08:29,
EMPL ,0255555, Cash Award ,20080301 ,20080320 ,TPV , 00000000027870 ,2007 , , , , , ,20080414 18:08:25,
EMPL ,0266666, Cash Award ,20071001 ,20071020 ,TPV , 00000000020681 ,2007 , , , , , ,20080414 18:09:31,
EMPL ,0877777, Cash Top Up ,20080401 ,20080430 ,TPV , 00000000036000 ,2007 , , , , , ,20080414 18:07:05,
EMPL ,0888888, Leaver Cash Award ,20071201 ,20071231 ,TPV , 00000000157200 ,2007 , , , , , ,20080414 18:11:29,
EMPL ,0899999, S Leaver Cash Award ,20080301 ,20080331 ,TPV , 00000000153530 ,2007 , , , , , ,20080414 18:07:42,
EMPL ,0800000, S Leaver Cash Award ,20070701 ,20070731 ,TPV , 00000000012234 ,2007 , , , , , ,20080414 18:08:34,
BTRL , 5140,
This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
Thanks a lot,
Aditya. -
FCC problem: Empty document found. Proceed without sending message
Hi all,
I am doing FCC to FCC scenario.
In that I am getting the following message in Communication channel Monitoring.
<b>Channel CC_File_FILBAS009_Sender</b>: Entire file content converted to XML format
<b>Channel CC_File_FILBAS009_Sender</b>: Empty document found. Proceed without sending message
File "/temp/xidelivery/send/FILBAS009_input.txt" archived after processing
and My File structure is as follows..
RS
-HEADER
Field1
Field2
Field3
-DATA
Field4
Field5
Field6
-TRAILER
Field7
Field8
Field9
FCC Parameters are:
RecordsetName : RS
HEADER.fieldFixedLengths : 5,1,5
HEADER.fieldNames : Field1,Field2,Field3
HEADER.keyFieldName : Field2
HEADER.keyFieldValue : 'H'
HEADER.endSeparator : 'nl'
In the same way I gave conversion parameters to DATA and TRAILER also.
Can any one tell me what is the problem?
Regards,
Pavanihi pavani,
excuse me about my previous reply.
I was just checking your FCC parameters. I see fieldseparator missing and also is it possible to paste sample input data.
I fieldsepartor is also not necessary since you have fiexedlengths. Since you say FCC to FCC and you paste the receiver FCC parameters
regards
Ramesh P
Message was edited by:
Ramesh P -
Comma problem in receiver file FCC csv file
Hi,
We had a problem with CSV conversions in file adapter.Our scenario is: Proxy>Xi>FCC(csv)
<?xml version="1.0" encoding="utf-8" ?>
- <n0:RDM_OrganizationalStructure_MT_OB xmlns:n0="ness.com:RDM_ORGANIZATIONALSTRUCTURE" xmlns:prx="urn:sap.com:proxy:DV3:/1SAI/TAS9B35FF35521A19F6CBEE:701:2009/02/10">
- <row>
<KTEXT>Information,Technology</KTEXT>
<KTEXT>"Information, for internal use only" </KTEXT>
</row>
</n0:RDM_OrganizationalStructure_MT_OB>
In O/P csv file the filed KTEXT is spiting as Information onecolumn and Technology in the next column.
for avoiding this i conceited with " (double-quote) on both the sides to the KTEXT filed. so the Information,Technolg is appending in the same column. Its fine,
but for the second record from the source side itself the its getting as "Information, for internal use only"
so this it is spliting and appending in the next column. in 1st column Information and in the 2nd for internal use only. i want to append this in 1st column as "Information, for internal use only"
how to resolve this issue for appending the record in the same column?
and also i want to know why " is not inserting in csv file.
My Fcc conversion parameters are
record Structure: row
row.addHeaderLine: 1
row.headerLine: Code,Name,Description
row.fieldSeparator: ,
row.endSeparator: 'nl'
pls advice how to overcome this problem
Thanks
VankadoathHi Vanka,
In O/P csv file the filed KTEXT is spiting as Information onecolumn and Technology in the next column. for avoiding this i conceited with " (double-quote) on both the sides to the KTEXT filed. so the Information,Technolg is appending in the same column. Its fine,
To make it in the same column, you put it into double quotes.
"Information,Technology" -->> Information,Technology
but for the second record from the source side itself the its getting as "Information, for internal use only" . so this it is spliting and appending in the next column. in 1st column Information and in the 2nd for internal use only. i want to append this in 1st column as "Information, for internal use only"
As this already has double quotes, you need to use 2 more double quotes to escape that.
"""Information, for internal use only""" -->> "Information, for internal use only"
Regards,
Sunil Chandra -
Problem with FCC @ Receiver Side (Reg., Shab's FCC blog)
Hi,
I have gone through the shab's FCC blog...https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3228. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
I have configured the same in sender communication channel its working fine.
And have configured the FCC @ Reciver communication channel also with the following parameters.
RecordStructure= Header,Body,Trailer
Header.fieldSeparator = ,
Header.endSeparator= 'nl'
Body.fieldSeparator = ,
Body.endSeparator= 'nl'
Trailer.fieldSeparator = ,
Trailer.endSeparator= 'nl'
And, when I ran this interface its generating blank output file. So, what would be the problem
Can anybody can help me for the same....
Thanks n Advance.,
AbhiHi,
Refer this..
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
vasanth -
hi guys,
im having a problem using FCC in reciever file adapter.
in receive an XML like this:
header
....details
....details
....details
header
....details
....details
....details
header
taking reference of this blogs i traying to do my conversion
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
the diference between the blogs and my case refer i don have field separator y use <xml>.fieldFixedLengths
my conversion is next:
Recordset Structure: Header,Details
Details.beginSeparator.........'nl'
Details.fieldFixedLengths........1,10,10,50,16,13,5,15,15,15,15
Details.fixedLengthTooShortHandling.......Cut
Details.endSeparator............'nl'
Header.fieldFixedLengths............1,4,10,4,8,35,16,18,5,5
Header.endSeparator...............'nl'
ussing this Conversion im getting next error:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '123456789 ')', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '123456789 ')', probably configuration error in file adapter (XML parser error)'
now, ussing the same conversion but changging the result structure to
header
header
header
details
details
details
details
i dont have any error in conversion. my question is Why?? what wrong in first case??? the error say: more fields found in XML structure than specified in conversion parameters but the numbers of field defined is right because in the second case it works.
Thanks,
Rodrigoi try ussing field names too but i get the same error. i cannot remove context the structure i must generate is:
header
...detail
...detail
header
...detail
...detail
...detail
another thing i facing. if i repace the <xml>fieldFixedLengths for <xml>fieldSeparator no error and the result file is i am specting but with a field separator wich shouldnt be. i tryed use:
header.fieldSeparator .......# '0x08' (backspace) but the result structure is
field1#
field2#
field3#
its putting and enter and no a backspace.
Edited by: Rodrigo Pertierra on Jun 18, 2008 12:47 PM -
Problem in Archiving File From FTP Server to XI File Server Using FCC
Hi,
The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server. Archiving on XI server is working fine without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files).
I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
Please suggest. Thanks in advance.
Regards,
Joe.Hi,
File adapter has the functionality which support the empty file handling.
Handling of Empty Files
Specify how empty files (length 0 bytes) are to be handled.
○ Do Not Create Message
No XI messages are created from empty files.
The files are processed according to the selected Processing Mode.
For example, if the processing mode is Delete, empty files are deleted in the source directory.
○ Process Empty Files
XI messages are created with an empty main payload.
The files are processed according to the selected Processing Mode.
○ Skip Empty Files
No XI messages are created from empty files.
Empty files are skipped and remain in the source directory.
refer the belwo link:
http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
reward points if helpful*
thanks
SAPXI -
Problem in creating a textfile using FCC in Receiver Comm. Channel
Dear experts,
I have a problem creating a flat file using file content conversion in PI.
My target XML structure looks like this:
1..1
1..n
1..1
1..n
1..1
The mapping itself goes fine, result in XML looks OK.
But I need to create a flat textfile that looks like this:
Fileheader
Invoiceheaderdata1
Invoicedetaildata1
Invoicedetaildata2
Invoiceheaderdata2
Invoicedetaildata1
Invoicedetaildata2
Invoicedetaildata3
Filetrailer
How do i configure the FCC in the receiving communication channel? I keep getting an error with the invoicedetaildata node.
Thanks in advance
WilliamCan you provide us with the receiver communication channel parameters and along with that the errors received?
Regards
Indranil
Maybe you are looking for
-
How can i print an email without printing the attachment?
I just got my new macbook pro retina display. I am using Mac mail and want to know how I can print an email without printing the attachement. Any suggestions and solutions would be appreciated.
-
Won't Display a | Character
I use a website for work that displays every person schedule and it often has to display a | character but instead Firefox puts a small empty box in its place, which wouldn't be too bad but it messes up the aligment of everything.
-
How to operate NI 5640r in the interpolat​on mode
Hi, Anyone knows how to oeprate the NI5640r in the Interpolation mode either using the Driver or by using the FPGA.
-
Hi Sappers! I am working on a substitution rule and I would appreciate some pointers from you. Requirement: Remove the GL account 12345678 from the substitution rule. This account is presently used by a lot of different cost centers and the when ever
-
Hello! Can any one help me with this script. I want to center my web page when the window is opened window.moveTo command helps me to position the webpage but how do I find screen size and center it. <script LANGUAGE="javascript"> window.moveTo(100,2