Workflow Send Mail when Quality Notification is Complete

Hi All,
I need help related to QN Workflow, which is copy of standard workflow WS24500047.
In this case , when all tasks are marked completed and get stated TSCO in QM02, against individual tasks.
But, on completion of tasks, no mails is being sent to the coordinator, presently.
A mail should be sent to the coordinator, in case all tasks are released and marked as completed.
Please suggest how do I implement the above functionality.
Thanks in advance.

Hi all,
Thanks for all your answers
We have resolved the issue.
Problem was with the configuration settings
We had to do config settings in 3 places:
1) SPRO/ Quality Management / Quality Notifications / Notification Processing / Activate Workflow template / Click on Activate event linking/  Place cursor on task group / click Object button / select tab workflow template and add the custom workflow / Go back and then open the workflow from the list and activate the events
2) Add the events in transaction SWE2 for the custom business object.
3) Add the events in the transaction BSVW for the custom busines object.
Thanks and Regards,
Mozila

Similar Messages

  • FTP Send mail when no file after 8 polling

    I want to send mail when the FTP Adapter tried polling for 8 times and no file is there in the directory. How can we acheive this.
    Thanks
    Sebin

    Hi Thomas,
    want to send mail when the FTP Adapter tried polling for 8 times and no file is there in the directory. How can we acheive this.
    >>i think this is not possible with xi without having any file in directory ......xi needs some data otherwise how u will get the error report which u want to send as a mail ............as per my knowledge there must be some file in directory ....for  xi to send back the responce ....empty directory i think it w'nt work ..........correct me if i am wrong .........guys !
    Regards,
    Azeez khan.

  • BADI OR User Exit for send mail when realize PO  in me29n

    Hi all,
    i need some enhancement to send mail when we release PO in me29n.We have release strategy of some levels.When first level release PO i have to send mail to the higher level group.
    I implement EXIT_SAPMM06E_013 but the program do not go there.
    Do anyone know some other solution?!?
    Thanks in advance.

    Hi,
    i have alredy implement EXIT_SAPMM06E_013 but the program do not stop there.Do i miss something?I activete the project and saw that  EXIT_SAPMM06E_007 EXIT_SAPMM06E_013 and EXIT_SAPMM06E_016 are implemented and active.

  • I can not send mail when at school. Please help

    I can not send mail when at school. Please help

    What is the email provider? If it is from your home Internet service provider, they usually block sending when not on their network. If this is the case, see if you can log into the smtp server with username and password. If they allow that, you can enter that in the email account settings.

  • Can't send mail when using mobile broadband

    Hi
    I am getting quite frustrated as I can't send mail when using my mobile broadband modem! I can receive mail, and surf the internet etc, but mail just wont send!(i get the usual cannot send try later/resend options). I thought this might be an issue with my mobile broadband but have recently reinstalled it. When at home on a wireless network I have no such issues.
    Any help appreciated
    Charlie

    Cgienke wrote:
    I am not using a SMTP it is a Pop3 domain name account from freeparking and uses mail.'NAME'.com for incoming and outgoing mail!
    Even though your e-mail service uses the same URL for POP3 and SMTP servers, in the software sense you actually do have separate POP3 and SMTP servers, although they may be hosted on the same machine, or the requests are routed via some "smoke and mirrors" to the right host.
    It is not related to my ISP at home, which is Virgin media. My mobile broadband provider is 3. I was thinking it might be that I need to change the port settings in mail when using my mobile modem, but don't know what to change them too(or how to do it!) or configure the modem differently but again not sure what to do there!
    Check with the freeparking online help to see if it supports port 587 or some such.
    Also try Mail's "Connection Doctor" (under the Window menu) when you're away from home to see if that shows anything useful.
    Since you can send e-mail from that SMTP server when you're at home but not when you're using your mobile broadband, I think one of two possibilities is likely: (a) Your mobile broadband provider is blocking your attempts to access the freeparking SMTP server and/or port. (b) The freeparking SMPT server for some reason doesn't like being communicated with via your mobile broadband provider. I'd check with each of them to explore these options.
    Does your mobile broadband provider have an SMTP server that you can use instead of the freeparking one?
    My modem(Huawei E220) is not particularly Mac friendly as it is, and I believe Mail can be quite sensitive when servers don't respond immediately?
    Yes. Mail seems to have a fixed time-out value for server responses.

  • HELP: Cannot send mail when off network??

    Hi we have set up the mail server on our Leopard server to host mail for our domain, we can successfully recieve and send mail when clients on on our internal network, and when off network can send as well. But when a client is not on the internal network (e.g. StarBucks or at home), they can not send mail using our server, even when on VPN. We have selected to use authentication, and the connection doctor in mail shows it is able to log in and connect with the server. any ideas?

    I see it's been a month with no on-line response to your problem from Apple or anybody. That may indicate there isn't one that works 100%. I am having the exact same problem with all of the same companies. Add to it that I cannot get e-mail on my PC at home/office when the I-phone is turned on. I too have been in contact numerous times with Charter and Verizon, and have received zero return phone calls from either when promised. It seems that many people have these problems, but so far nobody can fix them? And I paid for this phone? I never thought I'd be at a point where I would consider returning to my Blackberry.

  • Problem sending mail when out of town.

    So, I check in to the hotel w/ wifi and I receive mail but cannot send it. "Cannot send message using selected server" referring to my regular mail server. Gmail doesn't work nor does .mac even changing the port to 587.
    Are there any magic numbers I need to configure to accomodate this or is it just too bad.
    Thank you

    Do you have the authentication information filled in for the mail account? Open Mail preferences, click on Accounts icon in toolbar, click on Account Information tab. Click on the Server Settings button. Select Password authentication from the Authentication drop down menu. Fill in your email username and password.
    Some mail servers will not permit you to use them for sending mail when logged into another ISP account without authentication. Also be sure you are using the proper server for the mail account you are accessing, especially if you have multiple accounts and mail servers configured.

  • I want to send mail when my po is save to numbers of users.

    Hello all gurus,
                          Dose anybody know that how to send mail when saving po give me exits name and is there any function module or other option to send mail to number of users with  some test in body.
    Thanks in advance..

    Hi nainesha,
        Pls search the forum before posting a question.I think it has been already answered in some post . I dont remeber the thread.
    you can go for Badi 'ME_PURCHDOC_POSTED' where u will find all fields in PO.To send mail u can use FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' or BCS methods.As you have nt told wat should be attached , you can have all fields in this Badi.
      Pls close the thread ASAP.
    Br,
    vinod.

  • Send mails when I watch thread...is not workin!??

    Could anyone tell me why I do not get email for threads that I watch (both "watch" options are checked as well as "send mail when I watch")?
    THX!

    Hi,
    I've just started to receive emails again.
    I went to my settings and changed the frequency to daily, saved the changes and then set it back to immediate. Then I got my emails. It's either that or someone, at the same time, resolved the issue - either way, I'm getting emails now!
    Regards
    Andy

  • Problem in workflow sending mails to external domains like yahoo,gmail etc.

    hi
    i have one probs in my workflow that when i am sending mail to an external id it is not going to gmail,yahoo or hotmail etc.
    it is being send to a particular domain say XYZ
    but outside it ,no mail is send
    and error is coming that recepient is unknown
    we have firewalls being placed on smtp
    and each and every setting in SCOT has been checked thorughly
    but still mail except to one domain is not going outside
    i have came across the info that since SAP doesn have any user id authentication but SMTP does has ,so when mail is being send outside the mail sending is failed,one option could be to disable the authentication at SMTP but thats doesn come inside the policy of client
    so i think there must be a way out in SAP to deal with this
    please suggest how can i send the mails externally,i ahve checked each and every thing inside my SMTP configuration ,adress is defined as * here  but still mail is being send to internal domain of the client in which i am working ,but not at all to the external domains like gmail,yahoo etc.
    any help will be highly appreciated
    best regards
    ashish

    Hi Ashish,
    I think you will need to check with your exchange guys because probably the exchange server will not relay the messages form the SAP server to external e-mail domains.
    Regards,
    Martin

  • Workflow send mail to email addresses

    Hi,
    I have created a workflow wherein i have insrted a user decision node and 2 output is there one is accept and another one reject.
    I have added send mail node on both accept and reject and the thing is that in recipient address is put as email address. The email address that i put is for accept is workflow inititor and for reject is my own gmail address.
    Now when i execute workflow and click on accept button and check workflow log i get details for step where i found that background work item is created and agent name. Why is it so and where i can get the result ? and when i click on agent in that there is pushbutton for communication where there is no email address is maintained how can i maintain it ?
    Please help me out..even for reject tab i have given  my own gmail address. What will happen if i click on reject tab?
    Thanks
    Parag

    Hi,
    In your case what will happen is:--
    1> when you recieve the workitem in the sap inbox and you click on it.....it will show decision buttoons.
    2> As you have put send mail task in both accept & rejevt branch ...it should trigger mail based on your
         action and send it to extenal mail id.
    3> Now if you click on accept button ....... and the mail task which you have inserted will trigger mail to
         id which you have maintained.
    4> When you click on the reject button............ it will send mail to id which you have maintained in
         task.    
    5> If u you have set mail id to sap id of user then you can see it in Tcode SBWP.If you are sending mail
        to external mail id( outlook, gmail etc)........it will be visible in your external mail inbox if SCOT
         configuration are properly set in your system for SMTP node.You can still see the external mail in
         sap system in Tcode SOSG.

  • Send Email from QUality Notification

    Can we send an email to internal/ external address from Quality Notification without any development? It should be SAP std (out of box) functionality.
    How?
    Reply highly appreciated.

    Yes there is a Standard functionality available in SAP use the tcode scot and confifure the SMTP.
    Prerequisites
    The mail server in question must be SMTP-compatible.
    Settings for the Profile Parameters (Transaction RZ10)
    You have to adjust the profile of the SAP Web Application Server if you want to use the SMTP function. The SAPconnect send job can only be scheduled for servers on which SMTP has been activated. For this reason, you must activate SMTP for all of the SAP systemu2019s application servers.
    icm/server_port_<*> = PROT=SMTP,PORT=<port>
    is/SMTP/virt_host_<*> = <host>:<port>,<port>,...;
    User Maintenance (Transaction SU01)
    u2022        Service user
    You have to create a service user for processing incoming mails in every SAP system client in which you want to receive mails (or status notifications). Call transaction SU01 to create a user with type Service and assign the profile S_A.SCON to this user.
    u2022        User addresses
    Every user that is to receive e-mails in an SAP system requires an Internet mail address. This is also used as a sender address. Enter the Internet mail address for a user in transaction SU01, under E-Mail on the tab page Address.
    Assigning the Client (Transaction SICF)
    Every SAP system client that is to receive and process incoming mails (or status notifications) must have an SMTP server. One SMTP server (SAPconnect) has already been created in transaction SICF and is delivered with every SAP system. Use this to create the first client and then create another SMTP server for each additional client. Configure the following settings on the SMTP servers:
    u2022        Host data
    Enter the sequence number of a parameter is/SMTP/virt_host_<*> from the profile. If you have only created one client and therefore have not specified this parameter type, enter 0.
    u2022        Service data
    Enter the client to which the mails received through the virtual mail host are to be forwarded, and then enter the logon data of the system user that you created for the incoming mails.
    u2022        Handler list
    Enter CL_SMTP_EXT_SAPCONNECT at position 1.
    SAPconnect Administration (Transaction SCOT)
    You have to configure SAPconnect settings for every client that is used for send processes.
    u2022        Default Domain
    Under Settings  Default Domain, define the domain of the SAP system client. This allows for the following to take place:
    u2022         The SMTP plug-in logs on to the mail server using the domain as ID.
    u2022         The message ID of the outbound e-mails is assembled with this domain.
    u2022         If an SAP user who does not have an Internet mail address sends an e-mail, a sender address consisting of the SAP user name and this domain is generated.
    u2022        Nodes
    Each client has an SMTP node. This node is created by the SAP system and cannot be deleted. The following steps need to be carried out to configure the node so that sending Internet mail is possible:
    i.         Make sure you are in the Node view.
    ii.       Double-click the node name.
    iii.      Choose Node in use.
    iv.      In the Mail Host and Mail Port fields, specify the mail server to which the outbound mails are to be sent.
    v.        Next to Internet, choose Settings.
    vi.      Enter the address area of the recipient addresses that are to be reached using this node. In general, * is used if all e-mails are to be sent using SMTP.
    vii.     Enter the output format for SAP documents. We recommend that you use the following settings:
    SAPscript/Smart Forms     PDF
    ABAP list     HTM
    Business Object / Link     HTM
    RAW Text     TXT
    viii.   Confirm your selection.
    Regards,
    Sumeet M Naidu

  • Workflow - Sending mail to Outlook

    Hi
    I am new to workflow and have some basic questions. I am working on 470 with WAS 620. I can currently send e-mail to Outlook without forwarding from SAP Inbox with the help of Send Mail functionality. In this case I can read outlook e-mail id of the user and send a mail with Send Mail functionality of Workflow.
    My SCOT transaction is configured to send e-mails outside SAP.
    Question:
    1. I was told that we can use agent assignment based on the Org structure and configure sending of e-mails based on a condition. Is this true?
    2. If 1 is true then can we use agent assignment and send e-mails to Outlook inbox directly i.e. with out forwarding mails from SAP Inbox to Outlook inbox.
    I have tried to find some solution.
    Based on the OSS Note: 627397.
    With WAS 620: It is no longer necessary to specify a forward address in the Business Workplace user settings in order to receive notifications.
    Instead user master record (transaction SU01) is always used to determine the e-mail addresses.
    Note with WAS 640: E-mail address can be read from the PD org structure (info type 1205) instead of user's master record (transaction SU01).
    Does that mean that I can still use agent assignment? If yes what is the difference the note is talking about between WAS 620 and 640. Do I need to do something special to read this mater record the note is talking about?
    Thanks for your replies in advance.
    Nani

    Thanks Shashank.
    You have mentioned that we can read user profiles and send e-mails with help of agent assignment. But, you have also mentioned that this is the case where HR is not implemented. So did you mean that where there is no Org Structure?
    In my case, we have HR implemented and we have an Org Structure. In the PO/PR release strategy we use Org Structure and Position to decide whom to send E-mail.
    Now what is it that I need to do differently to make sure that the E-mail is sent to Outlook directly not via SAP Inbox.
    Nani

  • Sending mails when save button clicked on KS01 - Cost Center creation

    I Want to send a email to my officials when i entered the data and  click a saved button in KS01 after or before creating Cost Center..

    Hi Ravi,
    The package for ks01 is KBAS.
    In this u have exit COOMKS02 before saving.
    So write logic to send mail in the function module of this user exit which is triggered before saving.
    Regards,
    Vineesh.

  • Send Mail When Saving The Process Order

    Dear Experts,
    I want to send a Mail with some details whenever we Create & Save a new Process Order in COR1.
    I have written my code at the below location where i have all the required data stored in the IT'S.
    Enhancement - PPCO0001
    FM - EXIT_SAPLCOBT_001
    Include - zxco1u01
    I have the below code to send the Mail in the include.
    Send the document
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          exporting
            document_data              = wa_doc_chng
            put_in_outbox              = 'X'
            commit_work                = ""
          tables
            packing_list               = it_objpack
            contents_txt               = it_objtxt
            receivers                  = it_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.
      To refresh SAP Work Office so that mail can be recieved immediataly.
          submit rsconn01 with mode = 'INT'
                          with output = ''
                           and return.
        else.
          message 'Problem in sending Email.' type 'I'.
        endif.              "  End of sy-subrc
    Here my exporting parameter "commit_work" is blank, i have not passed "X" in it.
    When i pass "X" in this, it gives me a dump as below.
    Short text
        Invalid COMMIT WORK in a COMMIT WORK or ROLLBACK WORK.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLSOI1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The call of a COMMIT WORK in a FORM, that will not be executed until
        the commit or rollback point of the caller using the variant
        PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK is not permitted.
    Trigger Location of Runtime Error
        Program                                 SAPLSOI1
        Include                                 LSOI1U32
        Row                                     154
        Module type                             (FUNCTION)
        Module Name                             SO_DOCUMENT_SEND_API1
    When i take out "X" from "commit_work", it does not send mail and also the transaction does not give any Dump.
    Can you please help out me with this?
    Thanks,
    Praveen

    Hi Antony,
    When i write the below code in FM = EXIT_SAPLCOBT_001 and include = zxco1u01, it does not work for sending the mail.
    Mail Data.
    types: begin of ty_mail,
            tcode type zmail-tcode,
            email type zmail-email,
            end of ty_mail.
    IT Creation.
    data:  it_mail type standard table of ty_mail.
    WA Creation.
    data:  wa_mail type ty_mail.
    Email Related Internal Tables.
    data:  it_reclist        type standard table of somlreci1,     "Recipients
            it_objpack        type standard table of sopcklsti1,
            it_objhead        type standard table of solisti1,
            it_objtxt         type standard table of solisti1 initial size 0 with header line,      "Body of EMail
            it_objbin         type standard table of solisti1,      "Attachment of EMail
            it_contents_hex   like standard table of solix,
            it_objbin1        type standard table of solisti1,      "Attachment of EMail
            it_contents_hex1  like standard table of solix.
    Email Related Work Area.
    data:  wa_doc_chng       type sodocchgi1.     "attributes of document to send
    data:  l_reclist               like line of it_reclist,
            l_objpack               like line of it_objpack,
            l_tab_lines             type i.
    data:  lv_answer   type string,
            w_msg1(100) type c,
            w_gamng     type string.
    select tcode email from zmail into table it_mail
            where tcode = 'ZQA15'.
       refresh it_objtxt[].
       it_objtxt = '-----------------------------------------------------------------------------------------------------'.
       append it_objtxt.
       concatenate 'Order Number - '  header_table-aufnr into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Plant - '  header_table-werks into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Material No. - '  position_table-matnr into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Material Description - '  header_table-ktext into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Batch No. - '  position_table-charg into it_objtxt separated by space.
       append it_objtxt.
       w_gamng = header_table-gamng.
       concatenate 'Batch Size - '  w_gamng into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'MFG. Date - '  position_table-verid into it_objtxt separated by space.
       refresh it_reclist[].
       loop at it_mail into wa_mail.
         clear  l_reclist.
         l_reclist-receiver    = wa_mail-email.
         l_reclist-express     = 'X'.
         l_reclist-rec_type    = 'U'.
         l_reclist-no_forward  = 'X'.
         append l_reclist to it_reclist.
         clear wa_mail.
       endloop.
    Fill the document data.
       wa_doc_chng-doc_size = 1.
    Populate the subject/generic message attributes
       wa_doc_chng-obj_langu = sy-langu.
       wa_doc_chng-obj_name  = 'PO DETAILS'.
       wa_doc_chng-obj_descr = 'PO Details To QC'.
       wa_doc_chng-sensitivty = 'F'.          "  Send mail as a confidential
       wa_doc_chng-no_change  = 'X'.
    Describe the body of the message
       if it_objpack is initial.
         l_objpack-transf_bin = space.
         l_objpack-head_start = 1.
         l_objpack-head_num   = 1.
         l_objpack-body_start = 1.
         describe table it_objtxt lines l_objpack-body_num.
         l_objpack-doc_type   = 'RAW'.
         append l_objpack to it_objpack.
         clear  l_objpack.
         clear l_tab_lines.
       endif.
    Send the document
       call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         exporting
           document_data              = wa_doc_chng
           put_in_outbox              = 'X'
           commit_work                = ''
         tables
           packing_list               = it_objpack
           contents_txt               = it_objtxt
           receivers                  = it_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.
      To refresh SAP Work Office so that mail can be recieved immediataly.
         submit rsconn01 with mode = 'INT'
                         with output = ''
                          and return.
       else.
         message 'Problem in sending Email.' type 'I'.
       endif.              "  End of sy-subrc
    endif.                "  End of lw_answer
    But when i write the same above code in FM = EXIT_SAPLCOZV_001 and include = zxco1u06, it does work fine.
    I am not able to understand why it works at one place and does not at the other?
    Thanks,
    Praveen

Maybe you are looking for