Skip to Content
avatar image
Former Member

EMail Receiver without attachment, but only with SUBJECT?

Hi Gurus,

My Requirement is to get only Email just like Notification.

I used XIPAYLOAD as Transport protocol and did not checked keep attachment.

but still i am getting an EMail with attachment.

I required only Subject and i don't want attachment.

Please suggest me how to achieve this.

Thank you.

Regards,

Jittu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 22, 2013 at 12:17 AM

    Hi Jittu,

    Are you doing graphical mapping for this ?

    If yes, try and remove mapping for Content_Disposition and Content. Populate the Subject field apart from other relevant fields.

    Hope it helps!

    Ambrish

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jittu,

      Unfortunately, at the moment I cannot figure out the non-message mapping way to strip off the payload other than not checking Keep Attachments option in mail adapter.

      Answering specifically to your requirement (Kancham's might be different)---:

      Can you try with message mapping and do as I suggested. you would need the mail package XSD as an external definition, with Messages "From all available global elements".

      That should work. You can get the file name from dynamic configuration and include it in the subject of the email.

      This is how I would do it since it gives me flexibility to include the file name in the subject. Performance will not be an issue here.

      If it doesn't work, happy to help further.

      Hope it helps!

      Ambrish

      PS: My first name is Ambrish

  • May 22, 2013 at 03:11 AM

    Hi Jithendra,

    As said by Ambrish, map only the subject..

    also refere below links for better understanding..

    http://sapxitutorials.blogspot.in/2009/11/error-in-receiver-mail-adapter-of-pi-71.html

    For trouble shooting Email adapter:

    http://www.stechno.net/sap-notes.html?view=sapnote&id=856599

    Regards

    Bhargava krishna

    Add comment
    10|10000 characters needed characters exceeded