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

data shown under reciever mail using mail adapter

hi.

i have created a file to mail interface ,created an imported archieve and i did tested

but i have got the data in mail as

Please find the attached document:

<table><tr BGCOLOR="#CCCC99"></tr><td></tr>005000002200 </td><tr></table>

where 005000002200 only is the data .

how can i remove all the othere stuff.

cheers.

sita ram

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:40 AM

    Hi,

    This is the data in XML format.

    You need to use content conversion parameters to get the proper data as per requirments,

    Useful SAP Notes

    SAP Note 748024: Here you can download the XSD structure of the Mail Package.

    SAP Note 794943: Description of the module “PayloadSwapBean”

    SAP Note 793922: Description of the module “MessageTransfo

    Mail adapter with attachment page no 7-8

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05

    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

    -8-

    attachment. If you do not want the payload to be sent as an attachment, set

    ContentDisposition to inline.

    If you want to give each attachment a certain name, you can use the swap module. The

    swap module changes the main payload.

    Enter the localejbs/AF_Modules/PayloadSwapBean module as Local

    Enterprise Bean between the two modules that change the attachment names.

    Select a value for Module Key. Use this module key to create the following two lines in

    the Module Configuration:

    swap.keyName payload-name

    swap.keyValue <Name of the Payload>

    You can find the name of the payload that you want to set as the main payload in the XI

    message monitor (SXMB_MONI).

    If you want to use the mail package here, make sure that the last attachment has

    the correct mail package content.

    -8-

    attachment. If you do not want the payload to be sent as an attachment, set

    ContentDisposition to inline.

    If you want to give each attachment a certain name, you can use the swap module. The

    swap module changes the main payload.

    Enter the localejbs/AF_Modules/PayloadSwapBean module as Local

    Enterprise Bean between the two modules that change the attachment names.

    Select a value for Module Key. Use this module key to create the following two lines in

    the Module Configuration:

    swap.keyName payload-name

    swap.keyValue <Name of the Payload>

    You can find the name of the payload that you want to set as the main payload in the XI

    message monitor (SXMB_MONI).

    If you want to use the mail package here, make sure that the last attachment has

    the correct mail package content.

    Thanks

    Swarup

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:41 AM

    Hi,

    If ur file is sender then ru using FCC parameters.if u use u can ignore the content in payload.

    check some links on FCC parameters.

    /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

    Regards,

    Phani

    Reward points if Helpful 😊

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi.

      sorry for making u worry.

      in response to above thread could u please let me know that which lines in imported archieve(xsl) need to be changed so as to remove all unnecessary script that was generetd by mail adapter in reciever mail.

      waiitng for ur reply.

      cheers.

      sitaram,

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.