cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Modules: Set parameter values dynamic?

Former Member
0 Kudos

Hi everybody,

is it possible to set parameter values in adapter modules dynamic?

Thanks Regards

Mario

Accepted Solutions (0)

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos
Former Member
0 Kudos

Yes it is ... Look for ASMA feature in SDN ! NW04 help is here : http://help.sap.com/saphelp_nw04/helpdata/EN/43/0a7d1be4e622f3e10000000a1553f7/content.htm

Chris

Former Member
0 Kudos

Hi all,

thanks for your replies.

My problem is not solved.

To make it clear,

I want to set an attachmentName in Mail receiver adapter WITHOUT using the MailPackage.

This is possible:

ModuleName: localejbs/AF_Modules/MessageTransformBean

ModuleType: LocalEnterpriseBean

ModuleKey: CHAN

Parametername: Transform.ContentDisposition

ParameterValue: attachment; filename="NameOfAttachment.txt"

I want to set "NameOfAttachment.txt" dynamically. How can I achieve this? Thanks, regards

Mario

Former Member
0 Kudos

Hi Chris,

I don't want to set the ASMA. I want to set module parameters.

Thanks

Regards, Mario

Shabarish_Nair
Active Contributor
0 Kudos

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414800%29ID1590928350DB0185022873950581819...

this blog can be a good start.

Once you have the attachment name as part of your message payload you can easily tweak the code in the blog.

Former Member
0 Kudos

Hi Mario,

Are you running PI or XI ? Cuz PI now has a couple of APIs to manipulate attachments within adapter modules, like this one :

http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/Attachment.html

Hope this helps

Chris