Alerts through Email Using BPM
Hi Friends,
can anybody help me on BPM as i am new to BPM.I need a help from you , i want to send an alert through Email using BPM can any body send me a sample scenario related to this one.
In BPM you create the Alerts. In Alert Configuration (in RWB) you can define for each Alter Category whether it is to be forwarded via Email.Prerequisites for that:
1. XI/PI must have been configured to send Mails (SMTP)
2. All receivers must have maintained an Email Adress in SU01
3. Only users defined in XI/PI can get the mails.
4. Schedule the regular sending of Emails out of the XI/PI system using transaction SCOT
5. The Mail Server (Lotus Domino or Exchange Server) must accept Mails from XI/PI system (Server and Port). Ask your Mail Guys.
6. If you do not define the Mail Server as IP address in SMTP configuration take care that the XI/PI is able to resolve Server Name to IP Address (e.g. by maintaining local hosts ob XI/PI).
Hope this helps!
Regards,
Volker
Similar Messages
-
Hi Experts,
Is there any possibility to send SAP B1 alerts on email to the users.
While creating alerts through alert management,there are several check boxes like SMS,email etc.I tried sending alerts through email but not succeeded.
My requirement is to send the alerts to all SAP users through message and also through email.
Kindly help me out.
Thanks in advance.
Regards,
AshishDear Experts,
Following are the steps i performed in order to receive email alert
1. Created a user with email id.
2. I selected minimum stock deviation alert.
3. I checked both internal and email.
4. Did a goods receipt and a sales invoice to trigger the relevant alert.
5. Internal got triggered now wish to know how to get the same through email.
6. Is there any references available from SAP?
7. Can SBO Mailer be used for the same? Do guide.
As guided further these steps were also followed,
1. SBO Mailer setup
2. Give SMTP server in the general settings.
3. Test connection proved successful
4. Checked Send notification by internal mail
5. Connect Database
6. Schedule based on minute
In spite of all these done the alert did not generate through Email. The version imy client is on is SAP B1 2007B PL15, Could you be kind enough to guide how the same can be perfomed.
regards
saravanan -
Unable to send photo through email using iphoto theme (designs)
Unable to send photo through email using iPhoto theme (designs) using the SHARE button.
Error message:
Your email did not go through because the server did not reply.
Check your Internet connection.
If the connection is working properly, the email server may be down.
Try sending your email again later.Your email did not go through because the server did not reply.
Check your Internet connection.
If the connection is working properly, the email server may be down.
Try sending your email again later.
Are you using Yosemite and not apple's Mail app? Then you may need to set up an app-specific password: See the post below:
Re: I am using iPhoto version 9.6 and I can no longer get an email sent with a photo attached. I get an error message saying the email did not go through because the server did not reply. I can send the photo with Mail. Help!in response to Gary Kissler
This solution is for those of you using 2-step verification for your Apple ID and are using iCloud as the mail server that you are trying to mail photos with.
I too had this issue. The problem in my case occurred because I had setup 2-step authentication for my Apple ID. If you have done this then you will get the error message "the mail server did not recognize your email/password...". To solve the problem go to:
https://appleid.apple.com
Click "Manage Your Apple ID"
Verify your identity with the device you selected (if this step does not show up then you have not likely set up 2-step authentication and this is not your solution)
Click Password and Security in the left column
Click Generate an app-specific password
Enter iPhoto as the name of the app
Copy the password and paste this into the password box in iPhoto where you would normally enter your apple ID (in the mail account section in iPhoto preferences).
And...voila' (I hope) -
Multiple table format through email using powershell
Hi All,
I have a powershell script which executes a SQL Query on three SQL instances and provides the result in table format through email. The output email contains all the result of the query in a single output itself. Please help me, I have provided the code
which I am using
Sample output format which I am getting:
ServerInstance
Databasename EnabledStatus
Instance1 Database1
Enable
Instance1 Database2
Enable
Instance1 Database3
Enable
Instance2 Database1
Enable
Instance2 Database2
Enable
My requirement is I should get two table formatted email like below:
Database status of Instance 1
ServerInstance
Databasename EnabledStatus
Instance1 Database1
Enable
Instance1 Database2
Enable
Instance1 Database3
Enable
Database status of Instance 2
ServerInstance
Databasename EnabledStatus
Instance2 Database1
Enable
Instance2 Database2 Enable
#This PowerShell Scrip is well-suited with PowerShell V3.0
#import SQL Server module
#Import-Module SQLPS -DisableNameChecking
#get all the instances and temporarily store them in a variable
$ServerInstances = Get-Content "C:\SQL_Servers.txt"
$scriptFile = "C:\restoredetails_mountdrive.sql"
$a = "Hi All, <BR> <BR>"
$a = $a + "Below is the TESTING Environment. This is an auto-generated mail.<BR><BR>"
$a = $a + "<style>"
$a = $a + "BODY{background-color:white;}"
$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 0px;width:150%;cellspacing=0 ;padding: 10px;border-style: solid;border-color: black;background-color:#43B2B2;font-family: Verdana;font-size:13 }"
$a = $a + "TD{border-width: 0px;width:150%;cellspacing=3 ;padding: 10px;border-style: solid;border-color: black;text-align: left;background-color:white;font-family: Verdana;font-size:11}"
$a = $a + "</style>"
#he database we want to execute it against, regardless of the instance
$DBName = "master"
#iterating through all instances.
$ServerInstances |
ForEach-Object {
#For each instance, we create a new SMO server object
$ServerObject = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Server -ArgumentList $_
#use the Invoke-Sqlcmd cmdlet to execute the query
#we are passing in the pipeline is the instance name, which is $_
$refresh_output1 = $refresh_output1 + (Invoke-Sqlcmd `
-ServerInstance $_ `
-Database $DBName `
-InputFile $scriptFile
#-Query $SQLQuery
[string]$tst = $refresh_output1 |convertTo-Html -Head $a -property InstanceName, DatabaseName,OverallStatus | Out-String
write-output " "
[System.Net.Mail.MailMessage]$message = New-Object System.Net.Mail.MailMessage("emailid.com", "toemailid.com", "Subject", $tst )
[System.Net.Mail.SmtpClient]$client = New-Object System.Net.Mail.SmtpClient("smtpserver",25)
$Message.IsBodyHtml = $true
$client.Timeout = 100
$client.Send($message)Generally it's best to post in the Hey Scripting Guy forum, they are scarily good in there. Someday i hope to give an answer so perfect that not even jrv can improve on it.
Your approach might be possible but it's not the way i'd do it. The ConvertTo-HTML is pretty clever, it works well with arrays of objects. If you were to load each result into a custom PSObject then add that to an array of them for later processing you can
get the table formatting almost for free.
I haven't worked with SQL queries in a bit but this might work, it seems ok when i put token results in for the SQL result.
#This PowerShell Scrip is well-suited with PowerShell V3.0
#import SQL Server module
#Import-Module SQLPS -DisableNameChecking
#get all the instances and temporarily store them in a variable
$ServerInstances = Get-Content "C:\SQL_Servers.txt"
$scriptFile = "C:\restoredetails_mountdrive.sql"
$a = "Hi All, <BR> <BR>"
$a = $a + "Below is the TESTING Environment. This is an auto-generated mail.<BR><BR>"
$a = $a + "<style>"
$a = $a + "BODY{background-color:white;}"
$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 0px;width:150%;cellspacing=0 ;padding: 10px;border-style: solid;border-color: black;background-color:#43B2B2;font-family: Verdana;font-size:13 }"
$a = $a + "TD{border-width: 0px;width:150%;cellspacing=3 ;padding: 10px;border-style: solid;border-color: black;text-align: left;background-color:white;font-family: Verdana;font-size:11}"
$a = $a + "</style>"
#he database we want to execute it against, regardless of the instance
$DBName = "master"
#Create an empty object collection
$objectCollection = @()
#iterating through all instances.
$ServerInstances |
ForEach-Object {
#For each instance, we create a new SMO server object
$ServerObject = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Server -ArgumentList $_
#use the Invoke-Sqlcmd cmdlet to execute the query
#we are passing in the pipeline is the instance name, which is $_
$SQLResult = (Invoke-Sqlcmd `
-ServerInstance $_ `
-Database $DBName `
-InputFile $scriptFile
#-Query $SQLQuery
$objectCollection += New-Object -TypeName PSObject -Property @{
"InstanceName" = $_ ;
"DatabaseName" = $DBName ;
"OverallStatus" = $SQLResult["OverallStatus"];
$objectCollection | ConvertTo-Html -Fragment
[System.Net.Mail.MailMessage]$message = New-Object System.Net.Mail.MailMessage("emailid.com", "toemailid.com", "Subject", $objectCollection)
[System.Net.Mail.SmtpClient]$client = New-Object System.Net.Mail.SmtpClient("smtpserver",25)
$Message.IsBodyHtml = $true
$client.Timeout = 100
$client.Send($message) -
Dear Forums,
I would like to know that does the alert only sending out via email when the user logging in SBO?
Because I cannot receive the alert email when i haven't log in.
But when i logging in SBO, the alert email send out steadily.
Thank you for your kind help!!
Best Regards,
DorothyAccording to SAP support alerts are not sent or received unless a user is logged in. For example if an alert is setup to be sent to person abc at 6:00AM that person will not recieve the alert until they log into Business One. I am laso trying to get clarification on alerts that are sent as emails but support is leading me to believe that the person that is sending the alert must be logged in. My opinion is that this is a serious issue as we have been struggling with alerts and early watch for years and the problem seems to be directed towards the mailer system.
I am personally escalating this case and have SAP support managers involved. -
From: Mozilla Firefox ([email protected])
Sent: Fri 8/26/11 10:54 PM
REF: REWARD.
Sir/Madam,
Your E-mail Address has won (Seven Hundred and Fifty Thousand Great British Pounds only) GBP750,000 in the Mozilla Firefox Online promo recently conducted. To claim the prize, contact us back for confirmation at: [email protected]
Congratulations!
Yours faithfully,
Mozilla Firefox Online promoHey you really won the reward! Contact them before it's too late!
Just Kidding! If that's true, thank you for your warning. -
Sharing pages docs through email ?
When I choose "Share" the words "Send via email" are greyed out. How can I send pages documents through email using this feature?
The Share facility in Pages works just fine with normal OS X acceptible file names and content. As was previously mentioned, Apple has chosen to make the Pages Share menu categorical headings light grey. These headings, ”Send via Email,” and “Export,” are separators for the real items that immediately follow.
I have a Pages document open in front of me. I want to send it as an e-mail attachment. I choose the Share menu, and decide that under ”Send Via Email,” that I want a PDF attachment. The only confirmation of success is that Apple Mail launches a composition window with the open Pages document attached as a PDF. If you are using a different Mail User Agent than Apple Mail, this behavior will not likely happen.
In the Pages Help menu, there is a link to the Pages Users Guide. It is a useful read. -
How do you send a attachment through email on iPad 2
How do you send a attachment through email using iPad 2
How to Attach Photos and Videos to Emails on an iPhone or iPad
http://www.wikihow.com/Attach-Photos-and-Videos-to-Emails-on-an-iPhone-or-iPad
iPad Basics: Sending an Email With An Attachment
http://ipadacademy.com/2012/03/ipad-basics-sending-an-email-with-an-attachment
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Send Multiple email Attachments from your iPad or iPhone
http://ipadacademy.com/2014/03/how-to-send-multiple-email-attachments-from-your- ipad-or-iphone
Cheers, Tom -
Regarding Email alerts Using BPM
Hi All,
i need to send an Email Alert through using BPM here is the scenario where customer is entering some data which is coming thru Web Service to XI,
1) so here i have to validate the customer using SQL Database if customer exists then it should proceed further or else it should raise an alert.
2)Once its validated it should go thru another division check from SQL database, Based on the division if we have it as 00 then order should be created in R3 server or if is 10 the it should be created in SQL Server.
3)If no division exists an alert should be raised.
i just need to know the that for this above scenarios how many Alert category should i have to make
or
is it possible to create only one alert category to raise this two Email Alerts pls suggest ...............
Thnks you
Azeez khan.Hi All,
Thanks for the quick responces,
I have created all the steps required to send an Alert using the given Above blogs here i am facing some issues like
1) in properties tab of the BPM were we have a options like Alert Category
Alert Desception
here my doubt is can i give the same Alert category to the Above two conditions as per my Scenario ABove ie
For Validation Alert & Division Check .
And also here we are using BPM so is it necessary for me to write An java codes for the Above Requriments
Kindly guide me if i am mistaken .
Regards,
Azeez khan . -
How can I attach a photo to an email using Photoshop Elements 9, without going through the Adobe Revel cloud?
Adobe user wrote:
I'm using Windows 7. I have no email clients.
You don't need an Email client nor Adobe Revel account to send email and photos as attachment. All you need is an email account (could be free web-based account such as Gmail, Outlook, Yahoo, AOL or whatever including from your own ISP. And of course an Internet Connection.
Now the most obvious requirement is out of the way so you need to go in to your Organizer and click on Share button and choose Photomail. Select the photo you want to send and follow the instructions that are on your screen.
You also need to request an Adobe Verification Code to enable you to use Adobe's Mail Servers to send the photos for you. To do this go to:
Edit >> Preferences>> Sharing
Look for something like this and fill out the red boxes where indicated (click on this image to see it clearly).
Hope this gets you started. -
Alerts-Idoc to File Scenario using BPM
Dear all,
At the sender side,I am sending 2 Idoc's orders03,orders04 Idocs I am Merging in to single at my mapping level and sending to the respective receivers.
When even some error occurs at system level or application level,an alert must be sent to the respective valid receipents.
My question is,when creating the Alert Rule how to use the interfaces(orders03,04) (here I have multiple senders).
Is Alert rule required in BPM scenario's?if not let me know how alerts would be triggered for bpm scenarios.
Thanks,
SriniHi,
Let me see if I had you requirement correct.
When the Idoc is sent from R3, sender partner type is LS and Receiver Partner Type is LI.
If yes,
1. Create a Party in ID.
2. The Agency , Scheme and Identifier will have values,
Agency --> Receiver Business System name or Business Service Name to be used for File.
Scheme --> ALE#LI
Identiier --> Value of the RCVPRN field in the idoc control Record. Basically the Receiver Partner Name.
All the Configuration In ID will use this Party as the Receiver Party and the corresponding Service asthe Receiver service.
No need for a sender party as sender partner is LS.
Regards
Bhavesh -
Dynamic text in PI Alerts without using BPM
Hello everyone,
Is it possible to have dynamic text in alert mail subject or mail details without using BPM in PI?
If I want to configure generic single alert category for all interfaces in my project , and in the subject line of Alert mail, I need to have the Interface ID (unique identifier for that interface) or integration directory scenario name for which this alert has been raised, then is it possible to use some custom alert container for this purpose? Or is there any other way to have these dynamic texts ?
We are using PI7.1 in project landscape.
Thanks in advance,
MinalHi,
>>I need to have the Interface ID (unique identifier for that interface) or integration directory scenario name for which this alert has been raised
those two are not available in the container:
http://help.sap.com/saphelp_nwpi71/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
Regards,
Michal Krawczyk -
Is there any way to configure or to trigger an alert without using BPM???
Thanks in advance,
Jeevan.Hi,
You can do that using creating ALERT Rules in your
RWB-->ALert Configuration
You will have to:
1. Create ALert categories.
2. In the 'ALert configuration' add Alert Rules ot the Alert category.
Whenever an error happens, the Alert will be triggered by the ALert Framework.
More details here:
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
Regards
Vijaya
Message was edited by: vijaya kumari -
Regarding sending email alert through RFC
Hi,
Iam creating an email alert to my Alert Inbox via RFC when Message mapping error occurs and I created a UDF which contains the following code
public void UDF_ALERT (String[] message,String[] Category,ResultList result,Container container){
try {
Channel channel = LookupService.getChannel("RS6CLNT800","CC_UDFALERT_RFC");
RfcAccessor accessor= LookupService.getRfcAccessor(channel);
String rfcxml="<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:SALERT_CREATE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><IP_APPLICATION_GUID/> <IP_CAT>ALERT_MESSAGE_MAPPING</IP_CAT> <IT_CONTAINER><item><ELEMENT>SXMS_ERROR_CODE</ELEMENT> <TAB_INDEX>0</TAB_INDEX> <ELEMLENGTH>250</ELEMLENGTH> <TYPE>C</TYPE> <VALUE>node not available</VALUE> </item> </IT_CONTAINER></ns0:SALERT_CREATE>"; //Generate XML Structure......
InputStream inputStream= new ByteArrayInputStream(rfcxml.getBytes());
XmlPayload payload = LookupService.getXmlPayload(inputStream);
Payload rfcOutPayload = null;
rfcOutPayload = accessor.call(payload);
catch(LookupException e)
throw new RuntimeException(" Error in raising Alert", e);
but still Iam not getting mail to my Alert Inbox
and I created my Alert Category in R/3 system.Is it fine...
please help me reagrding my UDF and also anything further needs to be donehi vikram,
just see the below blog which explains how to trigger alerts from UDF using RFC(if you didnt see this blog yet)
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
also have a look at the following links to see how to define alert category, alert rule etc properly
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
To test if your Alerts have been defined correctly, go to SE38. type RSALERTTEST and then click on execute it will ask you for your ALERTCATEGORY, give the name of your ALERT CATEGORY and click execute.
If you configured alerts properly you will get a message that tells "alert is generated" and will give the ALERT ID.Now, go to RWB open ALERT INBOX and see if you have got the alert message in your ALERT INBOX.
Kind Regards
Francis -
Can't send Notes through email and it used to work. The same problem of sending picture from iPhone message. Did the reset twice but still not working
Try a reset:
Hold the Sleep and Home button down for about 10 second until you see the Apple logo.
Maybe you are looking for
-
It's definitely the usb 2.0 7-port hub--Staples brand, which they think is Belkin--hub several years old and fine until just recently, and happens with a brand new hub, too (also Staples, also believed to be Belkin). The crash is a total freeze, usu
-
Open pdf in new window from an iframe
i have a web page with an iframe that displays pdf's chosen from a drop down menu. i need to be able to make the current pdf open from the iframe into a new window. any ideas? thanks Larry
-
Disk is too slow or System Overload.
I was working on a project that had a little over hundred tracks, and got this error. I thought that it was understandable, as I had many tracks(even though I was only recording one), so I started a new project to record it, with only one track. But
-
Where can I get a compiler?
Where can I get a compiler that I can use that is like sun's but doesnt use an IDE?
-
Collate multiple calendar entries
Hi Guys, I have a family of 5 all on iPhone's and IPads with thier own calendars. My wife and I also have work calendars. To keep track of what our kids are up to we get them to 'invite' us to events in thier calendars (work shifts etc) so that if