on 07-16-2009 7:34 AM
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'
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.