cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Adapter: Keep original Filename in E-Mail Attachment

Former Member
0 Kudos

Dear All

On our SAP-XI 7.0.1 (EHP 1, sp 4) we have the following scenario:

(1) SAP-XI picks a FlatFile from the R/3 application server. This file should be forwarded unmodified to the e-mail receiver.

(2) In the Sender channel I have set the option "Set Adapter-specific Message Attributes" including the FileName.

(3) In the Receiver channel I have set the message protocol = XIPAYLOAD. In the "Mail Attributes" I do NOT use the mail package yet marked the flag "Keep Attachments". No module has been added to this channel.

Result: The original file "dollytest1" is sent as e-mail attachment "Untitled.xml".

QUESTION: Is there a (simple) solution which allows the e-mail attachment to keep its genuine filename ("dollytest1") without any suffix?

Regards

Uwe

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos
Shabarish_Nair
Active Contributor
0 Kudos

to add to the above, you can use dynamic configuration to get and set the file name of the source file.

Answers (1)

Answers (1)

former_member187339
Active Contributor
0 Kudos

Hi Uwe,

check this wiki page too

http://wiki.sdn.sap.com/wiki/display/stage/DynamicEmailAttachmentnameforReceivedMails

Regards

Suraj