on 07-31-2007 11:46 PM
Hi ,
I am doing Idoc to file scenario,it is working fine without any FCC in the reciever file adapter but its failing when I use FCC.getting the error like
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'STRUC.fieldFixedLengths' or 'STRUC.fieldSeparator' is missing "
I know this error is because of FCC problem.
I am getting this xml structure without FCC in the rec file adapter
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:DataRec_MT xmlns:ns0="http://xyz.....">
- <SET>
- <STRUC>
<PERNR>0000185</PERNR>
<ENAME>xyz m xyz</ENAME>
<NACHN>xyz</NACHN>
</STRUC>
</SET>
</ns0:DataRec_MT>
I want to get 00000185||xyz m xyz ||xyz format
I am using these FCC parameters
STRUC.fieldNames fld1,fld2,fld3 etc
STRUC.fieldSeparator ||(do I need to put this in ' ' ?)
STRUC.endSeparator 'nl'
do I need to add any more parameters or not supposed to use any parameters.
please help.
I tried with different combinations but no luck.
i have DT created with stucture like
DT_xyz
Recset
Record set structure.
and I maintained all with the same case for field names,recordset structure,record set etc
I searched blogs and links,and I will keep on.
and what if if we dont get a value for a field in the record structure?whole FCC gonna fail?
thank you,
Babu
Babu,
Set the below parameters and let us know does it helps you.
Recordset structure : STRUC
STRUC.fieldSeparator ||
STRUC.endSeparator 'nl'
The above parameters are more than enough. There is no need to give fieldnames stuffs. Juz try it and let us know
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Babu,
gr8 point...
Thank you...
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check your parameter once....
Recordset Structure: STRUC
Try with these parameters
STRUC.addHeaderLine=0
STRUC.fieldSeparator = ||
STRUC.endSeparator = 'nl'
Regards,
Ramana Kumar. A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ramana and Raj,
I tried both options but,still getting error.
Recordset structure : STRUC
STRUC.fieldSeparator ||
STRUC.endSeparator 'nl'
or
Recordset Structure: STRUC
Try with these parameters
STRUC.addHeaderLine=0
STRUC.fieldSeparator = ||
STRUC.endSeparator = 'nl'
I get this error in File CC
<b>Channel has not been correctly initialized and cannot process messages
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'STRUC.fieldFixedLengths' or 'STRUC.fieldSeparator' is missing </b>
and when I furthur click on the message ID in CC I get this error
<b>Success File adapter receiver: processing started; QoS required: ExactlyOnce
2007-08-01 08:02:57 Error File adapter receiver channel CC_File_RECV is not initialized. Unable to proceed: null
2007-08-01 08:02:57 Error Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages
2007-08-01 08:02:57 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages</b>
any suggestions?
thank you.
I solved the problem.
we need to give <b>"fieldSeparator"</b> for both recorset and recordset structure like this and it doens make much difference we add or not the <b>addHeaderLine</b>.
so I gave like this:
in the
<b>Recordset structure : SET,STRUC</b>
parameters;
<b>STRUC.fieldSeparator = ||
SET.fieldSeparator = 'nl'
STRUC.endSeparator = 'nl'</b>
I have followed this Arpith's blog
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
at the first I didnt notice he was mentioning both set and structure.
u r suggsted might work when we have just one level substructure in the data type we have created in IR,but here I have two levels ,so need to mention the recordset too in the parameters.
thank you for your help on this.
Have a look
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.