Skip to Content

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

Idoc2File complex structure issue

Hello good people!

I have a problem since a few weeks and i'm getting without time to resolve it.

The thing is that with an XSL mapping i get an XML structure with something like this:

<SEG1>

---<FIELD1>Text</FIELD1>

---<FIELD2>Text</FIELD2>

---<SEG1-1>

-


<FIELD3>Text</FIELD3>

-


<FIELD4>Text</FIELD4>

---</SEG1-1>

<SEG1>

I have to create a file with one line per seg1 and one line per occurrence of seg1-1 too.

In the communication channel I have this parameters:

SEG1.fieldFixedLengths=1,1

SEG1.fieldNames=FIELD1,FIELD2

SEG1-1.fieldFixedLengths=1,1

SEG1-1.fieldNames=FIELD3,FIELD4

The error I get in the adapter monitoring is:

- 2006-05-09 15:57:58 EDT: Error: Message processing failed: 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 'SEG1-1')', probably configuration error in file adapter (XML parser error)'

How can I tell XI that the node SEG1 is going to have another node inside it?

Thank you very much!

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