Skip to Content
avatar image
Former Member

How to use File Content Conversion at Receiver side

Hi all,

i have file to file scenario, text file (FCC)--text file(FCC)

sender side FCC worked correctly and gave success in MONI

in Receiver Communication channel monitoring, its giving the error as

*java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)'*

I have Header and Line Item at Receiver end to generate the file, i mention those parameters in FCC like this

Record set structure -- Header,Line_Item

Header.fieldFixedLengths--3, 5, 16

Header.fieldNames--Row_ID,Company_Code,Reference_No

Line_Item.fieldFixedLengths-- 3, 5, 5

Line_Item.fieldNames-- Invoice_Line_Item,Line_Number,Company_Code

Please suggest what and all the parameters that i need to mention

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 18, 2009 at 08:21 PM

    Please use the following

    Recordset structure : Header,Line_Item

    Header.fieldFixedLengths: 3, 5, 16

    Header.endSeparator: 'nl'

    Line_Item.fieldFixedLengths: 3, 5, 5

    Line_Item.endSeparator: 'nl'

    Thanks

    Aamir

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 18, 2009 at 07:46 PM

    Should'nt the config be -

    Record set structure -- Header,1,Line_Item,*

    Also check the field name are right...

    Regards,

    Arvind R

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I mentioned as you said, and giving this error

      Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages

      6/18/09 2:57:47 PM 04528570-ea08-4b24-3dcb-8868189196de Channel has not been correctly initialized and cannot process messages

      6/18/09 2:57:47 PM 04528570-ea08-4b24-3dcb-8868189196de Message processing started

      6/18/09 2:56:47 PM 34351b98-0e64-46c3-13de-de1992175c60 Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages

      6/18/09 2:56:47 PM 34351b98-0e64-46c3-13de-de1992175c60 Channel has not been correctly initialized and cannot process messages

      Regards

  • avatar image
    Former Member
    Jun 18, 2009 at 08:03 PM

    On the receiver side,you only need fieldSeparator and endSeparator.

    Please do your FCC as per the below blog

    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

    Thanks

    Aamir

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Aamir,

      In this Blog, they didnt mentioned the header in Recordset structure

      That is the major problem here for me.

      i have Header and Line item

      and fixed lenghts

      Please let me know how to mention all the parameters

      Regards