Adapter Specific Message Attributes SAP PI

Hi Guys,

ASMA or adapter specific message attributes are additional information about the message. Each adapter has set of ASMA and these are available in in message header.

These attributes can be accessed in message mapping or routing under namespace

"http://sap.com/xi/XI/System/<Adapter Metadata Object Name of Adapter>"

In this example file and SFTP ASMA are used in file to file scenario to set dynamic file name at the receiver. Sender file name is set to the receiver file name using message attributes.


Go to advance tab and set the ASMAs. In this example we are using the "File Name" attribute.
















Set the dynamic file name variable.








Set the variable substitution settings in the advance tab.








Configure "AF_Modules/DynamicConfigurationBean" module as below.










Message monitor results and processing log











Adapter Specific Message Attributes, SAP PI 7.3, ASMA, File adapter, File Name, Adapter Modules, AF_Modules/DynamicConfigurationBean, Isuru Fernando, SAP, PI, File to File

Labels: , , , , , , , , , ,