on 03-26-2007 4:02 AM
My scenario is XML -- > Fixed Length File.
In my receiver file adapter, I selected the " file content conversion " and mensioned the content conversion paraters " fieldFixedLengths" , " endSeparator "
but in RWB I'm getting this error. I'm using PI7.0
Error :
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
can someone please look into this ?
Thanks
sagar
hi ,
Even i am facing the same problem.Please let us know the solution to the same..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sagar,
I am having the same error you experienced in the past, could you please provide the resolution steps in case you find ithem out?
Thanks a lot in advance,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you give us the target file format and a list of all the parameters you used in the Receivr File Adapter , especially the Recorset Strcuture?
If you have given the recordset structure as SegmentName,* . Remove the * in the recordset name and it will work fine.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.XXXXXX.com/XI/SCM" targetNamespace="http://www.XXXXXX.com/XI/SCM">
<xsd:element name="MT_CycleCount_Resp" type="CycleCount_Response" />
<xsd:complexType name="CycleCount_Resp">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
c3d33d80db4c11db9ba40015605eb3f8
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="MAPPE">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
456c15d0d87b11dba407004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="12" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="TCODE">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192880d87d11db9c2a004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="20" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="SOBKZ">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192881d87d11dba771004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="SPERR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192882d87d11dba469004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="WERKS">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192883d87d11db97d3004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="XBLNI">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192884d87d11db99f4004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="16" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ZLDAT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192885d87d11db8e86004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BLDAT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192886d87d11db94d0004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BUDAT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192887d87d11db9435004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GIDAT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192888d87d11dbc1bf004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GJAHR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192889d87d11dbccbb004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="IBLNR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319288ad87d11db90a3004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ZEILI">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319288bd87d11db97b2004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LGORT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319288cd87d11db8a9b004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="NBLNR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319288dd87d11db8c9f004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="XNULL">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319288ed87d11dbce7e004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ERFME">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319288fd87d11dbcadf004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ERFMG">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192890d87d11dbb749004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="17" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BSTAR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192891d87d11dbb363004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CHARG">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192892d87d11dbbead004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="MATNR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192893d87d11db824c004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ABWEI">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192894d87d11db9030004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LIFNR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192895d87d11db9997004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="EXVKW">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192896d87d11db8547004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="16" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="KUNNR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192897d87d11db9e1d004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="KDAUF">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192898d87d11db8ead004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="KDPOS">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33192899d87d11dbb40c004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="PS_PSP_PNR">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319289ad87d11db8f40004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="24" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GRUND">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
3319289bd87d11dbc97a004096b0280e
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CycleCount_Response">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
c3cf9400db4c11db93040015605eb3f8
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="CycleCount_resp_lines" type="CycleCount_Resp" maxOccurs="300">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
4938eec0d89b11dbbe8b004096b0280e
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Hi,
It is purely depends upon the target messags structure , plz provide the strcuture or see the below links
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/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/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
Regards
Chilla
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_CycleCount_Resp xmlns:ns0="http://www.XXXXXX.com/XI/SCM"><CycleCount_resp_lines><MAPPE>jkdgjksdg</MAPPE><TCODE>jkdhkfdg</TCODE><SOBKZ>h</SOBKZ><SPERR>h</SPERR><WERKS>hhhh</WERKS><XBLNI>ghhghghgh</XBLNI><ZLDAT>88888</ZLDAT><BLDAT>88888</BLDAT><BUDAT>888888</BUDAT><GIDAT>888888</GIDAT><GJAHR>uuuu</GJAHR><IBLNR>hghghghgh</IBLNR><ZEILI>jhg</ZEILI><LGORT>kkkk</LGORT><NBLNR>kkkkkkkkkkk</NBLNR><XNULL>k</XNULL><ERFME>kkk</ERFME><ERFMG>kkkkkkkkkkkkk</ERFMG><BSTAR>k</BSTAR><CHARG>kkkkkkkkkk</CHARG><MATNR>kkkkkkkkkkkkkkkkkk</MATNR><ABWEI>kkk</ABWEI><LIFNR>kkkkkkkkk</LIFNR><EXVKW>kkkkkkkkkkkkkkkk</EXVKW><KUNNR>kkkkkkkkkk</KUNNR><KDAUF>kkkkkkkkkk</KDAUF><KDPOS>kkkkkk</KDPOS><PS_PSP_PNR>kkkkkkkkkkkkkkkkkkkkkkkk</PS_PSP_PNR><GRUND>kkkk</GRUND></CycleCount_resp_lines></ns0:MT_CycleCount_Resp>
XML message
Message was edited by:
sagarkavi srungarakavi
Hi,
try
Recordset Structure : CycleCount_resp_lines, specify the occurrences
CycleCount_resp_lines.fieldSeparator :,
CycleCount_resp_lines.endSeparator : 'nl'
OR
Recordset Structure : CycleCount_resp_lines, specify the occurrences
CycleCount_resp_lines.fieldFixedLengths : 2,4,6,7,5,4.. etc
CycleCount_resp_lines.endSeparator : 'nl'
regards
Chilla
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.