on 07-20-2009 12:37 PM
H i Guys,
I have requirement like to send mail through UDF if Some condition fail in Mapping
Please give answer urgently
Thanks
Hi,
Refer my wiki [ Mail without email adapter? Part - I|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=90570965].. to send email from UDF...
~SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you find a solution ?
Because I tried to do this wiki in a PI 7.1 and I have the same issue.
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=90570965
I created the Imported Archive "IA_Mail" inside a namespace N1 and Folder F1. Activation is ok.
In my existing Function Library (defined in namespace N1 and Folder F2),
- I added the UdF of this wiki,
- inside the tab "Archived Used", I added a line with my Imported Archive "IA_Mail"
- inside the tab "Import instructions", I added at the line 7 the sentence "mail.sdn.*"
No problem here, the Function Library is well activated.
Then I used this UdF inside my Message Mapping (defined in Namespace N1 and Folder F3).... but when I try to activate the Message Mapping, I have the following error:
Java Area import, Line 7:
package mail.sdn does not exist import mail.sdn.*; ^ Note: /usr/sap/XYZ/aaaaaaaa/j2ee/cluster/server0/./temp/classpath_resolver/Mapb067fb3075f711deb809d28fa0003002/source/com/sap/xi/tf/_MM_File_2_File_.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/XYZ/aaaaaaaa/j2ee/cluster/server0/./temp/classpath_resolver/Mapb067fb3075f711deb809d28fa0003002/source/com/sap/xi/tf/_MM_File_2_File_.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
So even if Function Library is well activated, it seems that something is bad !
Have you an explanation ?
Thanks
Mickael
Edited by: Mickael Huchet on Jul 21, 2009 1:48 PM
hi,
>>>H i Guys, I have requirement like to send mail through UDF if Some condition fail in Mapping
check those conditions in receiver determination and send mail using mail adapter
>>>Please give answer urgently
please read rules of engagement for forums or we will block your threads
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jayan,
Why do you want to use a UDF for sending mails?
YOu can simply configure Alerts right?
http://www.saptechies.com/xi-alerts--step-by-step/
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 |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
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.