on 07-27-2012 3:49 PM
Hi,
I want to create an module adapter to retrieve data from the sender adapter and get the email recipient to send the message.
In the logs of SAP PI do not see this information to get through to java programming.
Is it possible?
Regards
Marcelo Macedo
Hi Marcelo
What a kind of sender adapter You would like to use to this solution? I ask you about it because hava a lot ways to pass values using system variables for example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
As Carlos said.: you need to activate the dynamic parameters (Set Adapter -Specific Message Attribute) on Sender Adapter.
The above code is ok. however if you want to use module you can try with the above code . ( >= PI 7.1)
public ModuleData process(ModuleContext moduleContext,ModuleData inputModuleData) throws ModuleException {
Message msg = (Message) inputModuleData.getPrincipalData();
String sFromMail = (String)msg.getMessageProperty(new MessagePropertyKey("SHeaderFROM", "http://sap.com/xi/XI/System/Filehttp://sap.com/xi/XI/System/Mail"))"))
Regards
Lucho
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.