on 08-05-2014 1:02 PM
Hi,
We have requirement to pass the Dynamic variable as Mail subject
we can't use Mail Package as we need to capture the data from Dynamic SOAP header Data from incomming channel
Dynamic SOAP Header variable (XHeaderName1) comming from Sender SOAP channel.
Receiver side we need to capture that XHeaderName1 in Mail Adapter channel using ASMA and Variable transport binding so that value of XHeaderName1 should overwrite Subject under General/ Mail Atribute section.
Could you please let me know, how to handle this requirement using module configuration?
Also suggest the correct configuration to use ASMA and Variable transport binding.
Regards
Venky
Hi,
You can use Variable Transport Binding to assign subject dynamically. Use below udf and configuration in your channel.
UDF:
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key=DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderSUBJECT");
conf.put(key, "Dynamic Mail Subject");
Communication Channel:
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venky,
Please have a look at the links below. They should help you.
Configuring the Sender SOAP Adapter- https://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Configuring the Receiver Mail Adapter-https://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
Adapter-Specific Message Attributes in the Message Header -https://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm
Regards,
Jannus Botha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.