cancel
Showing results for 
Search instead for 
Did you mean: 

'*.fieldFixedLengths' or '*.fieldSeparator' is missing

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi ,

Even i am facing the same problem.Please let us know the solution to the same..

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Target structure:

record1 is complex type of 20 fields..

record 2 is having an " element " " ABC " of type " record1 " with maximun occurances of 300 .

Thanks

sagar

Former Member
0 Kudos

I removed the ' * ' now and I'm checking in RWB . I'm getting the same error .

My content conversion parameters :

Recordset Structure : ABC

ABC.fieldFixedLengths : 2,4,6,7,5,4.. etc

ABC.endSeparator : 'nl'

Thanks

sagar

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Can you give the target message format ( XMl messge ) , a sample?

Regards

Bhavesh

Former Member
0 Kudos

<?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>

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

This is the XSD, can you give the mapping output XML?

regards

Bhavesh

Former Member
0 Kudos

<?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

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

For the XMl you have given the Recordset Strcututre would be,

Recordset Strcuture : CycleCount_resp_lines

CycleCount_resp_lines.fieldFixedLenghts : lenght...
CycleCount_resp_lines.fieldSeparator : ,

Try with this and let us know.

Regards

Bhavesh

Former Member
0 Kudos

My configuration is same. as you guys said. But I'm getting the error.

I donno where I messed up.. hmm..

Former Member
0 Kudos

Try with this configuration. Ensure that the spellings are correct.

Recordset Structure: CycleCount_resp_lines

CycleCount_resp_lines.fieldFixedLengths : specify the lengths of the fields.

CycleCount_resp_lines.endSeparator : 'nl'

CycleCount_resp_lines.fixedLengthTooShortHandling: Cut