cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic subject name and dynamic file name in mail receiver adapter

Former Member
0 Kudos

Hi All,

Hope you are doing well,

currently we are working in PI 7.4.

we just wanted to know how we can pass dynamic subject name and dynamic file name as attachment in mail receiver adapter in 7.4 single stack.

Thanks

Madhu T

Accepted Solutions (0)

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

Hi Madhu

Dynamic subject name can be achieved using Dynamic Configuration & ASMA. As for dynamic attachment name, check my post to see which scenario matches yours.

Regards

Eng Swee

apu_das2
Active Contributor
0 Kudos

Hi Madhu,

One of my requirement same as you I found this document very helpful and this is very easy to use.

Please check the document. This may solve your query -

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/603a7bd8-a6a0-2e10-388b-fc9cb9dae...

Thanks,

Apu

Former Member
0 Kudos

Hi Eng,

Thanks for your mail.

i need dynamic filename in the mail attachment .

My scenario was IDOC to Mail.

my correct requirement that filenme should be   EDIDESADV-INVOICENO-GLN.txt.

Here invoiceno and GLN both are changed based on IDOC.

for example invoice no coming from idoc is  000111 and GLN was 000222.

then filename should be EDIDESAV-000111-000222.txt should be attachment name in the mail receiver adapter.

i tried with content.dispositon and passed filename = FileName(which i used in UDF) but it is not helping.

can you please check and guide me solve this.

Thanks

Madhut

engswee
Active Contributor
0 Kudos

You will need to provide screenshots of what you actually did - developed or configured. Can't figure out what you did from your reply, and as such, can't advise further until more details are available.