Need to trigger e-mail on a particular action in CRMD_ORDER t-code
Hi Experts,
My requirement is , I need to send an E-mail to differant receipents based on status.
To be more elobarative , on an user status in CRMD_ORDER i need to send e-mail to Branch Manager of that particular sales office .
I need to send the document number.
I knew few badis in CRM , which ofocurse i have not tried coz if there is anyway directly by work flow , I would like to go for that.
If not , can i submit a report which generated e-mail from CRM_ORDERADM_h_badi or order_save .
Pls Help me
Hi Ramesh,
You need to have branch manager as the one of the partner function of your transaction type.(assign the partner function to your partner determination procedure of your trasaction )
In your action details you maintain the partner function as partner dependant and give the new partnerfunction (ie branch manager)
For the action you maitain the processing types as smartform mail and give your smartform name, processing class and processing method.
Go to conditions open your action profile and activate the new action created.
Give the start condition as status equals to your new status on which you want to send the email.
To get the document number on the email you need to do coding in the smart form which is assigned to your action.
Let me know if you have any queries on this.
Reward points if it helps.
Regards,
Madhu
Similar Messages
-
Added custom date fields at contract;need to trigger mail using those dates
Hi,
II have added 14 custom fields in the service order quotation for handling waranty start date and end dates capturing for the maximum of 7 years contract.
Then its usual yearly action of the waranty team to put the dates in those fields.
The first set of 2 input fields will be filled at the quotation creation itself; rest the set of 12 fields will be updated in this 7 years time.
My requirement is such that to the capture all the waranty end dates filled in the input fields and trigger a mail 30 days prior to that days.
Example : I have contract from 01/08/2004 to 31/07/2010.
Then my waranty startdate / end date can be filled by waranty team as 01/08/2004 to 31/07/2005 in the waranty first year.the i need to trigger a mail to waranty team on 01/07/2005.
For the second year if we have dates filled as 01/08/2005 to 31/07/2006; then to trigger mail on 01/07/2006.
I have tried using ACTIONS but couldn't get much help.
As a work around thinking for a report to fetch the contract for that Trans.type and check the dates with the present date + 30 and collect those to perfrom the respective actions.This is workaround.
Tried using the DATE TYPES creating 7 different DATE TYPES and assigning the ( end dates - 30 ) to that manually upon save.
and using this DATE TYPE along with the action definition can we acheive ? but it too will be work around.
How to acheive this one. It became critical now in the project.
Thanks and Regards,
Satish AkkinaHi,
In your scenario, you don't need synchronous email facility.
Probably you can create a z table and maintain all required dates in this table (before saving your transaction somewhere you would have to read your custom fields and save them in this table along with object ID/GUID). Then create a report that would read dates from z table and then send emails to your warranty team. Schedule this report in background with frequency of once day.
Hope that helps.
Regards,
BJ -
How to send a mail on a particular date
hello everybody.
i am developing a greeting site.
where in i need to send a mail on a particular date, which is greater than today. how can i send mail on a pre selected date.
my server is IIS and i am using java servlets and java mail api.
please tell me if anybody having the solution.
or please mail me to [email protected]
thank you
sambareddy
hyderabadAs far as I know there is no method in JavaMail for sending a message on a particular date.
However you can use the Java.util.Timer and java.util.TimerTask class to do this.
In the class that you send your message from
public class SendMessage extends TimerTask{
public void run(){
//send message here
TimerTask implements Runnable so a thread can be created here.
To call the thread:
public class CallMessage{
public static void mail(String args[]){
SendMessage sm = new SendMessage();
Timer timer = new Timer();
timer.schedule(sm, 10000, 10000)
//wait for 10 seconds and repeat in 10 seconds
There are a number of different schedule methods available for whatever you need to do.
Hope this helps! -
Need to trigger mail to requestor along with creator in SRM 7.0
Hi Experts,
We are using SRM 7.0 Extended classic scenario with process controlled Workflow in our system.
As I am very much new to the workflow concept need your help in this regard.
We have a requirement where we need to trigger a rejection email when Shooping cart got rejected by the approver to the requestor along with creator.
As per our current design rejection mail is going only to creator but not requestor.
Can somebody help me in this regard how to get this functionality.
Thanks.
Regards,
KalyaniHi Konstantin,
We tried with suggested badi BBP_ALERTING BADI. But when I set the break-point in the enhancement of this badi and tried to trigger by rejecting the Shopping cart, i dont see any entries in the structure CT_RECEPIENTS[].
Some entries should be there in CT_RECEPIENTS[] by the time this badi triggers or how to figure this out?
Small change in my requirement is rejection mail is going successfully to requestor and we are expecting same mail to creator.
Thanks in advance.
Regards,
Kalyani -
How to trigger a mail once BG job finished.
Hi,
Could anyone please let me know how to trigger a mail once Background job finished. I let you give one scenario where exactly I require this concept. Say, I execute t.code MB52 with particular variants in background to find stuck qty(s) of material(s) in given site(s).Now I want that system will trigger a mail to concern team once job finished.
Thanks,
AKYou can try using workflow transaction SBWP.
you need to create a distibution list in the above transaction and add the requested mail ids to it.
then when you create a jon using transaction SM37 you have the option SPOOL LIST RECIPIENT where you can add the created distibution list
so when ever the job has run sucessfully then a mail is sent to all the mail id's in the list.
hope this helps.
cheers
sundeep -
How to trigger a mail through ALERT CONFIGURATION??
Hi Folks,
I want to know how to trigger a mail through Alert Configuration?
I've read Help.SAP.com, but i am not clear where exactly the sender Email address to be given for sending a mail??
Pls reply..
Thanks in advance..
cheers
ram.Hi,
You need to maintain the email address in SU01 for the particular user Id. Also you need to configure transaction SCOT for this.
Regards,
Jai Shankar -
File to RFC, and through RFC response i am trying to trigger the Mail adapt
Hi All,
Right now i am doing File to RFC, its working fine but now the requirement is when xi connect to ftp and picks the file need to send one success mail after the file pickup and data sent to BW system again i need to send one mail and also error alerts to inbox.
Till now i am not using BPM, can we do this without BPM pls let me know
now i am trying to achieve this in File to RFC, and through RFC response i am trying to trigger the Mail adapter.
or else i need use only BPM pls share the steps which i need to be configure.
Am i correct or pls suggest me some idea to achive this and also pls share some smaple ones in BPM .
Thanks in advance
VenkatWith BPm, follow this:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Instead of receiving the response in file, use mail adapter
Regards,
Prateek -
Need to send a mail while safty stock goes down
Dear experts,
I Need to send a mail to concern persion while stock goes down from safty stock. We plan to put a check at the point of MARD table updation, Because we not able to put a check at the all transaction codes, So please LET ME KNOW HOW TO PUT A CHECK AT STANDARD TABLE UPDATION?
Thanks in adv,
jayakumar.MHi Jai,
According to my understanding,
As soon as the stock goes down from the safety stock a mail should be triggered.
Probable solution (in my opinion)
create a flag in the table set it whenever the stock value goes down.
make calculations like (safety stock as today - safety stock previous date) = 0 if not set the flag and construct a workflow withe receiver settings based on the flag field and trigger a mail to the concerned person.
This is just my idea.
Try it and revert
Thanks and Regards
Srikanth.P -
Trigger a Mail when no file is placed
Hi Everyone,
How can we trigger a mail when no source file is placed for the file adapter to pick in a given time?
Regards,
RaghuHi
I m not sure wheter this will work or efficient.
Cant you use operating system command option ?
Like,,,, checking whether the particular file exists, if not create a blank file or new file with a different predefined content using Operating System Command option (using scripts or soemthing). and creating a separate file-mail scenario for this new file -
Sending mail to a particular partner function in workflkow
hi all
i m working on a workflow in which i have defined user as general,means anyone can start the workflow,now i want to assign agent to workflow ,how can i assign the agent and also how to send the mail to a particular partner function in our case we have described "loan officer",
please guide regarding the query
regards
ashishhi
i should tell first of all m working on CRM 5.0 standalone system.we are trying to trigger mail for LEAD .when say we are trying to change the status of lead or whenever the status of lead is changed the mail should be triggered to loan officer.
hope i clear the air,now pz advise
regards
ashish -
How to trigger a mail when a job gets cancelled
Hi experts,
I have a requirement to trigger a mail to the user when a job fails or gets cancelled.I need to add this part in the program for which the job is running.
Kindly help,any sample code will be very helpful.
thanks in advance,
regards,
Ashwincheck this thread out. Hope this might help you
how can i insure that job finished and good and send mail to the user ?
Regards,
Santosh -
CS02 - trigger a mail after saving
Dear Sapians,
I come through a requirement in which , i have to trigger a mail to authorized user with detail of changes done in CS02 by unauthorized user.
I got a BADI 'BOM_UPDATE' 'CHANGE_AT_SAVE'.
And as per my understanding change detail are in table CDHDR and CDPOS.
And in above table data is loaded after CS02 is saved.
So, no detail of recent changes done is reflected in CDHDR and CDPOS .
So, I am looking for some USER-EXITS or BADI , which help me out in this scenario.
Scenario is :--
a).
When changes are done in CS02 by some UNAUTHORIZED USER, changes has to be verified by AUTHORIZED USER, so change detail has to be send to AUTHORIZED USER.
Awaiting for your reply
Thanks,
JeetDear Vivek,
You are very correct .
Sorry for not discussing the whole scenario.
Actually , If some unauthorized user gas done some changes in CS02 than BOM Status is to be '2',
so mail is needed to ask authorized user permission to set BOM status '1'.
But in the same time , authorized wanna know what changes are done. and changes are recorded in cdhdr and cdpos tables which is updated after after bom is saved not in between.
That why mail is needed. -
Need help sending e-mail a mobile messages
hi!
i'm a n00b in Java. Can you please tell how can i send e-mail and mobile messages in java?
thnx!!First of all, before you do any programming, if you want to have your computer send e-mail messages then you must have access to an SMTP server.
Next, if you do have access to one, then JavaMail is a common way to write programs that send e-mail.
As for mobile messages ("text messages" to a cellphone?) you usually need a contract with some phone company to do that, so they can bill you for it.
When you find out about that, they should provide you with documentation on how to proceed. If it involves sending e-mail to a particular address, see part 1 of this reply. -
Triggering a mail for a Particular payload
Dear Friends,
I am doing a file to file scenario beween the same system.
My requirement is that if the payload of the file has flag value as 'S' i should put it in output folder in the ftp.
But if the flag is 'E' then i should trigger a mail.
Where this validation can be done and a mail can be triggered.
Please tell how to handle the same with out using the BPM.
Thanks
PremHi Prem
This can be done without using BPM.
You need to set conditions in the receiver determination.
Go to Receiver determination in ID
Configured receivers
set conditions
refer help link
http://help.sap.com/saphelp_nw70/helpdata/EN/43/a513f2632c332ce10000000a11466f/content.htm
for Flag S -> OP (=) put in folder so select receiver service for file adapter
for Flag E -> OP (=) send error email and select the receiver for the mail adapter etc.
Thanks
Gaurav -
Need to generate automatic mail, when notification creation in IW21
Hi All,
when i am creating notification in IW21, i need to generate automatic mail. I know mailing program.
I searched with following USER EXITS. And i tried with BADI also.
IWO10026
IWO10027
IWOC0001
IWOC0002
IWOC0003
IWOC0004
But still i didnt get solution for this problem. Can anyone help me.
Regards
Lakshaman DevHi,
You can use the following BADI.
NOTIF_EVENT_SAVE.
This is a filter dependant BADI. Use filter 'Maintain Notification'.
This BADI will trigger at the time of saving your notification.
Hope this helps.
Regards,
Mrunal.
Maybe you are looking for
-
Can sync to mac and windows with the same device
I just bought my partner an iphone, and he wants to know if once activated through itunes, will the phone sync to any computer regardless of the operating system as long as itunes is installed. We have Macs at home but he has windows in the office.
-
Communication User Locked..
Hi All, Can you plz provide the information for this problem. How does a communication user gets locked & what could be the root cause for that problem? Thanks & Regards Srinivas K
-
Song not appearing in purchased list, but on the store it says purchased
Hi, I've downloaded a song off my old ipod and bought a new ipod a few days later. But the song I downloaded isn't appearing in the purchased list, however on the itunes store it says 'purchased' next to it, but there isn't an option to download it.
-
Delimit Date HR_INFOTYPE_OPERATION..
Is it possible to set a default date for delimiting infotypes in function module HR_INFOTYPE_OPERATION... Rewards guarantee
-
R12 Web ADI and Internet Explorer 7
Hi, We have recently upgraded from 11.5.10.2 to R12.1.1 We are using Web ADI now, instead of Client ADI. We had to stay on Internet Explorer 6 while on 11.5.10.2 due to needing Jinitiator. Now we're on R12, and using Java, we would like to move up to