Mails not triggering in CHARM
Hi Experts,
I have configured Solution Manager 4.0 for CHARM. It is working fine. My requirement is that, it should trigger mail whenever support team changes.
Initally, I defined a action to trigger mail once whenever a support team is assigned. It worked fine. But the problem with this setting is that, whenever I change support team, it is not triggering a mail and this is understood because I configured to trigger once only. So, I changed the setting of action to "unprocessed", it starts triggering mails whenever I change the support team.
Now Issue is that, it is also triggering the mail to support team whenever the transaction is saved (Ex: When I create change document for a support message, transaction saves automatically) even though support message is not changed. This leads to unnecessary mails.
In order to avoid unnecessary mails, I deleted the existing action and created a new one wherein start condition was not maintained but maintained setting under scheduled condition as per SAP note 865619 and implemented BADI also.
Now I am not getting a single mail whenever a support team is assigned or changed.
Any suggestion please provide.
Thanks in advance.
Regards
Kumar
Hi Kumar,
This can be done very well.
For this you can implement the BADI ORDER_SAVE, method CHECK_BEFORE_SAVE.
In this method you write a code as mentioned below,
1. Use FM
WA_HEADER = IV_GUID.
Insert wa_header into table lt_header.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
IT_HEADER_GUID = lt_HEADER
IT_ITEM_GUID =
IMPORTING
ET_CUSTOMER_H = lt_customer_h
ET_ORDERADM_H = lt_orderadm_h
ET_OPPORT_H =
ET_PARTNER = lt_partner
ET_STATUS = It_status
ET_REFOBJ = lt_CRMT_refobj_WRKT
ET_SUBJECT = lt_CRMT_SUBJECT_WRKT
EXCEPTIONS
DOCUMENT_NOT_FOUND = 1
ERROR_OCCURRED = 2
DOCUMENT_LOCKED = 3
NO_CHANGE_AUTHORITY = 4
NO_DISPLAY_AUTHORITY = 5
NO_CHANGE_ALLOWED = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
2. You will get the Business Partners entered on the screen in the internal table lt_partner, read the address number1 for the partner function of the support team.
3. Get the contents from view CRMV_LINKPARTNER using the LV_GUID. And get the address number2 for partner function of the support team.
4. Compare the address number2 & address number1. If they are not equal then trigger a mail else don't.
Let me know if you need some more help.
Reward if it helps.
regards,
mahantesh
Similar Messages
-
ChaRM: Mail not triggered when current user = mail receiver?
Dearl all:
Ive noticed that mails are not triggered when the user who is processing a document is the same who will receive it. Is there any way to deactivate this functionality?
Thank you very much,
Federico.Hi Miguel, how are you?
I think it is a nice feature not sending a mail when the user who is changing the status in the one who would receive the mail in that next status. But Im in the testing pahse of implementing SOLMAN and I would like to know if this is a real feature or a flaw, and besides I would like to turn off this possible feature, just for the testing phase. This is not a big deal anyway.
By the way, I also notice that if there is a partner assigned multiple times to a document, it doesnt trigger the mails as expected.
Best regards,
Federico. -
PO Response mail not triggering in SRM SUS
Hi,
We are on SRM7 wtih ECC 6, When user click on Process, Confirm all and Send for a PO from SUS corresponding XML "PurchaseOrderConfirmation_Out" not triggered in SRM.
with the same settings in Dev and Quality xml triggered successfully but not in PRD
If any one come accross the same issue, please share the solution.
Regards,I think the shopping cart must be waiting for some approvals...
Please check the workflow log of the shopping cart...
PO will be created..once the shopping cart is released.... -
RSPPFPROCESS - mail not triggering for incorrectly processed PO
Hi All,
I tried executing the RSPPFPROCESS by giving a variant but I am not able to get the details of any incorrectly processed purchase orders in the output.
The RSPPFPROCESS program functions in such a way that if a PO is unsuccessfully processed, then on executing the RSPPFPROCESS program with status "Unsuccessfully Processed" a mail will be triggered to the creators whose POs were incorrectly processed.
But this is not happening in my case, the mail is not getting triggered at all.
The variant details are:
Application : BBP_PD
Action Profile : BBP_PD_PO
Action Definition : STANDARD_PO
Promotion status : 2 (ie)incorrectly processed
Processing type : MET
Time of Processing : Processing when saving document
The radio buttons: Ignore "Repeat" flag and Ignore "Generated Manually" flag are checked.
The check box "Number of Actions Outputted" is checked.
Please help.
Thanx in advance.
Regards,
Mary CatherineHello Prasath,
Please check your configuration on ERP/ECC
side in transaction SWETYPV. Here you can enable or disable the
event type linkage for BUS2012 and for CL_SE_PUR_PO_WF_OUT or any
customer-specific business object related to Purchase Orders which might
be in use. If you disable the event linkage for CREATE and/or change
event, no message will be triggered upon PO creation.
If this is not sufficient for your business process the usual logic is
that all Purchase Order message are being sent out when the event
linkage is active (e.g. you want to send out only some of the message
types possible). In this case you might want to make use of BAdI
PUR_SE_PO_INTERFACE_OUT_SELECT (enhancement spot / BAdI)."
Enhancement Spot: PUR_SPOT_SE_PURCHASE_ORDER
BAdI Definition: PUR_SE_PO_INTERFACE_OUT_SELECT
Interface: IF_PUR_SE_PO_IF_OUT_SELECT
BADI definition PUR_APPL_SE_POCONF_IN_ASYN
Also in the standard, for the following messages
PurchaseOrderChangedInformation_Out
PurchaseOrderERPRequest_Out_V1
PurchaseOrderERPConfirmation_Out
we are sending out these information as soon as a purchase Order is
created. We do not distinguish between the services all of them will be
triggered.
Hope this hepls
Ray -
Workflow mail not triggering for PO's to the Manager
Dear Seniors,
I am creating a PO and keeping in hold and later on saving the PO. But for those kind of PO's, the manager is not getting the mail for approval. But if i create a PO without keeping in hold with same data, system is triggering the mail to the manager. Why is it so? how can i make the settings to trigger the mail for hold-saved PO's. Please guide me.
Regards,
Prasath JHello Prasath,
Please check your configuration on ERP/ECC
side in transaction SWETYPV. Here you can enable or disable the
event type linkage for BUS2012 and for CL_SE_PUR_PO_WF_OUT or any
customer-specific business object related to Purchase Orders which might
be in use. If you disable the event linkage for CREATE and/or change
event, no message will be triggered upon PO creation.
If this is not sufficient for your business process the usual logic is
that all Purchase Order message are being sent out when the event
linkage is active (e.g. you want to send out only some of the message
types possible). In this case you might want to make use of BAdI
PUR_SE_PO_INTERFACE_OUT_SELECT (enhancement spot / BAdI)."
Enhancement Spot: PUR_SPOT_SE_PURCHASE_ORDER
BAdI Definition: PUR_SE_PO_INTERFACE_OUT_SELECT
Interface: IF_PUR_SE_PO_IF_OUT_SELECT
BADI definition PUR_APPL_SE_POCONF_IN_ASYN
Also in the standard, for the following messages
PurchaseOrderChangedInformation_Out
PurchaseOrderERPRequest_Out_V1
PurchaseOrderERPConfirmation_Out
we are sending out these information as soon as a purchase Order is
created. We do not distinguish between the services all of them will be
triggered.
Hope this hepls
Ray -
E-mail not triggering for published RFx ( Bid Invitaion) in SRM7.0
Hi Friends,
We implementing SRM7.0 with ECC6 ( Ehp4) and deploying Classic scenarion.Just configuring and testing RFx functionality.
In Vendor Master (Ext BP) I entered my Officale-mail id for testing and published one RFx. I'm expecting Bidder (means me) should get the e-mail RFx with URL of SRM to enter RFx Response with User ID and Password along with softcopy of RFx..but its not happening...
Can anyone please confirm me exactly what settings need to be done /ensured to get the Bidder, the e-mail RFx with URL of SRM to enter RFx Response with User ID and Password...any further services need to be activated.. ?
Response much appriciated.
Thanks
NAPIn front of RFx ststus is waiting (Yellow colour) with ststus Text " Wait for communications service" and in detail it mentioned
" Definition
A message was sent by the application. The status of the message is 'Waiting'.
Use
The message is in the queue. The SAPconnect send process will send the message during the next run." -
Mail not triggerring inside the condition.
Hi,
I am facing a problem when approving commercial validation through workflow
I have created an condition and inside the condition i have added the send mail
the email is sent if i put it outside the conditions
but if i put inside the conditions.. in the log and in the technical list
it shows status that mail sent
but when i see the log in the SOST transaction
it shows an grey icon with an status message 672 (no data to send in the que)
can anyone guide me, what would be the problem..
Thanks & Regards
dhineshdinesh,
technically a condition should not have any impact on the execution of send mail step except for that the condition should be satisfied for that branch.
try the following steps to find the problem
- check the binding of send mail step
- moreover instead of sending external mail try to send to sap inbox -
Subscription service mails not triggered
Hi,
I have included the following values in Allowed admin Notifications:-create,delete,updateresource,unsubscribe,updaterecipient,update.
I am receiving mails when the subscription is created, but no mails are received after renaming or changing the contents of the document or uploading a new version.
How can I resolve this issue?
Thanks in advance.Hi,
did you solve the problem?
I have the same problem here.
Regards
Edited by: Norman Planner on Jun 28, 2011 3:54 PM
Edited by: Norman Planner on Jun 28, 2011 3:55 PM -
Mailer Program Not Triggering Mail in ECC 6.0
Hi Experts,
We have upgarded from 4.6b to ECC 6.0,
In an program we are using function module
SO_NEW_DOCUMENT_ATT_SEND_API1
It was working fine 4.6b but In ECC it is not triggering mail to an internet address mentioned.
In SBWP I can see the mail in the out box, but the mail details are not appearing in SOST transaction.
Does any more specific setting required.
Even I am not getting any Exceptions while running the FM.
Thanks in Advacne,
Regards,
IFFHi,
Check if commit_work parameter of ur func module = 'X'.
Check the sy-subrc value after the FM.
In SOST in send status tab check all the check boxes n execute
in ur program add this piece of code...just below the FM SO_NEW_........
If sy-subrc = 0.
wait up to 1 seconds.
submit rsconn01 with mode = 'INT' and return.
endif.
Cheers,
jose. -
Mail not being triggered in background
Hi Experts,
I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail with attachments to the user. The program in which the FM is used is scheduled in background. The problem is in my dev system, the mail is getting triggered without any issues but in Quality system, the mail is not getting triggered but the job runs successfully. I got some expection with sy-subrc = 2 , sy-msgid = SO ,sy-msgtyp=A ,sy-msgno=013,sy-msgvi=ADDR_PERS_COMP_COMM_GET in QA . When i tried to debug the background job, mail gets triggered successfully.
Can you please share your valuable suggestions in this regard.
Regards,
VijayalakshmiHi Vijayalakshmi..
Can you please check whether the mail is reaching your sap outbox using tcode sbwp..
From what i understood if it is working fine in DEV and not in quality then it could be the mail configuration issue in QA.
You can also try one more thing. just got to sbwp and send a mail to the email id.
Regards
Ansari -
Hi,
I have a web service in my BPM. This web service is an automated activity to send an e-mail based on user's decision. Everything works fine, except the e-mail is not triggered.
I configured this e-mail using Logical Destination and when I tested in the WSNavigator, it sent an e-mail.
So, my question here is, how to make sure this web service is getting called and how to trouble shoot this.
1. I checked in NWA, there is nothing related to this e-mail Web Service.
2. Checked in Process Composer: Manage Tasks, I cant see anything here.
3. Web Service is working fine with both Logical Destination and without.
I appreciate any help. Thanks.
Sunita.Hi Sunita,
You didn't say whether you configured the application communication via NWA->SOA Management->Application and Scenario Configuration->Application Communication' (CE 7.2). Since your BPM process is calling a web service you have to assign a profile to it. More information is available here: http://help.sap.com/saphelp_nwce72/helpdata/en/0B/EF46DBC6FA43C580E58EF2A829E343/content.htm
O. -
Purchase Order email is not triggering
Dear Sir,
We have done all configuration step related to sending of external email for Purchase Order . But email is not triggering . We have also tested the SAPConnect , by sending a test mail using tcode SBWP and it is working ok .
After saving of PO (using ME22n) , We are getting following screen , but email is not triggering (in tcode SOST , we find no send request generated). We have maintained email id in XK02 for the Vendor also .
The configuration maintained is detailed in the attached file .
We request forum members to kindly help us for the problem resolution please.
With Regards
B MittalHi Mr Florian
Thanks for reply .
Now Email is getting triggered only if the Program-Name mentioned is Std one i.e "SAPFM06P" . But We change it to our customized one "ZSAPFM06P" then Email is not triggering .
I request forum members to kindly help me please .
With Regards
B Mittal -
PO workflow mail not sent to SAP Inbox
Hi All,
I have created a standard PO workflow WS20000075 , Task TS20000166 and in SPRO i have maintained Object type as "US"(user) and agent is maintained.No agent determination rule is maintained for the task.
When i create and Save PO, system is not triggering workflow to my SAP Inbox.
When i test the workflow using SWDD by giving PO number and release code, i am getting mail to my SAP Inbox
What setting i am missing to trigger the workflow to my SAP Inbox as soon as i save my PO.Hi,
I have verified the setting is SWDD -Basic data, event linkage and binding exists
The event to workflow container details are given below
&_EVT_OBJECT& &PURCHASE ORDER&
&RELEASECODE& &RELEASECODE&
&_EVT_CREATOR& &_WF_INITIATOR&
Please let me know what setup is missing to trigger the workflow automatically -
Dependent process task is not triggering - OIM 11.1.2
Hi All,
In 'AD User' process definition, I have added a process task 'send email' which will send a e-mail notification on User profile location change.
I made it a dependent task of 'Change AD OU' (process defined by me, triggers when user profile location is changed).
Test performed
1) changed User profile location attribute from identity self service.
Test Result
1) User profile Location is updated.
2) 'Change AD OU' process task is triggered and executed successfully. And process task returned success and the status value is 'C'
3) Dependent task 'send email' is not triggered.
Verified following
1) both process task are made unconditional.
Please help me in knowing, why the dependent task is not being triggered.
Thanks in advance
PraveenHi Rajiv,
Thanks for reply.
I configured it according the link provided.
Now facing below issue.
When I changed first name of a user from identity console, 'Change First Name' process task is triggered and is assigned to XELSYSADM (coz, in the assignment tab I added only XELSYSAD). But the status of the process task is Rejected. Also, the changed 'First Name' value is not updated in the process form of the user. Hence the change is not reflected into AD.
Please tell me why the status is Rejected and changes are not reflecting.
Also, Please provide the solution to auto provision the modifications into AD.
Thanks in Advance. -
Workflow not triggering on first save
Hi Experts,
I have a workflow which sends a notification mail to users.
A condition is set in the action profiles to trigger the workflow, once the condition is met, mail will be sent to users.
But,here the issue is workflow is not triggering on first save.Only when i again edit the same page and save it ,workflow is triggering and mail is being sent to users.
Can anyone pls let me know how to fix this ??Hi,
In transaction SWEC, i changed the setting from Change to Create and tried again but didn work .
Please let me know, any further changes needs to be made.
Regrads,
Ashwini
Maybe you are looking for
-
Windows 8.1, PSE 11 I am having a number of issues including loss of import functionality from scanner, I can't drag and drop photos into the editor any more as well, or at least not after the first one. The crop function stops working after the firs
-
Error While Opening Reports IN OBIEE11g
Hi Experts, I am getting the below error while opening the Reports in OBIEE. OBIEE 11g has been installed on the linux box . Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P State: HY00
-
Where can I find dos nidac4.8.0 qbasic code examples?
Thanks!
-
Dear gurus, I have created a user exit variable, and created on customer exit EXIT_SAPLRRS0_001 what i need. My problem is that when a value is not found, on the exit i send a message to screen: MESSAGE ID 'ZMIICF' TYPE 'E' NUMBER '023' with sy-uname
-
Setting up Jakarata for win ME/2000
I have the apache http server running properly and I have downloaded the jakarta tomact zip file from their download site but I don't know what to do now. Plz Help!!!!