on 01-14-2008 8:48 AM
Hi all,
Doing Idoc to File(txt) scenario. its a simple scenario.. with only one segment and one field.
Idoc Structure :
- <ZWPAC>
- <IDOC BEGIN="1">
+ <EDI_DC40 SEGMENT="1">
- <Z1WPAC1 SEGMENT="1"> - 0.. unbounded
<WPACDATA1> 0 ..1
File Structure :
MT_FLATFILE_BANK
<HEADERDATA>
<WPAC1> 0... unbounded
<WPACDATA> 0...1
When the segment Z1WPAC1 is coming once , output is coming quite good.
But when the Z1WPAC1 is repeating , im getting the following errors.
the FCC i given as follows :
Recordset structure : WPAC1
WPAC1.fieldNames WPACDATA
WPAC1.fieldFixedLengths 512
WPAC1.endSeparator '0x0D''0x0A'
I am geting the ouput.when it single field.
when I duplicate(repeat) the field I am geting error.
but upto payload I am getting the data. But flag I getting success .
Im getting the following errors.
1.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 '0300004668 19060700000000618750000000061875')', 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 '0300004668 19060700000000618750000000061875')', probably configuration error in file adapter (XML parser error)'
2.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 '0300004668 19060700000000618750000000061875')', probably configuration error in file adapter (XML parser error)'
I dont know why it is
Can anyone pls help me how to solve it asap.
Waiting for your replys.
please help me I am facing this issues for last two weeks.
Regards
Saranya.
Edited by: saranya walter on Jan 15, 2008 9:52 AM
Hi Saranya,
Try This :
Document Name : Outbound Message Type
Document Namespace : Namespace of outbound Message Type
Recordset Structure : WPAC1,*
WPAC1.fieldFixedLengths -
> 512
WPAC1.endSeparator -
> 'nl'
WPAC1.fieldNames -
> WPACDATA
ignoreRecordsetName -
> true
Thanks,
Maheshwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you .
The problem is solved
Recordset structure : WPAC1,HEADERDATA
IT IS WORKING FINE
THANK YOU
SARANYA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WPAC1.fieldNames WPACDATA - no need to mention fieldNames for receiver CC
WPAC1.fieldFixedLengths 512
-->
If you are specifying fieldFixedLengths then your element has to be of that length. Otherwise Content Conversion will fail
so make sure WPACDATA is of length 512
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please try to give
WPAC1.fieldNames WPACDATA
WPAC1.fieldFixedLengths 512
(or)
WPAC1.fieldNames --> WPACDATA
WPAC1.fieldSeparator --> '
WPAC1.endSeparator --> 'nl'
you should not combine fieldFixedLengths and endseparator together
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I tryed in both way. But I am getting the error following error
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 'ASD ASD SDA')', 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 'ASD ASD SDA')', probably configuration error in file adapter (XML parser error
regards
saranya
Hi Saranya,
Instead of Recordset structure : WPAC1,** try the below
Recordset structure : WPAC1 --- dont give * here.
- Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sathish,
i tried the same and i got the below 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 'SDEPASD ASD SDA')', probably configuration error in file adapter (XML parser error)'
Any idea whats going wrong ??
-Saranya.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.