cancel
Showing results for 
Search instead for 
Did you mean: 

Email Attachment Name in Receiver

Former Member
0 Kudos

This should be simple but I can not get it to work.

I have a file->email scenario.

I am looking in a directory (the error directory) and any files that are present should be emailed as an attachment to the support group (me).

The attachment name should be the same as the name of the original file.

However it always comes in the email as 'untitled.xml'

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I found this blog which I will try.

/people/francesco.bersani/blog/2007/03/27/rename-attachment-adapter-module

Thanks for the replies. Unfortunately, most rename the file to something specific or require some work to pass the file name in the payload of the message.

I just want the attachement name to be whatever the name was that was stored in the DynamicConfiguration of the XI message header.

I'm suprised I have to write code to do that...

Former Member
0 Kudos

Yes, me too.

Maybe in the next SP...

Regards,

Matias.

moorthy
Active Contributor
0 Kudos

HI,

You can look into this solution also:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-design_confi...

Hope this helps,

Rgds,

Moorthy

Former Member
0 Kudos

Hi Moorthy,

Thanks but that would not work. The file name is hardcoded in the modules tab. I will not know the name of the file so it has to be whatever the original file was named. In fact, the file name will always be different.

Thank you.

Former Member
0 Kudos

Hi Mark !

Look at this thread:

It talks about dynamic attachment file name.

Regards,

Matias.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

This will help you

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

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

Regards

Agasthuri Doss

justin_santhanam
Active Contributor
0 Kudos

Mark,

Please find the below blogs and threads. It will give u an clear idea.

/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution

Best regards,

raj.