Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reciever Comm. Channel Content conversion parameter for deep level

I am doing a scenario from SAP to Legacy sytem ( Proxy to File Scenario).Target File to be generated is of for fixed length.

__My source strucure is as follows:__

DT_Source

--->Root_IS .......................................0.to..1

-


DC..............................................0..to..1.............................xsd:string

-


>Root_VT....................................0..to..unbounded

-


POY....................................0..to..1.............................xsd:string

-


PON....................................0..to..1.............................xsd:string

-


>Root_VR............................0..to..unbounded

-


POL.............................0..to..1.............................xsd:string

-


SF----


0..to..1.............................xsd:string

Here DT_source is Data type name,

Root_IS is structure under this we have one field DC,

Root_VT is second field of Root_IS but act a a Stucture for fields POY and PON,

Root_VR is a field of Root_VT but act as a structure for Fields POL and SF.

__My targert strucure is as follows:__

DT_Target

-


>Root_IS.......................................0.to..1

-


Key..............................................0..to..1.............................xsd:string

-


DC..............................................0..to..1.............................xsd:string

-


>Root_VT....................................0..to..unbounded

-


Key..............................................0..to..1.............................xsd:string

-


POY....................................0..to..1.............................xsd:string

-


PON....................................0..to..1.............................xsd:string

-


>Root_VR............................0..to..unbounded

-


Key..............................................0..to..1.............................xsd:string

-


POL.............................0..to..1.............................xsd:string

-


SF----


0..to..1.............................xsd:string

-


>Root_ZS............................0..to..1

-


Key..............................................0..to..1.............................xsd:string

-


Count...........................................0..to..1.............................xsd:string

Here DT_Target is data type for file reciever.In which i need to configure reciever communication channel with file content conversion parameters.File needs to be generated is of fixed length.Root_IS,Root_VT,Root_ZS are sructure on same level and Root_VR sructure is under Root_VT.

I tried to Configure File Content Conversion Parameters on reciever Comm Channel but getting comm channel error as follows:

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 'VR')', 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 'VR')', probably configuration error in file adapter (XML parser error)'

Could not process due to 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 'VR')', probably configuration error in file adapter (XML parser error)'

File content parameters i used as follows:

Root_IS.fieldNames : Key,DC

Root_IS.fieldFixedLengths :(as per length mentioned)

Root_IS.endSeparator :'nl'

Root_VT.fieldNames :Key,POY,PON

Root_VT.fieldFixedLengths :(as per length mentioned)

Root_VT.endSeparator :'nl'

Root_VR.fieldNames :Key,POL,SF

Root_VR.fieldFixedLengths :(as per length mentioned)

Root_VR.endSeparator :'nl'

Root_ZS.fieldNames :Key,Count

Root_ZS.fieldFixedLengths :(as per length mentioned)

Root_ZS.endSeparator :'nl'

Former Member
Not what you were looking for? View more on this topic or Ask a question