Trigger email after saving details in VA01.

hi,
can anyone please tell me how we can trigger an email
right after the details are put in the VA01 and saved??
All the values input should be sent in throught the mail.
Kindly help...point will be awarded to the most appropriate
replies.

You could use USEREXIT_SAVE_DOCUMENT as suggested and create a sub routine that is only called on commit -
PERFORM send_email_details ON COMMIT
  That way the email would only be sent if and when the order is actually commited to the DB.
The other thing to check is if there are any change pointers you could use to trigger a process - I don't know if there are off the top of my head so try searching this forum for info in that area.
Gareth.

Similar Messages

  • VF02 trigger email after IDOC success sent out

    hi all,
    I am having this situation which I need to trigger an email when the IDOC has been successfully sent out via VF02 (Billing).
    One of the requirement, the IDOC should be sent out successfully before triggering the email.
    Is there anyway to do it?
    I had tried using BDC and finding user exit.... but so far, it's not possible...
    1. BDC, i couldn't initiate one to trigger an output type because I am still in VF02...
    2. User exit, the output type will go through all the user exit before sending out the IDOC. So i couldn't use any user exit to initiate a second trigger to check whether the IDOC was successfully sent out and send email.
    Are there anyway to trigger an email after i had saved my output type in VF02?
    Thanks
    William Wilstroth

    Hi William ,
    If u are working on the ECC6.0
    Before the endo f the function module Test  whether it is success if it is success
    do like this
    1 . Create a Enhancement spot before ending of the function module (IDoc).
    2 Then write ur logic .
    Please let me know if u have any Queries . I hope this helps to You . I got the similar requirement for FB01, I have done it william .
    Rgds
    Sree M
    Edited by: sree m on Mar 19, 2008 6:45 PM

  • Trigger email after PO release

    Dear Guru ,
    We have a scenario which is the system will send email to PO creator after someone released the Purchase Order .
    I found there has object BUS2012 has event 'RELEASE', but it is not working in the workflow .
    Can you please let me know if i can use this event to meet our requirement or not ?
    Thanks .
    Best Regards,
    Carlos

    Hello ,
    In case of GR it is possible .
    Maintain the condition records in Transaction MN21 with message type MLGR,
    The partner function should be MA with medium 7 and time spot as 4.
    Please note that the GR message indicator to be set in Purchase Order.
    Incase of PO and Invoice the same need to be checked.
    Regards
    Ramesh

  • How to trigger an E-mail after saving a Case

    Dear all,
    We need to trigger an action to send an E-mail after creation and saving a Case in EP.
    Please help me how could we configure this in the system.
    Your suggestions will be highly appreciated.
    Best wishes
    Raghu ram

    Hi Raghu,
    By using he action profile you can trigger the email once you save the transaction.
    We have processing types in action profile,
    1.Immediate
    2.Recurring
    3.After saving
    In ur case you can after saving the document.
    and assign the action profile to the transcation type.
    Regards
    Chandramohan

  • After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    What is your operating system?  Reader version?
    Saved from where?  What is the file size of the saved document?

  • Badi that trigger after saving Material document (MIGO)

    Hi,
    I want a Badi that trigger after saving Material document (MIGO) ie after updating the MKPF and MSEG tables
    Thanks

    These steps should enable you to find any BADI related to any transaction in a matter of minutes.
    1) Go to the transaction SE37 to find your function module.
    2) Locate the function SXV_GET_CLIF_BY_NAME.
    3) Put a breakpoint there.
    4) Now open a new session.
    5) Go to your transaction.
    6) At that time, it will stop this function.
    7) Double click on the function field EXIT_NAME.
    8) That will give you name of the BADI that is provided in your transaction.
    Regards,
    Kashyap

  • Need to reopen the form after saving

    Hi All,
    I am developing a form for employee time sheet. I am using the ON-INSERT Trigger to insert the details of the employee. I need to reopen the form after inserting the details into table. I tried using the NEW_FORM bulit-in in POST-INSERT Trigger. but getting an error: FRM-40737 illegal restricted procedure NEW_FORM in POST_INSERT) Trigger. Can any one please how can I do this.
    Thanks and Regards
    Sai

    Hi Jeneesh,
    Thanks for the reply.
    I need to clear the form after saving and also I made the Update Allowed property to 'NO' as client per requirement. So, every time after saving the form, I am getting an error message 'Update is not allowed on this form' . in order to avoid this message after saving I want to close this form and open it again.
    Also I need to clear the datablock. where can I clear the datablock after saving it.
    Thanks
    Sai.

  • Trigger email on infotype change

    Hi,
    I want to set up a dynamic action to send an email to group of people whenever somebody changes the basic pay IT0008.
    Steps I followed:
    1. Create notification text in SO10.
    2. Create Distribution list under Tcode SBWP.
    3. Set feature M0001 where I assigned DL & text
    4. Set dynamic action as follows
        0008 02 20 P T001P-MOLGA='10'
        0008 02 30 M M0001
    The above didn't work. Am i missing anything?
    As well in SBWP I want to send email to outlook not SAP inbox. What type shall I use there?
    Please help.
    Mayuresh

    Hi Mayuresh,
    What you have set up it is correct/ You need to activate SMTP configuration with help of Basis team to send Notification. Then you need to maintain for which action you will send Notification and after which infotype mail will trigger. See below my code in dynamic action which has been triggered for Hiring action. After saving IT0034 mail will trigger. This might help you.
    0034                   06     2     P     PSPAR-MASSN='ZA'
    0034                   06     3     P     T001P-MOLGA='08'/X
    0034                   06     4     P     T001P-MOLGA='11'/X
    0034                   06     5     F     F_GET_TEXTS(Z_XXPS_NOTIFICATION)
    0034                   06     6     F     F_NOTIFY(Z_XXPS_DYNACT_NOTIFY)
    0034                   06     7     M     WE001
    0034                   06     8     F     F_CLEAR_DL(Z_XXPS_DYNACT_NOTIFY)
    0034                   06     9     F     F_NOTIFY(Z_XXPS_DYNACT_NOTIFY)

  • How to send email after bdc upload done?

    Hi Experts,
    How do we send an email after the bdc upload program run successfully. I want to send email to the users saying the material upload successfully message with the material details.
    How can i do it? Is there any way to trigger a mail after calling the bdc upload part?
    Please help me on this.
    Thanks in advance.
    Regards,
    Rashika.

    Hi,
    After the BDC has run. check if sy-subrc is zero or not.
    IF sy-subrc EQ 0.
            COMMIT WORK.
    and in this IF statement use the following code:
        wa_receivers-receiver = so_malid-low.
        wa_receivers-rec_id = so_malid-low.
        wa_receivers-rec_type = 'U'.
        wa_receivers-com_type = 'INT'.
        wa_receivers-notif_del = 'X'.
        wa_receivers-notif_ndel = 'X'.
        APPEND wa_receivers TO gi_receivers.
        CLEAR wa_receivers.
    Populate the subject/generic message attributes
      wa_doc_data-obj_langu = sy-langu.
      wa_doc_data-obj_name = lc_obj_name.
      wa_doc_data-obj_descr = 'Find Inactive PU/DU'(001).
      wa_doc_data-sensitivty = lc_sensitivity.
    Describe the body of the message
      wa_message = '<html><head>'.
      APPEND wa_message TO gi_messages.
      wa_message = '<style type="text/css">'.
      APPEND wa_message TO gi_messages.
      wa_message = lc_style_content.
      APPEND wa_message TO gi_messages.
      wa_message = lc_style_content1.
      APPEND wa_message TO gi_messages.
      wa_message = '</style></head>'.
      APPEND wa_message TO gi_messages.
      wa_message = '<body>'.
      APPEND wa_message TO gi_messages.
      wa_message = 'Hi,<BR><BR>'(002).
      APPEND wa_message TO gi_messages.
    CONCATENATE(' Updation successful')
        '.<BR><BR>'
        INTO wa_message SEPARATED BY space.
        APPEND wa_message TO gi_messages.
    DATA: lv_tab_lines TYPE i VALUE 255.
      CLEAR gi_packing_list.
      REFRESH gi_packing_list.
      wa_packing_list-transf_bin = space.
      wa_packing_list-head_start = 1.
      wa_packing_list-head_num = 0.
      wa_packing_list-body_start = 1.
      DESCRIBE TABLE gi_messages LINES lv_tab_lines.
      READ TABLE gi_messages INDEX lv_tab_lines INTO wa_message.
      wa_doc_data-doc_size = ( lv_tab_lines - 1 ) * 255 + STRLEN( wa_message ).
      APPEND wa_message TO gi_messages.
      DESCRIBE TABLE gi_messages LINES wa_packing_list-body_num.
      wa_packing_list-doc_type = 'HTM'.
      wa_packing_list-doc_size = lv_tab_lines * 255.
      APPEND wa_packing_list TO gi_packing_list.
      CLEAR wa_packing_list.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          sender_address             = gc_sender_address
          sender_address_type        = gc_sender_address_type
          commit_work                = 'X'
        TABLES
          packing_list               = gi_packing_list
          contents_txt               = gi_messages
          receivers                  = gi_receivers.
    Regards,
    Rajesh Kumar

  • Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • Could someone help me figure out why after saving a form some subforms are hidden again

    I am asking this on behalf of a coworker.  We have a form she is working on with a drop down (ddlDropDown) with 1, 2, and 3 listed (same values,,1,2,3)  That trigger hidden subforms to appear (Employee1, Employee2, Employee3).  Initially, Employee1 is visible.  If form user selects 2 or 3 in the dropdown then Employee2 and Employee3 become Visible.  Once the form is filled in, saved, closed and reopened Employee2 and Employee3 are hidden again even though the dropdown says 2 or 3.  The script behind the dropdown's change event is:
    subSELECT.Employee1.presence=this.rawValue==1?"visible":"hidden";
    subSELECT.Employee2.presence=this.rawValue==2?"visible":"hidden";
    subSELECT.Employee3.presence=this.rawValue==3?"visible":"hidden";
    I have tried adding this code to the form's initialize, docReady, preOpen, postOpen, layout:ready events but it still doesn't work.
    Any ideas?

    Here is a sample I created based on your comments and it works just fine for me after saving the form.
    Employee2 and Employee3 subforms have their presence property set to hidden.  I have the script in the exit event of the dropdownlist.
    Here is the sample:
    https://workspaces.acrobat.com/?d=YWMOMIyD2lLEqPSdO0vqYQ

  • What is the function module which is used to trigger email

    Hi ALL,
    can u send me the function module which has to trigger email when sales order was saved.
    kindly send me the inputs
    thanks & regards
    naveen
    Moderator Message: Basic Question. Thread locked.
    Edited by: kishan P on Nov 11, 2010 10:56 AM

    Hi,
    This needs to coded in the Save User Exit of the Sales Order Include MV45AFZZ (USEREXIT_SAVE_DOCUMENT) and use the Function Module "SO_DOCUMENT_SEND_API1" to trigger a mail.
    Please try this and let me know if any.
    Regards,
    Srinivas
    Moderator Message: Do not answer Basic Question.
    Edited by: kishan P on Nov 11, 2010 10:58 AM

  • Takes a long time to save an email after you click the email.

    after an email is saved if you click on the saved email the screen goes white. All other functions work well.

    What is your anti-virus software?

  • Sending email after deleting the records in a table

    Hi
    I am deleting the records in a table. After deleting the records,
    i want to send an email to another person. I am planning to follow this steps.
    1. Create a trigger on the table(AFTER DELETE ON table FOR EACH ROW)
    to copy the deleted records to temporary table.
    2. Read the temporary table and send an email.
    Is there any other way we can do with out creating temporary table ?.
    Govind

    I don't know what you plan to use to send the mail but here's a solution that would work.
    -- Create a send mail procedure
    create or replace procedure send_mail (
    sender      IN VARCHAR2,
    recipient   IN VARCHAR2,
    message     IN VARCHAR2)
    IS
      mailhost VARCHAR2(30) := 'localhost';
      mail_conn utl_smtp.connection;
    BEGIN
    mail_conn :=  utl_smtp.open_connection(mailhost, 25);
      utl_smtp.helo(mail_conn, mailhost);
      utl_smtp.mail(mail_conn, sender);
      utl_smtp.rcpt(mail_conn, recipient);
      utl_smtp.data(mail_conn, message);
      utl_smtp.quit(mail_conn);
    END;
    /-- Create the trigger to email deleted rows
    create or replace trigger email_del_rows
    after delete on <table>
    for each row
    declare
    msg varchar2(2000);
    begin
    msg := 'COL1  COL2  COMPANY NAME  DATE'||chr(10);
    msg := msg||:old.col1||'    '||:old.col2||'    '||:old.company_name||'       '||:old_date|| chr(10);
    msg := msg||'END OF FILE';
    send_mail('SENDER','[email protected]',msg);
    end;
    /You can make it look pretty but you get the basic idea.

  • Invoice outputs are not printing after saving the document..!

    Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
    Amar

    hI,
    GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
    AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
    REGARDS,
    SK
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM

Maybe you are looking for

  • Content not lining up in the sidebar with the content located in the main area?

    Hello, I’ve created a website using Dreamweaver CS4 and have come across an issue while using a template. The template I’m using is: 2 column fixed, right sidebar, header and footer. The problem seems to be in the sidebar where the content does not s

  • 9i AS installation problem on NT

    Please help. I try to install 9iAS with HTTP Server only option on my NT workstation, on which Oracle 8.0.4 Server are running. So I choose another HOME for iSuites (DEFAULT_HOME = c:\ORANT for existing oracle server, iSuites_Home = d:\iSuites for 9i

  • How to find out user session??

    I have deployed application using Oracle 9iAS server. At times the IAS server cpu goes 100% and if I see the task manager only one (or) two ifweb60 (forms session) session taking the maximum cpu time out of 60 ifweb60 sessions. I want to know which N

  • When I click a link to open the page in new tab, it open the new page beside my page.

    After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab. Mmm-I could not make sure the new page or new tab I said is the same with you-?? (I use Chinese version so that I

  • Mail doesn't send emails

    I have two accounts. Mail suddenly stops sending emails though i can receive emails from that account. I checked the email server and it is absolutely working fine. It throws an error and asks me for my password again and again. Whats weird is that t