Skip to Content
author's profile photo Former Member
Former Member

Content conversion (JMS)

Hi all,

I am using the Content Conversion Module for JMS in order transfer a XML to a FLAT structure.

I am getting this error:

Parameter xml.fieldFixedLengths or xml.fieldSeparator is missing (4409)

xml.fieldFixedLengths is configured under the adapter module-tab, but I havent set up the lenghts for the client and the csysidn fields, since thay are part of the complex type. Is that wrong?

This is my structure:

<nr1:ErrorHandling_MT

<client>xxx</client>

<csysidn>xxx</csysidn>

<error>

<eseq_number>xxx</eseq_number>

<error_text>xxxx</error_text>

<original_message>xxx</original_message>

</error>

</nr1:ErrorHandling_MT>

Could I do a simple conversion with this structure at all?

thanks

Thomas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2008 at 11:44 AM

    Go through this.

    How to use conversion modules (FCC) in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891

    Or you can take a help from below mentioned example.

    XML2Plain Transform.Class----


    com.sap.aii.messaging.adapter.Conversion

    XML2Plain Transform.ContentType----


    text/plain;charset=utf-8

    XML2Plain xml.client.endSeparator----


    'nl'

    XML2Plain xml.client.fieldFixedLengths-------give the length here

    XML2Plain xml.error.endSeparator----


    'nl'

    XML2Plain xml.error.fieldFixedLengths----


    give the length here

    XML2Plain xml.addHeaderLine----


    0

    XML2Plain xml.conversionType----


    StructXML2Plain

    XML2Plain xml.recordsetStructure----


    client,error

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2008 at 11:38 AM

    We cannot do the content conversion for this kind of structure.

    It should be either simple or complex structures.

    Compare your structure with below...

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 29, 2008 at 11:43 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 29, 2008 at 11:45 AM

    Hi,

    In the FCC parameters you must specify the either length of field, if fixed , or a character which seperated the fields.

    Thanks

    --Pradeep

    Reward points if helpful.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.