cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic File Name attachment in Mail Adpater

Former Member
0 Kudos

Hi All,

We have Requirement where we need attach file with Dynamic Names in mail adapter PI7.0 .Right now we are using some of the modules to genarate file attachement with hard coded value for name of the file.

Java beans we are using are

localejbs/AF_Modules/StrictXml2PlainBean

localejbs/AF_Modules/MessageTransformBean

localejbs/AF_Modules/TextCodepageConversionBean

sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

Please let us know how we can acheive this.

Thanks,

Madhu

Accepted Solutions (0)

Answers (3)

Answers (3)

jagesh_lakdawala
Active Participant
0 Kudos

Hi Madhusudhan,

File attachment with the dynamic name is possible by using the Adapter module as well as without the Adpater module through coding.

let me know which kind of attachment you want in mail and which is your sending system (like SAP R/3)?

Thanks & Regards

Jagesh

Former Member
0 Kudos

Hi,

am having requirement in PI 7.3 to send email attachement with dynamic name.

Can you please let me know if I can set content-disposition dynamically without mail package,without adapter module in PI 7.3

henrique_pinto
Active Contributor
0 Kudos

You need an adapter module for that.

Check this link for a sample: https://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0SetAttachmentName

Best,

Henrique.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have you seen my blog?

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

Regards,

Michal Krawczyk