Imagine a scenario where you’d like to use the same content attribute
that arrived with the sender adapter inside the receiver adapter. This could be
like content disposition (which stores the filename) or content type
(which stores the type of the message which arrived). Inside your mappings
you could use that to set the dynamic configuration parameters for some
receiver adapter but how to access them? It turns out SAP has prepared
a new adapter module – MultipartHeaderBean – which allows doing just that.
The main purpose of the module is to put the attributes of the XI message
into the dynamic configuration parametes which can be easily accessed later on.
How to configure that adapter module:
Basically you need to add the adapter module – AF_Modules/MultipartHeaderBean
to your module processing sequence as shown in the figure below:
and then you need to populate two parameters:
a) requiredHeaders – with value “ALL” to see get all possible attributes
b) dcNamespace – namespace of the sender adapter in which you’re using this module
Now once you start the flow which uses this adapter you will see additional sections
inside dynamic configuration – which you can reuse later on (for example in the mapping).
More details can be found on:
Adding MultipartHeaderBean in the Module Processor
With info about this adapter module together with two articles from Gabriel Sagaya Selvam:
you should have a description of all SAP standard adapter modules as for SAP PI 7.11