on 07-09-2009 7:14 PM
has anybody used DynamicConfigurationBean for Mail adapter?
could you answer my below query?
I have file droped by Legacy system and PI has to pick the file and send the content of the file to Mail as body of the mail..
i have used DynamicConfigurationBean to overite Mail-IDs coming from the mapping;
below are the DynamicConfigurationBean parameters in reciever Mail Adapter;
Processing Sequence:
---------------------------
1 AF_Modules/DynamicConfigurationBean Local Enterprise Bean 1
2 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean 0
Module Configuration:
---------------------
key.0 insert http://sap.com/xi/XI/System/Mail To
value.0 TomailID
key.1 insert http://sap.com/xi/XI/System/Mail From
value.1 FrommailID
There are no errors; but issue is TomailID and FrommailID are not overwritting the mailIDs coming from mapping.
what I'm using above is that correct?
your answers are appriciated..
The problem is solved:
Solution:
- Do not mention To feild in the XSLT mapping
- in Configuration; for MAIL communication channel; go to MODULE tab n give the below parameters;
Processing Sequence:
no' Module Name Type Module key
1 AF_Modules/DynamicConfigurationBean Local Enterprise Bean 5
2 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean 2
Module Configuration:
Module Key Parameter Name parameter Value
5 key.1 insert <a href="http://sap.com/xi/XI/System/Mail" TARGET="test_blank">http://sap.com/xi/XI/System/Mail</a> THeaderTO
5 value.1 <Email-ID>
- Go to ADVANCE tab n check Use Adapter-Specific Message Attributes
check Variable Transport Binding in text box give the value "XHeaderName1"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prema,
Did you provide the actual To-mail id or just TomailID?
It should be the actual email id right?
If it is the actual email, then you can try this
Module Configuration:
---------------------
key.0 delete http://sap.com/xi/XI/System/Mail To
key.1 insert http://sap.com/xi/XI/System/Mail To
value.1 TomailID
key.2 delete http://sap.com/xi/XI/System/Mail From
key.3 insert http://sap.com/xi/XI/System/Mail From
value.3 FrommailID
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.