Skip to Content
avatar image
Former Member

File to Mail Adapter issue

I am trying FILE-TO-MAIL ADAPTER senorio

I have file contains following data(more than one row data in file)

emailaddress,subject, content

I used receiver Data type

https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt

If text file is only one record it is sending mails as mail defininition is 1..1 in ximail30_xsd

I changed the mail definition in ximail30_xsd to 0...unbounnd and recreate the external definition andcreated interface based on external definition.

I am getting validation error.

please advice me.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Dec 30, 2006 at 08:55 PM

    What does your XSD structure look like? It's possible that more than one definition needs to be changed to 0..unbounded

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 31, 2006 at 12:35 PM

    Read the mail adapter section in the series /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii that might clear your doubts.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2006 at 03:55 PM

    Hi,

    I think u have gone thru this blog-

    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

    btw, what is the error ?

    Where are you getting this error in Mapping ??

    this blog will give some hints-

    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2007 at 04:49 AM

    Hi,

    ><i>I changed the mail definition in ximail30_xsd to 0...unbounnd and recreate the external definition andcreated interface based on external definition.</i>

    Maybe you can consider using MultiMapping to send the multiple Mails out of XI.

    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

    Is this what you want?

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2007 at 05:06 AM

    Hi,

    If you want to send across multiple mails for multiple rows of data, you could use multimapping.

    If the entire content needs to be in one mail, you could write a udf, to concatenate all the rows to a single content field in the target.

    Regards,

    Smitha.

    Add comment
    10|10000 characters needed characters exceeded