cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic file name of the attachment in receiver mail adapter

Former Member
0 Kudos

Hi

I have configured a receiver mail adapter which receives the payload as an xml attachment.

Right now the file name of the attachment is hardcoded to "invoice.xml".

I want to set it to dynamic ie. instead of "invoice.xml"... i want it as "invoice<invoicenumber>.xml".

Invoice number is present in the payload.

please suggest a solution w/o the need to develop a custom adapter module.

Thanks!

Regards,

Faria Mithani

Accepted Solutions (0)

Answers (2)

Answers (2)

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

You can achieve the dynamic subject in the mail using Adapter-Specific Message Attributes.

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

Former Member
0 Kudos

Hi,

Go through this thread..

Regards,

Sarvesh

Former Member
0 Kudos

The blog you provided describes variable substitution in case of file adapters.

My question deals with mail adapter.

Former Member
0 Kudos

Hi,

I think you have to go for develping the adapter module for this. I am also sure that you must have gone through this blog....

Regards.

Sarvesh

prateek
Active Contributor
0 Kudos

I don't think there is any other option.

Regards,

Prateek

Former Member
0 Kudos

Thanks! Prateek and Sarvesh.

Former Member
0 Kudos

Can we configure a dynamic subject line... w/o custom adapter module??

former_member194786
Active Contributor
0 Kudos

ya its possible to provide a dynamic subject line. Use the following blog:

Thanks and Regards,

Sanjeev.