Skip to Content

FCC - File receiver Error ?

Hi Friends,

I have xml as in FTP

- http://sap.com/xi/XI/Mail/30">

<Subject>Test mail from test</Subject>

" t" test.co.in>

"y" test.co.in>

<Content_Type>text/plain;charset="us-ascii"</Content_Type>

<Date>2008-04-22T10:23:45Z</Date>

<93D7B805E82667439CD104728E47C58912CE1546 attherat BALAKMB01.test.co.in>

<Content>This is content </Content>

</xim:Mail>

I would like to get output like

Test mail from test , xxx attherate t.co.in , yyy attherat test.co.in ,This is content

It signifies i have to get like Subject , From, To , Content .

Scenario is i have to read a mail with conent along with from and to address write those details in flat file

I am getting the following error in the Content Conversion

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'xim:Mail' found in document', probably configuration error in file adapter (XML parser error)'</SAP:AdditionalText

May i know what exactly i have to give in Record Structure and Parameters ?

Thanks & regards.,

V.Rangarajan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Apr 25, 2008 at 08:57 AM

    Hello Ranga Rajan,

    Hope File content conversion blgs are helpful to you..

    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

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

    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

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

    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

    Thanks,

    Satya Kumar

    Reward if it is useful..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2008 at 12:51 PM

    Hi Ranga,

    The XML structure of your target file does not comply to the norms of file content conversion in File Adapter.

    You need to maintain a proper hierarchy, please go through the following link:

    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

    you need a hierarchy of atleast 2 levels.

    Thanks,

    Varun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2008 at 02:36 PM

    hi,

    i think u gave a Recordset Structure Name xim:Mail ....

    Thats Not your Structure Name...

    Try the bellow structures....

    Record set structure:Subject,From,To,Content

    Parameters:

    Subject.fieldSeparator value",".

    From.fieldSeparator value",".

    To.fieldSeparator value",".

    Content.fieldSeparator value",".

    Content.endSeparator value"nl".

    otherwise use "AF_Modules/StrictXml2PlainBean" module....

    [http://help.sap.com/saphelp_nw04/helpdata/en/44/748d595dab6fb5e10000000a155369/content.htm]

    its also help your requirement....

    *Award Points if its Useful*

    Regards,

    Prakasu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 24, 2008 at 12:35 PM

    Hi All ,

    Any help regarding the above ?

    Thanks

    V.Rangarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 28, 2008 at 01:04 PM

    HI Friends ,

    Problem solved by , Using ximail30_xsd.xsd (Which is available in Market place), as Source dataype which recives the PAYLOAD from Mail sender and in target data type i have added structure as

    Mt_XXX

    -->Root

    --->Item

    - subject

    - From

    etc.,,

    Thanks

    V.Rangarajan

    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.