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

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 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.

  • 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.

  • Output message of PO in ECC not processed automatically after order released in GTS

    Dear Experts
    PO created in cobalt was blocked in GTS due to legal control. output message of PO was blocked, after the PO was manually released by the user next day, AU open the PO and saved it. output message got processed.
    Can you please let me know, why system is not processing the output automatically after the PO is released in GTS.
    Is this the standard process?
    Thanks
    Kiran

    Hi Kiran,
    This is called follow on function in GTS.
    When document is released, you could trigger background job regularly to process these document.
    Open the area menu for SAP GRC Global Trade Services in your feeder system (with transaction code/SAPSLL/MENU_LEGALR3) and choose Recovery Follow-On Functions in Feeder System .
    Choose one of the following entries to configure the follow-on functions for the selected application level: Materials Management Trigger Follow-On Functions for Purchasing Documents
    Check more details in help document.
    Trigging Follow-On Functions after Document Release in SAP GTS - System Administration - SAP Library
    Best regards,
    Vincent

  • ABAP-Workflow : which way to send email after creating Purchase Order ?

    Hi expert,
    I'm a new workflow so I have not  understood about workflow . Please help me ...
    Today, I have recieved a request from client as below:
       +    SAP system auto send a email to USER B after  creating Purchase Orders by User A.
       *++.  USer B open email and click on the link in his/her email and open new transaction to Release this Purchase Order.*
    Could you please help me how to do that?
    Thank you so much all.

    Hi ,
    Thank you so much for your quick response.
    I found in SAP system  2 workflows:
                WS20000075 : Release of purchase order
                WS11000013 : Complete Purchase Order
    Open  transaction "SWDD" I have added the step  "Send Email" --> Active and Excute  --> enter PO number --> system auto send email to USER B.
    But I want the system auto semd email after clicking SAVE in  transaction"ME21N" , No need enter PO number in SWDD .
    How to integrate between ME21N and Workflow? Could you please helpme step by step or sample to do that.?
    Thank you so much .

  • Workflow not executing after PR release of PR through ME54N

    Hi,
    I have a probolem. I have created a workflow for intimation after PR release through ME54N based on release strategy . i.e. an email will go to different persons after releasing of the PR at different levels . My problem when i am releasing through ME54N   the mail is not going to persons but if i execute the workflow directly giving the PR no in that case the mail is flowing . I have used the business object BUS2009 and i have selected the event 'Release Step Created".
    Can any one help me out.
    thanks in

    Hi,
    Try triggering the workflow event by coding (calling the FM to create an event - SWE_EVENT_CREATE) in an enhancement at the time of releasing the PR through ME54N.
    Also check the following scenario for reference.
    Check the organizational data, the release strategy customizing and the event and instance type linkages :
    1. First you must have created in the organizational plan the user names, positions, jobs, etc. that you assign to the release code(s), and must have linked them to the relevant standard tasks with the Task Customizing (transaction OOCU).
    2. When you create the release code(s) that you need for your release strategy and assign the code(s) to your release group, you should indicate that the release code(s) is (are) relevant to workflow (transaction OMGQ for purchase requisitions and transaction OMGS for purchase orders -> Release code).
    The Workflow indicator is also used to control role resolution.
    The Role Resolution with Group, Code and Plant (T16FW) [1] is the standard role resolution.
    The Role Resolution via User Exit [9] allows you to define a role resolution via customer exit.
    Then you should link the release procedure to workflow if you are not using customer exit and assign a processor ID to the workflow-relevant release code(s) (OMGQ or OMGS -> workflow).
    3. For the workflow WS00000038 (Workflow for requisition release) you should have maintained the following events with transaction SWE2 (Change View "Event Type Linkages": Overview) or transaction SWE3 (Change View "Instance Type Linkages": Overview) :
    RELEASESTEPCREATED with SWE2.
                        Object type     BUS2009
    Event          RELEASESTEPCREATED
    Receiver type  WS00000038
    Receiver FM        SWW_WI_CREATE_VIA_EVENT
    Check function
    Receiver type FM
    Destination
    [X] Type linkage active
    REJECTED with SWE3.
                        Object type    BUS2009
    Event           REJECTED
    Receiver type   WORKITEM
    Receiver FM        SWW_WI_COMP_EVENT_RECEIVE
    Check function      ME_REL_CHECK_EVENT_PARAM
    Receiver type FM
    Destination
    [X] Linkage activated
    RELEASED with SWE3.
                        Object type    BUS2009
    Event           RELEASED
    Receiver type   WORKITEM
    Receiver FM        SWW_WI_COMP_EVENT_RECEIVE
    Check function      ME_REL_CHECK_EVENT_PARAM
    Receiver type FM
    Destination
    [X] Linkage activated
    SIGNIFICANTLYCHANGED with SWE3.
                        Object type     BUS2009
    Event          SIGNIFICANTLYCHANGED
    Receiver type   WORKITEM
    Receiver FM        SWW_WI_COMP_EVENT_RECEIVE
    Check function      ME_REL_CHECK_EVENT_PARAM
    Receiver type FM
    Destination
    [X] Linkage activated
    Regards,
    Harish

  • Email after the load

    Hi,
    Can we setup an email that send automatically after the data load process or the calculation process is done if we are using the either the EAS load utility or with the batch file. I know i can send an email with batch but i want to know if this can done from essbase with the load information. Any help would be appreciated.
    Thanks.

    If you really wanted to do this through Essbase, you could set up Essbase triggers that fire when they get valued (think special last record values, or a separate one record load that values an intersection) and in turn send an email. This could be a direct load or maybe the result of a full calculation.
    At first blush this seems a bit over the top, but what it would give you (think a monthly load) would be information about what got loaded -- that's the information in the trigger email.
    If you have any interest in this approach GlennS_2 (or is it GlennS_3?) did a great presentation on triggers last year at Kaleidoscope. Go to www.odtug.com, click on the Tech Resources tab, then Essbase/Hyperion and search through for Glenn's presentation titled, "Little Used Features of Essbase (Like Data Mining and Triggers!)". To download it, you must be an ODTUG member, but there is a free associate membership that will allow you to download the many, many useful presentations there. Glenn will be there this year as well, and is sure to do great stuff (actually I have seen one of his presentations, and it is great stuff).
    Glenn's presentation is but a sample of what Kaleidoscope has on offer. If you like Essbase (don't we all?), use Essbase (um, yes, why else would we be on this board?), want to use Essbase better (we can all stand improvement, including yours truly), missing Kaleidoscope could be the biggest mistake you make this year. The content is awesome, the technical depth is deep, and the value for money is outstanding. I'll be there.
    Regards,
    Cameron Lackpour

  • 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

  • How to trigger email notification when users fail to reset your password in fim 2010 r2.

    Hi,
    how to trigger email notification when users fail to reset  your password in fim 2010 r2
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2

    Hi,
    How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2
    Senario:I want put wrong answering to the Questions that i was during registration if i give wrong answers to the questions then a Email Notification should be trigger to Users.
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • Hi there, i was wondering if there is a feature in Thunderbird that will allow automatic printing of an email after it has been sent? Thank you

    Hi guys,
    I was hoping there might be a feature or add-on that will allow me to automatically print an email after I send it. For the purpose of creating a paper trail we have to print out at least the 1st page of all emails sent to our clients. Love using Thunderbird and would like to keep using it. I know there is a feature in Outlook. Hope you guys have one too :)

    There is an add-on, [https://addons.mozilla.org/en-US/thunderbird/addon/send-filter/ Send Filter], that allows filters to act on the Sent folder, and there is an add-on, [https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/ FiltaQuilla], that adds Print to the filter Actions. I can't confirm whether or not you can get them to work together to achieve your aim.

  • How to re-trigger BA00 after sales order has been rescheduled

    Dear Gurus,
    Could you please kindly advise how I could re-trigger BA00 after sales order has been rescheduled?
    The scenario is following:
    When the sales order was completed, the order confirmation output has been sent to the customer. But later, when the ATP confirmed quantity was changed or order was rescheduled, the committed delivery date has been changed. It caused confusion, because in the order confirmation letter we sent to customer, there is a different date.
    I'd like to also trigger BA00 to resend the order confirmation, but I checked the output routine, it only checks if the order is completed or not. Shall I ask ABAPer to add additional logic in the routine or there is other easier way to re-trigger BA00?
    Many thanks in advance!

    Have you allowed multiple issue for BA00 output type? In that case, you can manually trigger it from VA02. If you are trying to have it sent automatically, then add the logic into the routine.

  • 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

  • Trigger badi after giving data in custom tab of po item

    Hi,
    We have added custom tab in po item level, now we want to make those fields manditory
    for specific document type.We are using badi ME_PROCESS_PO_CUST .
    The message is getting triggered initially , but after giving data in the custom fields the badi
    is not getting triggered again.And triggers if we make changes to some other fields in po.
    So can we trigger the badi after giving data in custom tab ?
    I was trying something like this.
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM .
      DATA: l_if_header TYPE REF TO if_purchase_order_mm,
            ls_header TYPE mepoheader,
           ls_mepoitem TYPE mepoitem,
      l_if_header = im_item->get_header( ).
      ls_header   = l_if_header->get_data( ).
      CALL METHOD im_item->get_data
        RECEIVING
          re_data = ls_mepoitem.
    IF ls_header-bsart = 'BW'.
    if ls_mepoitem-ZZONAME IS INITIAL.
    MESSAGE 'Plz enter Operator name in custom data' TYPE 'E'.
    endif.
    endif.
    endmethod.
    Any pointers are welcome..

    Solved using exit EXIT_SAPMM06E_012
    This exit will trigger even after giving data in custom tab at po item level.

Maybe you are looking for

  • Problem in displaying the o/p of report

    HI ABAPers this query is as assignment for me (i am undergoing abap training) there is build in transaction in sap (MCTA) for SIS: CUSTOMER ANALYSIS SELECTION. THE DETIALS OF THIS TRANCTION ARE AS FOLLOWS. T-CODE:- MCTA Pacakage:- MCV Transaction tex

  • Satellite T230 and Windows 8 compatibility

    Hello, My Satellite T230 (PST4AE) is not listed on Windows 8 compatibility's page. Is it not compatible at all?

  • Proxy editing in Adobe Premiere Pro CS3?

    Hey all. I understand proxy editing is a method by which the user does all of his/her editing with lower quality footage, and then all of the edits/effects/transitions/etc are applied to higher quality footage when the project is rendered.  Does Prem

  • How to take stock in warehouse

    Hi, Already we have a plant and storagelocation which is under operational and also stock is maintained under IM. Now we have planned to go for the new warehouse creation if i configure the warehouse settings and all. Now how to take the stock which

  • IDOC Serialization issue.

    Hi, I tried to do IDOC serialization using this blog /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi But in this blog its says to create a queue processing rule using WE85 transaction. My system is not as WAS 6.4