Trigger Automatic Mail
Hi All,
Pls guide me where the settings can be done to trigger an internal mail (SAP Business Workplace) at any user exit, like UD, QI01 Save, GR (MIGO) save etc.
And what to do if I want to mark the same to MS Out look E-mail ID.
With Best Regards,
Shyamal H. Joshi.
Hi,
For which type of business functionality you want to send automatic mails.
After the batch job finish you can set the automatic mail in transaction SM36.
in the user defination you have to do the settings related to automatic mail of SAP office mail.
If you are using SCM then try to use SCM's event management.
Most of the places Work flow used to send the automatic mails as per the business event happens.
Similar Messages
-
Trigger automatic e-mail for Material Master field change
Hi All,
Please guide me, Is that possible can we able to trigger automatic e-mail to the when ever SAFETY STOCK field get changed.
If the above is possible, Please advice me a step by step procedure will be thankful.
Thanks in Advance.dear friend
you probably might look at SAP Business Workflow features -
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. -
Configuration need automatic mail to others users
hi friends
we have the requirement like if user change the price in the condition record ,automatically mail send to the user. then only user
update in the sale order.
note : purpose to losing the revenue of the company
with reagrds
dinesh
Edited by: code acess on Apr 8, 2011 8:08 AMHope the following SDN thread can assist you:
- Mail trigger from VK11
Thanks & Regards
JP -
Dear All,
how we can configure po so that it can automatically mail to the vendor.
regards,
nishithhi
1. Maintain an e-mail address in the address in the vendor master.
2. Maintain an email address in the user id as well in SU01.
3. Check whether communication strategy CS01 is maintained in SPRO -> IMG -> SAP Web Application Server ->
Basic Services -> Message Control -> Define Communication Strategy.
4. In NACE, check for the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines for the output type NEU.
5. In the condition records for the output type NEU (for example, Transaction MN04), use medium '5' (External send).
6. You can use Transaction SCOT to trigger the output manually.
7. Check whether the NODE is set properly in SCOT for SMTP. if you want to send the output in pdf format through email, set the output format *** pdf in NODE settings. -
Hi
can I trigger a mail to Personnel Administrator basd on the validity period of the Infotype record? If any employee takes leave type "uninformed absence" for more than 3 days i need to intimate personnel administrator about the same? How can achieve this requirement? any helps please.
Thanks
chandraHi Chandra,
You can implement "Monitoring of tasks" infotype, construct a dynamic action for automatic creation of this IT0019 when uninformed absence record is created and then write a custom report that runs every night and checks IT0019 dates and send mail to respective personnel administrator.
Regards,
Dilek -
Automatic Mail not getting generated through background job
Hi Experts,
We have set up a job variant with spool recipients. We are getting the automatic mail if the job is getting finished successfully. But we are not getting the automatic mail if the job is in cancelled status. Earlier we used to get the mail even if the job is in cancelled status. We are not sure if there is any setting which would restrict the automatic mail based on the job status.
Appreciate your help in this regard.
Thanks and Regards,
Ranjani.Hi,
Just for a work around, try checking the SAP user inbox for the user who has scheduled the background job.
I don't there is any seperate configuration in Spool List Recipient for the canceled jobs. We need to confirm that the email ids provided in the Spool List recipient are correct and the background job creates a spool request even if it is canceled.
Also if possible try deleting the existing background job and create a new background job with the same parameters and valid email id's maintained in the Spool List recipient.
OR
Without deleting the existing background job, parallely create a new background job with the same parameters and valid email id's maintained in the Spool List recipient. If it works then delete the old background job.
Thanks
Harish -
FUNCTION MODULE FOR AUTOMATIC MAIL GENERATION
Hello,
I want to generate an automatic mail of a scheduled report on everyday basis.
the output spool req of scheduled report in generated n saved inside the system.
Could you please help me in generating automatic mail through that saved spool request?
Regards,
Krutikahi,
use:
DATA: lv_filesize TYPE i,
lv_buffer TYPE string,
lv_attachment TYPE i,
lv_testo TYPE i.
DATA: li_pdfdata TYPE STANDARD TABLE OF tline,
li_mess_att TYPE STANDARD TABLE OF solisti1,
li_mtab_pdf TYPE STANDARD TABLE OF tline,
li_objpack TYPE STANDARD TABLE OF sopcklsti1,
li_objtxt TYPE STANDARD TABLE OF solisti1,
li_objbin TYPE STANDARD TABLE OF solisti1,
li_reclist TYPE STANDARD TABLE OF somlreci1,
li_objhead TYPE soli_tab.
DATA: lwa_pdfdata TYPE tline,
lwa_objpack TYPE sopcklsti1,
lwa_mess_att TYPE solisti1,
lwa_objtxt TYPE solisti1,
lwa_objbin TYPE solisti1,
lwa_reclist TYPE somlreci1,
lwa_doc_chng TYPE sodocchgi1.
CONSTANTS: lc_u TYPE char1 VALUE 'U',
lc_0 TYPE char1 VALUE '0',
lc_1 TYPE char1 VALUE '1',
lc_pdf TYPE char3 VALUE 'PDF',
lc_raw TYPE char3 VALUE 'RAW',
lc_ordform TYPE char15 VALUE 'ZORDCONFIRM_01',
lc_attachment TYPE char10 VALUE 'ATTACHMENT'.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = lc_pdf
max_linewidth = 132
IMPORTING
bin_filesize = lv_filesize
TABLES
otf = pv_otfdata
lines = li_pdfdata
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT li_pdfdata INTO lwa_pdfdata.
TRANSLATE lwa_pdfdata USING ' ~'.
CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.
CLEAR lwa_pdfdata.
ENDLOOP.
TRANSLATE lv_buffer USING '~ '.
DO.
lwa_mess_att = lv_buffer.
APPEND lwa_mess_att TO li_mess_att.
CLEAR lwa_mess_att.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Object with PDF.
REFRESH li_objbin.
li_objbin[] = li_mess_att[].
DESCRIBE TABLE li_objbin LINES lv_attachment.
Object with main text of the mail.
lwa_objtxt = space.
APPEND lwa_objtxt TO li_objtxt.
CLEAR lwa_objtxt.
DESCRIBE TABLE li_objtxt LINES lv_testo.
Create the document which is to be sent
lwa_doc_chng-obj_name = text-008.
lwa_doc_chng-obj_descr = text-008.
lwa_doc_chng-sensitivty = lc_0.
lwa_doc_chng-obj_prio = lc_1.
lwa_doc_chng-doc_size = lv_testo * 225.
Pack to main body.
CLEAR lwa_objpack-transf_bin.
header
lwa_objpack-head_start = 1.
The document needs no header (head_num = 0)
lwa_objpack-head_num = 0.
body
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_testo.
lwa_objpack-doc_type = lc_raw.
APPEND lwa_objpack TO li_objpack.
CLEAR lwa_objpack.
Create the attachment.
Fill the fields of the packing_list for the attachment:
lwa_objpack-transf_bin = gc_x .
header
lwa_objpack-head_start = 1.
lwa_objpack-head_num = 1.
body
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_attachment.
lwa_objpack-doc_type = lc_pdf.
lwa_objpack-obj_name = lc_attachment.
lwa_objpack-obj_descr = text-008.
lwa_objpack-doc_size = lv_attachment * 255.
APPEND lwa_objpack TO li_objpack.
CLEAR lwa_objpack.
lwa_reclist-receiver = pv_emailid.
lwa_reclist-rec_type = lc_u.
lwa_reclist-notif_del = gc_x.
lwa_reclist-notif_ndel = gc_x.
APPEND lwa_reclist TO li_reclist.
IF li_reclist IS NOT INITIAL.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lwa_doc_chng
put_in_outbox = gc_x
TABLES
packing_list = li_objpack
object_header = li_objhead
contents_bin = li_objbin
contents_txt = li_objtxt
receivers = li_reclist
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 'I' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF. -
Output--- automatic mail is not firing to sold to party.
Dear Gurus,
My client requirement is to sent mail to sold party when saving a sales order.
For this I creted a new output type with following assignments
In General data tab:acess sequence assigned and Access to conditions is checked
In Default values tab: Dispatch time(send immadiately), transmission medium(External send), partner function(Sp
),Communication strategy(CS01) assigned.
In Time tab: no information given
In Storage system tab :Storage mode(print and archive),Document type(SDOORDER) info given.
In Print tab: print parameters(sales org) assigned.
In mail tab: nothing assigned.
In sort order tab:nothing assigned
In mail title and texts: En and DE languages are assigned.
in processing routines: program and form routine is assgned.
in partner functions: External send+ SP is maintained.
and in condtion record maintained in VV11 tcode with details
Partner function and in communication assigned printer and selected check box print immadiately and release after out.
But automatic mail is not firing when saving the sales order, but in change sales order in menu bar selected sales document and issue output to and selected print then mail is firing to the sold to party, pls tell me where i had done the mistake.
Rgrads,
kishore.
Edited by: kishore gopala on Sep 13, 2008 1:42 PMCheck whether you have maintained the email address in the customer master of Sold to party in the General Data>Address Tab> Under Communication Area??
In the SCOT Transaction, check under SMTP (SMTP Mail Server)-->under INT (Internet) --> an '*' asterisk has been maintained or not.
Check the status of the email output in the Sales Order, is it showing with a green traffic light???
If it is showing with a green traffic light you can manually see the status of the mail mesages in Transaction SOST.(by executing, by putting the Sender Id)
If they have not gone you will be able to see them queued up there.
Select the individual messages and press execute button. By doing this email outputs will be released.
Hope this helps you.
Caution: One word of caution is that SCOT is a very critical transaction. And if you are working on a live server, do not play with it as it controls the entire SAPconnect Administration Nodes.
Hope this helps.
Regards,
Vivek -
Problem in Automatic mail generation after shipment creation in vt01
Hi All,
In VT01 Automatic mail generation to customer whenver a new shipment is created & in from address user mail adderess is mentioned but in my requirements i have to mention different mail id in user mail address.
how can i do this?
please give me ur suggestions.
ThanxHi...
When user close the shipment ,then he gets a mail on his id automatically generated from sap system.
he want this mail should come to the mail id of his colleague.
Pls reply asap.
Thanx
Vj -
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 -
Process chain to trigger automatically after file arrives in AL11.
Hi All,
There is a text file(.txt) which comes from mainframes team every Sunday between 11 AM to 6 PM and gets placed in AL11 inbound directory following which we manually trigger a process chain which uses this file.
The requirement is that this chain should trigger automatically after the file arrives in AL11 in BW.
Is it necessary for the mainframe team to send another control file or some other file in addition to the text file to trigger this process chain..?
Is there any other way the process chain can be triggered in BW without any changes required from the mainframe team.
Additional information:
Also I came to know that this can happen through some system command statements using SM49 we can schedule this chain.
Else can some ABAP Program code be used to make this process automatic?
Please help me.Hi,
You can do the following, in your process chain change the start variant and make it event dependent. Now you can do the following,
1) Create a table in SE11 which will have fields like Process chain name and execution date as primary fields. This table will be used further for checking purpose.
2) Now create a ABAP program as shown in below given article, in this program in addition to raising an event you will have to read the file from app server.
3) If program can read file from app server means you will raise an event and make entry in above table for preventing further execution of process chain. If program can't read file from app server then program will simply end without doing anything.
4) Now you can schedule this program after every hour or 30 min. as per your requirement, the program will first check if the process chain execution entry exists in the above 'Z' table or not. If entry exists means the process chain has been already executed and the program will be terminated.
5) You can use FM to read data from app server. You need to be careful while placing file on app server, because it has to be different naming convention or something else to identify that the current day file is available.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a01cc44a-5aac-2d10-3eaa-a3bbf645d25c?QuickLink=index&overridelayout=true]
Regards,
Durgesh. -
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 -
How to send automatic mail and put attache file on batch file ?
how to send automatic mail and put attache file on batch file ?
START MAILTO:[email protected]?SUBJECT=PHONE%CALL^&BODY=TestingHi,
Do you want to use a batch file to create new email message (including recipients, subject and email body) with attachments? If so, I'd recommend you post your question in the Scripting Guys forum for further assistance:
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Please feel free to let me know if I've misunderstood something.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
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
Maybe you are looking for
-
How can I open a second window in iTunes?
When I see some albums in the the iTunes Store I want to check whether I have some of the songs already. The Search function in the Store only refers to the store and not to my Library. So how can I open a second window in iTunes (one with the Store
-
Music only plays for 15 seconds and then goes to another song
I upgraded to ios 6. Since then, my old songs only play for 15 seconds. Anything purchased after the upgrade, plays the whole song. Anyone ????
-
9i Application Server on VMware
Morning, Our client wants to configure the new internet server on a Compaq server running Linux - but they want to configure a Windows 2000 server under VMware on this machine to run the application server. What does the group think? And in fact, do
-
Why Am I Not Seeing All My Public Themes On My Public Account?
Hello, I have been using Kuler with iphone for a few days and I love the potential of this service. It is a lot of fun. One thing I am having an issue with is seeing all my public themes on my public account. My account is here: https://kuler.adobe.c
-
Why can't I post feedback cuz I just went BACK to Firefox 3.6.17?
Have to have FF4 to post feedback. I just dumped FF4 because of too many problems with it. I still don't have what I did (FF3.6.16), but this is still easier than dealing with FF4. No way to access addons/plugins, etc.etc.etc.