cancel
Showing results for 
Search instead for 
Did you mean: 

Reciever Comm. Channel Content conversion parameter for deep level

Former Member
0 Kudos

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'

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Please consider this one as new: i tried to explain it more as on privew everything gets shaked

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 as a child,

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

Root_VR(structure) is a field of Root_VT but act as a Parent structure for Fields POL and SF.Means we have three structres Root_IS and under this we have Root_VT and under this we have Root_VR

__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 as a first level subelements of DT_Target and Root_VR sructure is under Root_VT.

Root_IS have fileds: key,DC: Root_VT have Fields :Key,POY,PON:Root_VR have fields:Key,POL,SF and Root_ZS have Fields:Key and Counts.

-


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_member272911
Participant
0 Kudos

Hi Deepak,

I think u can have do content conversion upto 3 levels depth.

Thanks

kamath

Edited by: Ramachandra Kamath on Jul 16, 2009 8:45 AM

Former Member
0 Kudos

Thanks kamath for Reply,

Yes it's a deep level structure.Can you Please help me in doing configuration of File content Conversion parameters as i am getting error that i have mentioned early.

Former Member
0 Kudos

just to carry the question again.

deepak

Edited by: deepak jaiswal on Jul 17, 2009 9:51 AM

former_member200962
Active Contributor
0 Kudos

FCC cannot go till the level of hiererchies which you have mentioned....check this blog on how to perform the conversion on the receiver side for a deep-level structure: /people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure

Regards,

Abhishek.

Former Member
0 Kudos

Can any expert help me to resolve this issue.