ChaRM sending e-mail at user status confirmed
Desired task:
Sending e-mails in change management process with condition configuration using user status
Partially solution:
Define actions and conditions in ppf with "processing time" = "processing using selection report" and execute these action by report rsppfprocess, BUT
Problem:
If you would like to send an e-mail after action "confirm change", the described solution doesn't work, because in Solution Manager status will be change within method call HF_SET_STATUS and not directly like in Service Desk or other CRM Transactions.
Question:
Is there any other solution to send emails in Change Szenario? Probably in Alert Management or 'Actions in Change Request Management / BAdI-Extension Implementation?
Thanks for any hints.
Best regards,
Stephan
Hi,
I am glad to hear it is possible.
Yes I created the action under SDCR
The Partner-Dependent is checked and Partner Function is given as SDCR0002(Change Manager) under Partner Determination for this action.
What action merging did you use? I have tried u201CSet Highest Number of Processed Actionsu201D and u201CMax. 1 Unprocessed Action for Each Action Definitionu201D
But it is still not working.
In the message I select the Transaction Data tab, then the Actions tab, and check if the action is triggered. I do not see my action appearing here.
Similar Messages
-
If PO is released I have to send a mail through User Exit
Hi,
Please let me know the relevant user exits for below requirements.
a. When the PO is released, the system will check for that PO Parked invoice exists or not, if yes I have to send a mail to creator of the Invoice through user exit.
b. PO Exist but NO GR (for goods only not services) , each time an invoice is parked for Goods PO. send mail to PO Creator and storekeeeper through user exit.
Please give me relevant/suitable user exits for above both requirements.
Regards,
GaneshHi Ganesh,
Please move this to [Enhancement and Modifications|ABAP Switching, Enhancing, and Adapting Standard Programs; forum
Cheers
Suresh -
CHARM how to add new user status to change document
Can someone please suggest how to add a new user status to a change document ?
I am looking into adding status "Pending" to Admin correction SDAD.
Thank you in advance
ElenaHello,
Asides from the obvious adding of a new status to status profile SDADHEAD, you may want to have a look at the SPRO activities:
SAP Solution Manager
-> Scenario-Specific Settings
-> Change Request Management
-> Extended Configuration
-> Change Request Management
-> Change Transaction
-> Change Transaction Types
o Define Status Attributes
Also activity "Make Settings for Change Transaction Types" in the same path is important.
Best regards,
Miguel Ariñ -
Can't send e-mails to personal e-mail account outside the company
Hello
I'm trying to use UTL_SMTP package to send e-mails to users either by pressing a button, or deployed by a trigger. I'm using procedure Send_mail to do it but encountered a problem:
if it's a company e-mail address, it works fine - although i haven't been able to put more than 2 recipients at the same time (ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address). if it's a personal account, it returns error ORA-29278: SMTP transient error: 421 Service not available.
At this point, procedure's parameters are all static.
I've tried using procedure Send of UTL_MAIL package but, having also static parameters, when sending to a personal account outside the company it also returns error ORA-29278.
What am i doing wrong?
Many thanks for your replies!I forgot to pass port 26 as a parameter in UTL_SMTP package.
-
How to send notification mail by IDM 7.1?
HI,
I configured the idm 7.1 and want to send notification mail to user when a new user is created.
But I can not get email from IDM. I think the SMTP server is right and I can telnet to SMTP server and send mails.
How to test the IDM configuration is right ? or how to test send mail notification by an easy way ?
Thanks.I configured the IDM from Configure--> servers -->Edit Server Settings page ,Email Template, as filled form:
Default SMTP Server 192.168.22.222
Use default
Default SMTP Port 25
Use default (25)
SMTP Port 25
SMTP Authentication Enabled
Use default (true)
Authentication Enabled
User Id idmmail
Password *****
Default SMTP Enable SSL
Use default (false)
SSL Enabled
Disable Certificate Authentication
When I run the "ALL USERS" report, I select the 'Email Report' and filled the mail address. But after running the report , I can't receive email and no error messages displayed.
Could you tell me how to do I can debug or trace the messages if the IDM sent or not sent mail , if it connects to mail server ?
Thanks. -
I am using Jakarta-Tomcat 4 server and strut framework for my simple application. I would like to send e-mail to users weekly about their account balance or when ever their account balance is below certain amount. How should I do this? What are my options? I am a novice in this kind of technology.
Thank you.
AnuragI am also trying for the same question any one can
help me outTake a look at the jGuru JavaMail Tutorial.
http://developer.java.sun.com/developer/onlineTraining/JavaMail/
You can pretty much just cut-and-paste their examples into your own program.
You can then pass your parameters (send-to, cc, bcc, body, etc.) from a JSP to a servlet which will call your e-mail program.
For example, if you set up a form in the JSP
<form method='post' action='sendMailServlet'>
<table>
<tr><td>To:</td><td><input type='text' name='mailTo'></td></tr>
<tr><td>Subject:</td><td><input type='text' name='mailTo'></td></tr>
<tr><td>Body:</td><td><textarea name='body'></textarea></td></tr>
<tr><td align='center' colspan='2'><input type='Submit' value='Send Mail'></td></tr>
</table>
</form>
In your sendMailServlet:
String mailTo = (String) request.getParameter("mailTo");
String subject = (String) request.getParameter("subject");
String body = (String) request.getParameter("body");
// It is also good idea to check for null values and replace
// them with empty strings.
// Now call your sendMail program.
// If it returns true for success and false for failure:
if ( sendMail(mailTo, subject, body) )
out.write("Mail sent succesfully");
else
out.write("Error sending mail"); -
Extract SAP Background Job list to excel and E-mail to User
Hi Experts,
I am a Basis consultant and have a requirement to download the list of finished & cancelled SAP BG jobs of previous week to excel and send e-mail to Users. For now we are doing this manually every week, Is this possible to automate this process? Please help to share your views.
Thank you very much in advance.
Regards,Hi Mariano,
Thanks for your reply. Yes, I have already checked TBTC* tables but i want to know is there any standard report/program that can be scheduled on daily basis to download all the required data from SAP to excel?
Regards, -
Reminder mail to users after expiry of their password
Hi All,
Does OAM able to send reminder mail to users after expiry of their password? If yes how?
Regds
ManojSounds like you are looking for something like a thread that watches the age of the password in the directory and notifies the user when an 'expiry' event is detected (based on the clock).
There is nothing in the product that is time or 'monitor' based. You could easily build such a service and execute it from the system (cron / scheduled tasks). Consume obPasswordCreationDate and work your magic from there. I've also had some good success building on such features using quartz [http://www.opensymphony.com/quartz/].
All OAM event process are based on user initiated events - login in the case of password expiry notification warning.
Mark -
How to send a mail about the test plan status
Hi
I have finished the development of ecatt automation test cases.
And I have integrated the ecatt automation test cases into the test plan of TWB.
I have scheduled a job in background to run the test plan.
After the job has finished, I need to send a email to related users to tell them the status of each test cases in the test plan.
Is there any way to implement it?
Thanks a lot in advance!Hello,
You can send mail with the status of the test catalog-
specify a mail system to which Test Workbench test objects send messages to the people responsible
Please refer the below link for more information:
http://help.sap.com/saphelp_smehp1/helpdata/en/6a/88370a002911d2bd02080009b4534c/frameset.htm
Regards, -
How to send a mail to the user when a job gets canceled?
Hi experts,
I need to send a mail when a job gets canceled to the user.I know the FM for sending mail and i can find if a job is canceled from tbtco,but i want to know how to send the mail from the same program ,once it got canceled ?
thanks in advance,
helpful answers will be awarded with points
regards,
ashwinHi Ashwin
Use the below peace of code:
REPORT ZBCJOBMONITOR .
TABLES: SOMLREC90,
TBTCO.
DATA: MAILDATA LIKE SODOCCHGI1.
DATA: MAILTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: MAILREC LIKE SOMLREC90 OCCURS 0 WITH HEADER LINE.
DATA: I_TBTCO LIKE TBTCO OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
SELECT-OPTIONS: S_JOB FOR TBTCO-JOBNAME.
SELECT-OPTIONS: S_JOBC FOR TBTCO-JOBClass.
SELECT-OPTIONS: S_REC FOR SOMLREC90-RECEIVER.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
CLEAR: MAILDATA, MAILTXT, MAILREC, I_TBTCO.
REFRESH: MAILTXT, MAILREC, I_TBTCO.
PERFORM GET_ABENDED_JOBS.
PERFORM BUILD_RECEIVERS.
LOOP AT I_TBTCO.
PERFORM BUILD_TEXT_MESSAGE.
PERFORM SEND_MAIL_NODIALOG..
ENDLOOP.
Form BUILD_TEXT_MESSAGE
FORM GET_ABENDED_JOBS.
SELECT * FROM TBTCO
INTO CORRESPONDING FIELDS OF TABLE I_TBTCO
WHERE JOBNAME IN S_JOB
AND STATUS = 'A'
AND JOBCLASS IN S_JOBC
AND SDLSTRTDT = SY-DATUM.
ENDFORM.
Form BUILD_TEXT_MESSAGE
FORM BUILD_TEXT_MESSAGE.
DATA: DATE(10) TYPE C.
DATA: TIME(10) TYPE C.
MAILDATA-OBJ_NAME = 'MONITOR'.
MAILDATA-OBJ_DESCR = 'Batch Job Monitor'.
MAILDATA-OBJ_LANGU = SY-LANGU.
CONCATENATE 'Job Name:' I_TBTCO-JOBNAME
INTO MAILTXT-LINE SEPARATED BY SPACE.
APPEND MAILTXT.
PERFORM FORMAT_DATE USING I_TBTCO-SDLSTRTDT
DATE.
CONCATENATE I_TBTCO-SDLSTRTTM+0(2) ':'
I_TBTCO-SDLSTRTTM+2(2) ':'
I_TBTCO-SDLSTRTTM+4(2)
INTO TIME.
CONCATENATE 'Start Date/Time:' DATE TIME
INTO MAILTXT-LINE SEPARATED BY SPACE.
APPEND MAILTXT.
CONCATENATE 'Job Class:' I_TBTCO-JOBCLASS
INTO MAILTXT-LINE SEPARATED BY SPACE.
APPEND MAILTXT.
MAILTXT-LINE = 'Job has terminated abnormally'.
APPEND MAILTXT.
ENDFORM.
Form BUILD_RECEIVERS
FORM BUILD_RECEIVERS.
LOOP AT S_REC.
CLEAR MAILREC.
MAILREC-RECEIVER = S_REC-LOW.
MAILREC-REC_TYPE = 'U'.
APPEND MAILREC.
ENDLOOP.
ENDFORM.
Form SEND_MAIL_NODIALOG
FORM SEND_MAIL_NODIALOG.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = MAILDATA
DOCUMENT_TYPE = 'RAW'
PUT_IN_OUTBOX = 'X'
TABLES
OBJECT_HEADER = MAILTXT
OBJECT_CONTENT = MAILTXT
RECEIVERS = MAILREC
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
Form FORMAT_DATE
FORM FORMAT_DATE USING IN
OUT.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = IN
IMPORTING
DATE_EXTERNAL = OUT
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 1
OTHERS = 2.
ENDFORM.
Regards,
Sree -
Delayed mail for internal user send a mail to gmail account
hi to every one,
Today we are facing an issue in exchange server 2010
Whenever internal user send a mail to some of gmail accounts user receives a mail from postmaster states that
This is an automatically generated Delivery Status Notification.
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipients has been delayed.
Action: delayed
Status: 4.4.7
Will-Retry-Until:
Regards
Kart26Hi,
Did the issue occur when the specific user you mentioned above sent email to two gmail users at a time?
Is there any recipient limit for this specific user?
To narrow down the issue, I recommend you check the smtp log about this specific user for related messages.
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
Auto Population of Email Definition fields while sending mails to user
Hi,
I have the requirement that after a resource object has been provisioned to an user, a mail should be sent to him for confirmation.
I am able to successfully send mails to users after the resource object has been provisioned to him by making the configuation settings in the OIM system.
I have made use of a Resource Object , Resource Form , IT resource of type mail server , Email definition etc.
The point is while provisioning the resource object I am populating the User Defined Fields. These fields are visible at the xlWebApp console through the resource form. I am populating these fields while requesting the resource through the xlWebAPp UI.
Now i need to send mails to the user with these fields populated with the values that i m providing while provisioning the resource. Currently my sent mails just consist of plain email definition with a subject line and a body text.
Please let me know how can i include the values in the populated fields in the body of the mail through settings in OIM.
Since i m a QA person i cannot go ahead and write code for creating an adpater for this task. Kindly let me know is there any way by which I can do the same through config settings in OIM.
Thanks in advance.
Pooja.Hello,
Actually i have a resource object as "Laptop" suppose, so for me the user defined fields are Laptop_type, RAM value, ROM Value and Emp ID.
These fields are made visible as UDF through Pre-pop adapters and all the other required settings.
While provisioning the same in the xlWebApp console I am populating them.
The resource form for me (Form Designer for the resource object) is made visible and i am filling in values while provisioning.
Now while sending the mails these values should reflected in the mail body for the fields.
Eg: Subject [hi] Mail body [ The following resource has been provisioned. Laptop_type : Dell, RAM value: 512, ROM value: 40, EMP ID: 123] where these values are filled in the resource form while provisioning the resource object.
Pleased let me know how can i send such mails through config settings in OIM. Right now my mail simply looks like
Eg: Subject [hi] Mail Body [The resource has been provisioned to you]
Thanks again.
Pooja. -
Sending e-mail only if the status changed from a specific status
Hi Gurus,
There are a lot of thereads about sending an e-mail when the status is changed to something...
But ,Is there any way to check the <u>previous status</u> prior to send the e-mail?
For example;
I want to send an only e-mail to message processor when the status is changed from "customer action" to "In process" but not when the status is changed from "new" to "In process"
In my opinion to achieve the scenario above there must be something else so-called "previous user status" in the condition creation screen. But there is no...
Thanks in advance,
GencayHi Suzi,
You should select "Value of Item in Expression 1 = Expression 2" as condition in your mail processes. For the approved process, write Approved as Expression 2 in the condition, and Rejected for the rejected process. For both processes write P5_STATUS in Expression 1.
Hope that helps.
Regards,
Sergio -
Send e-mail from specific user
Hello!
I'd like to create two different sending from SAP System - the first is monthly and the second is everyday.
May I schedule jobs either send mail from concrete SAP Users?
Otherwise Everyday job also can send preset messages from monthly job...
SAP Release: NW 2004
Thanks and Regards,
A.M.Hello A.M.,
You cannot schedule the job to send emails from specific users. If the send job is configured to run for INT, for example, it will send all emails with status 672 in SOST.
One thing you can do is to set waiting time in the emails. To do this, go to SOST, select the emails you want to set a wait time and click on the button "Set Wait Time" (it's a clock icon next to the delete button).
Regards,
Tiago -
Hello,
I want to send an email out when a charm request is created. I have set it up very similar to the way we set it up for sending emails from service desk.
Using the appropriate status and action profile. I have Defined the start condition to be
&CRM Service Process.User Status&=E0001SDCRHEAD
But, When I create the Change Request, and look under the Transaction Data/Actions tab, I do not see the actions listed.
Why are these actions not being put into the change Request?
Thanks for any suggestions.Hi,
I am glad to hear it is possible.
Yes I created the action under SDCR
The Partner-Dependent is checked and Partner Function is given as SDCR0002(Change Manager) under Partner Determination for this action.
What action merging did you use? I have tried u201CSet Highest Number of Processed Actionsu201D and u201CMax. 1 Unprocessed Action for Each Action Definitionu201D
But it is still not working.
In the message I select the Transaction Data tab, then the Actions tab, and check if the action is triggered. I do not see my action appearing here.
Maybe you are looking for
-
Hp dv7t 4100 cto entertainment notebook pc blu ray problem
Hi i have a hp dv7t 4100 cto laptop .. i have windows 7 home premium os it read s all the disc i inserted.. but when i insert a new empty disc it is not at all reading or responding. the same thing happens when i insert blu ray discs i cannot write
-
Blue Screen on Domain controllers after Updates
After patching our Domain controllers (virtual on ESXi 5.5 U2) recently we started getting Blue screens and reboots. Other changes in our environment around this time include enabling vshield drivers and scanning with Trend Micro. I have removed patc
-
Restoring wine menu in KDE [SOLVED]
Hi, i'm using KDE 4.4.1 and wine. Before i decided to clean up mess in KDE menu, all wine installed menu items were under "lost and found" As http://wiki.archlinux.org/index.php/Win … Fix.5B1.5D states, i have edited /etc/xdg/menus/kde-applications.m
-
Hi, Could u tell me the Process of PR RFQ and PO. Tell me in Step by step. Thanks & Regards, Dhanush.S.T
-
How do I validate the digital signature ? Looks like the digital signature is added to the Trusted Identities. But there is a message displayed as "Selected certificate path has errors - Invlid Signature". What do I do to validate ? The sender of thi