Workflow - SWDD scenario to send a mail

Hi Experts,
I am developing a simple workflow scenario using SWDD just to send a mail to inbox(SBWP) to accep & reject items.
This scenario does not require an event to start with.
I had created the User decison steps & steps for Approval and Reject with samle subject lines only. But after doing everything i found that in my  SBWP, there are no items i.e everything is balnk.
Workflow is error free and activated properly.
I am working in ECC 6.0 ..Please tell me if i am wrong somewhere?
Thanks
DAny

Hi Satyesh T,
I had done the same.. But no luck.
Any more suggestions please.
Hi A@r,
I am doing the same link..but seems to be useless.
thanks
Dany

Similar Messages

  • Work flow (HR module send e-mail)

    Hi,
         In HR module, when a person enrolled a course, system can send a e-mail to this person automatically.I guess this process controlled by workflow. How to find this workflow, and is it possible that the mail format configuration controlled by this workflow?
    Thanks,
    Yang

    hi,
    Sending e-mails from the workflow.
    There is a wizard in the workflow editor which will help you send straightforward e-mails from the workflow. The wizard generates a step based on the business method SELFITEM SendTaskDescription. You cannot modify the business object SELFITEM and delegate so if you want to do something more sophisticated you should build your own method in another object based on the function modules SO_xxx_API1. These function modules are the APIs for sending mail and are fully documented. Use the where-used list to see examples.
    hope this helps
    PLZ reward if helpful.

  • Better way of Sending E-Mail Notifications -- Workflow or Function Module ?

    Hi All,
    I have an implicit enhancement written in a t-code and based on some conditions I am creating event which inturn will trigger the workflow which inturn send e-mail notification via send mail step.
    My question is:
    Which one of the ways is better in terms of performance or overhead to send an e-mail notification. (There are no Approval processes in the workflow.. Just One Step E-mail Notification).
    1) In the Implicit Enhancement, Trigger an event which inturn will trigger the workflow and e-mail is sent via send mail step.
    2) In the Implicit Enhancement, Send the e-mail notification via standard function modules available... such as
       "SO_OBJECT_SEND", "SO_DOCUMENT_SEND_API1".........
    Would be grateful if someone can post the Advantages and Disadvantages in the above 2 ways of sending e-mail notifications..
    Regards,
    PR.

    Just to throw in some additional factors, consider exception handling:
    An event-based send mail step is decoupled and thus independent of your application. This means your exception handling is separate. It means you do not need to hold up the transaction if there is a failure. All this depends on how important the mail is. You could of course add validation code to ensure the mail address is valid and send it elsewhere if not.
    Regarding performance, consider how often this happens. If it's an infrequent occurrence then I wouldn't worry about performance. Hundreds or thousands a day is a different story.
    So the answer is:
    Workflow for low-volume scenarios (low performance impact) that are important (better error handling in WF),
    Direct mail for high volume and noncritical
    In between these, use whatever you like
    One more thing to perhaps consider the future. What are the chances of the mail being replaced by a work item in furture? Sometimes it's only by observing a process after go live that you can identify the best solution. e.g. you may decide to replace the mail with a "Please go fix this" work item because you need deadline monitoring

  • Need to send a mail back to the user in Sender Mail adapter Scenario

    Hi all,
    I have a scenario where the user fills the Price form  or the Article form (which is a Adobe Form).When the user clicks on the "submit" button,the form is converted into xml , gets attached to the mail and sent to PI.
    Now the user sometimes attaches the pdf directly instead of submitting the form. This results in the mail being sent
    with pdf  as attachment.
    Now my requirement  is to send a mail back to the user asking them to send an xml  instead of a pdf.
    How can this be done ?
    Kindly let me know friends.
    Quick Response is appreciated.

    hi Sanjay,
    Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
    Mickael

  • How to send E-Mail Notification executing through workflow?

    hi All
    I want to send E-Mail Notification executing through workflow in MDM Data Manager?
    I have tried it, But still i am unable to send E-Mail Notification?
    i will explain, how i have tried?
    1) I have created the simple workflow with the following components
        they are in sequence
          start--> process-> notify--->stop
    2)  owner of the workflow is Admin and launcher of the workflow is Admin and i have given email id to the Default Admin user in the console.
    3) i have created another user (i.e. User2) with default roles as like as Admin and i have assigned User2 to the process component in workflow and I have created e-mail address for the User2 in the console.
    4) i have created another user(i.e.User1) with default roles as like as Admin. and give e-mail address,under the notify component User1 is selected in To Field.
    5) stop component as usual
    coming to configuration part about the SMPT server in MDS.ini file
    1) in mds.ini file for the MailServer=, I have given SMTP Server name once and restarted the server and executed the workflow, but not worked
    2)in mds.ini file for the MailServer=, i have given SMTP Server IP Address and checked the port,and we have configured the host file also and restarted the server and executed the worflow , but not worked
    In all the ways i have executed and tried to send E-Mail Notifications through workflow, But I didn't
    can any one help where i have went wrong, so i can rectify  it
    what actually we have to give in mds.ini file? is any other cofiguration required for it?
    if any one have any solution for it , can you please explain me in step by step
    Thanks in Advance
    bharat.chinthapatla

    Hi Bharat,
    your steps seems to be correct. Just try to ping your mail server, to verify if your mail server is running up, besides note that mdm go throw port 25 for sending emails, so please check if you are able to send emails using port 25 in your network.
    Regards,
    Vito

  • How to send a mail in workflow keeping 1 receiver in CC and the other in TO

    Hi,
    Can anybody tell me how to send a mail in workflow keeping 1 receiver in CC and the other in TO.
    I need to send a mail to an employee keeping his/her manager in CC through workflow.
    Regards,
    Lavanya

    Hi Lavanya,
    I dont think its possible using Send mail step type.
    But it can be done by using the FM SO_NEW_DOCUMENT_SEND_API1. Just create a method and Call this FM accordingly.
    Thanks,
    Viji.

  • Workflow for sending reminder mail to approve pending PO in me28

    Hi Experts,
    I have a requirement wherein I have to design a workflow to send a mail to the approver if he has not approved the PO in me28.
    I don need a workflow for PO approval . Only in the case he forgets to approve a PO for one day he needs to get a mail .
    Kindly guide me . Quick help is appreciated

    Hello,
    Design a workflow template which is triggered when the PO is created. Make the template wait for the event 'RELEASED' which is to be triggered once the PO is released. If the event is received, complete the workflow or else, design the deadline monitoring to send a mail to the concerned person if PO is not released.
    You need to take care of the event creation after the PO is released and deadline monitoring of the step in the workflow template.
    If this is not possible, you can create a program which collects all the POs which are not released within a day of creation and send a mail to the concerned people from the program itself. You have to schedule this program daily at a particular time to send the mail. You do not need a workflow for this.
    Hope this will help.
    Thanks,
    Samson

  • Workflow : Could not send e-mail [10014 : email ...

    hi,
    i am trying to send email notification via workflow, but i am not able to do so. anyone can help to troubleshoot this?
    below are the steps i have carried out for email configuration:
    1. i have added the mail server on mds.ini, MDS is restarted after every changes.
    2. requester and approval has correct email setup at console.
    3. a notification is added in workflow.
    4. telnet ping to mail server with port 25 is fine.
    when i check the log, i have the error :
    "Could not send e-mail [10013 : email : Notify] [Mail server:xxxxxxxxx] [From address:xxxxxxxx] [To address:xxxxxxx
    i know the guidelines and steps for configurations, but apparently it does not workout, so any troubleshoot guideline will be more appreciated.
    Thanks!
    Shanti

    Hi Shanti,
    I am sure you must have checked all this but then again would you please check following things and let us know ?
    1) Please check the SMTP Server Name in your Outlook Express if you are using Outlook
    2) Please log into MDS file and go under that particular Repositoy and check what details you have given for Mail Server
    3) Please give SMTP address in mail server line
    4) Log into Console and check if you have alligned Users and Roles to each other correctly or not.
    5) log into Data Manager and open the workflow and check the properties of Mail notification stencil and check if correct proertise are set ot not.
    Once you have made the changes at server level please restart the server again and then please let us know if this problem exist or not, may be we can more troubleshoot it further.
    Thanks and Regards
    Praful.

  • How to send a mail with copy to some other receipients thorugh Workflow

    Hi,
    I need to send a mail to one Recipient and also copy some other Recipients throught workflow. I've set up a mail step in my workflow and that sends a mail perfectly. But is there a way to add CC to that step so that when the Recipients get a mail they know that they only have been copied.
    Thanks in advance.

    Hi,
    Find the following link.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sendanExternalmailthroughSAPBusinessWorkflowandRecieversaddressin+CC
    Thank you,
    Sekhar.

  • How to send External mail in sap HR workflow

    Hi experts,
         Anybody con tell me how  to send External mail in sap HR workflow ?
    Regards,
    Umesh.

    Hello,
    Check the workflow builder. There is a step type of "Send mail". Just put that into your workflow definition, and your workflow will send mail.
    Regards,
    Karri

  • E-mail via Workflow task is not send they say aprox once a month

    Hi there
    I am asked to check one system with a “workflow” running 2+ years. It is actually an task with method which sends an e-mail when Purchase requisition is created.
    It istriggered by event in user exit(via function).
    The version is IS oil 4.6C.
    The problem is that e-mail is not send they say aprox once a month (which I personaly do not believe). However I have to do something (and explain what could be the reason).
    What would be your idea to do?
    I have in mind to subtye BUS2081 to e.g zz BUS2081 and then delegate bus2081 system wide(which is not done (but I think this will not solve the problem).
    In addition all technical details:
    I created event  ZCREATED for object ZABUS2105 (done as copy of BUS2105) in user exit MEREQ001 (EXIT_SAPLMEREQ_008) while creating purchase requisition via z transaction me51n and my colleague added this function in MV45AFZZ(while creating purchase order from sales order).
    CLEAR EVENT_CONTAINER. REFRESH EVENT_CONTAINER.
    i_banfn = IM_BANFN_NEW.
    CALL FUNCTION 'SWE_EVENT_CREATE'
           EXPORTING
                OBJTYPE           = 'ZABUS2105'
                OBJKEY            = i_banfn
                EVENT             = 'ZCREATED'
                          creator           = sy-uname
           TABLES
                EVENT_CONTAINER   = EVENT_CONTAINER
    This event triggers workflow task TS92000018
    Task TS92000018 is a  background task and has  atribute »general task« . Metoda (program) is:
    BEGIN_METHOD ZWF_SEND CHANGING CONTAINER. 
       call function 'ZWF_SEND_MAIL7XX'      
          Exporting                        
           banfn = OBJECT-KEY-NUMBER.                                                                               
    END_METHOD.
    Function Z_SEND_MAIL7XX:
    FUNCTION ZWF_SEND_MAIL7XX.
    ""Local interface:
    *"       IMPORTING
    *"             REFERENCE(BANFN) TYPE  BANFN OPTIONAL
    *"             REFERENCE(STATUS) DEFAULT 1
      DATA: reclist   TYPE STANDARD TABLE OF somlreci1  WITH HEADER LINE,
            objtxt    TYPE STANDARD TABLE OF solisti1   WITH HEADER LINE,
            objpack   TYPE STANDARD TABLE OF sopcklsti1 WITH HEADER LINE.
      DATA: doc_chng  TYPE sodocchgi1,
            tab_lines TYPE sy-index,
            subject   TYPE so_obj_des,
            email like zwf_emailko7XX,
            menge(17) TYPE c,
            I_Zwf_obdelan7xx like zwf_obdelan7xx,
            I_eban like eban  occurs 10 with header line.
            SELECT SINGLE * FROM Zwf_obdeLAN7xx into i_zWF_obdelan7xx WHERE
    BANFN
    EQ
    BANFN.
      IF sy-subrc NE 0.
    KONCNEMU
    SELECT single * FROM eban where banfn = banfn.
        SELECT single * FROM zwf_emailko7XX into email
                        WHERE  ekgrp = eban-ekgrp.
    refresh reclist.
        reclist-receiver = email-SMTP_ADDR.
        reclist-rec_type = 'U'.
        APPEND reclist.
    CONCATENATE text-015 banfn INTO subject SEPARATED BY space.
      doc_chng-obj_name = 'SENDFILE'.
    Mail Subject
      doc_chng-obj_descr = subject."text-001.BO22.11.2005
    Mail Contents
    refresh i_eban.
      CONCATENATE text-015 banfn text-016 sy-mandt text-017 eban-ernam INTO
    objtxt
    SEPARATED BY
    space.
        APPEND objtxt.
    select * from eban into i_eban where banfn = banfn.
    menge = i_eban-menge.
      CONCATENATE  i_eban-matnr i_eban-txz01 menge i_eban-meins INTO objtxt
    SEPARATED
    BY space.
      APPEND objtxt.
      append i_eban. clear i_eban.
    endselect.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num = 0.
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'RAW'.
      APPEND objpack.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = doc_chng
                put_in_outbox              = 'X'
           TABLES
                packing_list               = objpack
               object_header              = objhead
               contents_bin               = objbin
                contents_txt               = objtxt
                receivers                  = reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                OTHERS                     = 99.
    insert into zwf_obdelan7xx values banfn.
    commit work.
    endif.
    ENDFUNCTION.

    There are several things you can check before starting to check the code/solution.
    I would start by sending an e-mail from SAP Business Workplace - either to someone who say he/she receives e-mail only once a month, or to yourself if that is not possible. Check how long it takes from the mail is sent until it is received. Once the first mail has been received, send another mail and check the time again (to determine the sendmail process' interval). Of course you can probably just check the configuration of send processes ... but you may as well give them some hard proof.
    Secondly, check the send log (transaction SOST) - and find out how often there are the type of messages you are interested in. Alternatively, test the workflow and verify that messages are sent immediately.

  • Send Custom Mail Notifications to Author/Creator when workflow ends

    Hello All,
    I am working on workflows and I want to send a mail notification to the "Author/Creator" when the workflow finishes.
    Currently, UCM workflows do not provide this functionality Out-Of-The-Box.
    For this I implemented a filter and hooked it to the event +"advanceDocumentStateMarkWorkflowFinished"+ event.
    Now I am able to send mail using the following code:
    InternetFunctions.sendMailTo(email, "DynamicPrefixTemplate","Workflow Notifications", cxt);
    However, I am not able to retrieve the author name to whom I have to send the notification. I found that "databinder" object (passed as param) in method signature below doesn't contain the author name attribute.
    public int doFilter(Workspace ws, DataBinder binder, ExecutionContext cxt)
    I can see other attributes such as dId, dName etc. but not the "dAuthor". Can someone please suggest how can I retrieve the author name for the document for which workflow has just finished and notify the author..
    I know there are services like getDocumentByName, but I do not know can I call these services from my filter code in Java. Please guide me.
    Thanks in Advance,
    Aakash

    Hi,
    If what you need is to send a notification to the original author, you do not need to write custom code, you can follow these steps:
    1) on the first step, assign the dDocAuthor to a workflow variable. As an example, on the Entry event if the first step add this code:
    <$wfSet("originalAuthor",dDocAuthor)$>
    Note that you need the previous step only if you allow revisions during your workflow. If you don't, then dDocAuthor would not change and you can skip that step
    2) on the last step, send a notification using the variable we saved on the first step as the addresee. As an example, on the on Exit event add this code:
    <$wfNotify(originalAuthor,"user")$>
    (if you do not allow revisions, substitute originalAuthor by dDocAuthor)
    Another thing, a lot of people run into the need to override the standard email templates when they start sending custom notifications. The workflow administration guide has a very nice and detailed section that explains how to do this. Also, the idocscript reference guide is always a good point to check the correct syntax for idocscript functions. There is a section of workflow related functions/variables in that guide that always comes in handy.
    Hope this helps.
    Regards,
    Jorge

  • Sending OUTLOOK mail from Workflows

    HI ,
    Please help me in getting out of this error encountered during a sample workflow thing.
    Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail  need to send a recipient ,stating that he accepthed the request.
    Below I designed  that task.
    In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even  getting notification in my SBWP  in SAP INBOX.
    How should i send the mail to OUTLOOK from SAP.

    Hi Ranjith,
    Here's some friendly advice for you:
    - don't post the same question twice
    - if you get a specific error message ('wait for communications service'), try investigating it yourself by googling it.
    In this case, your issue is almost certainly with your mail setup - you can confirm this by trying to send a mail from SBWP to an external address. If so, it's a Basis issue, not workflow. You can safely hand it off to your Basis team.
    cheers
    Paul

  • SharePoint Designer 2013 Workflow not sending e-mails

    Hello everyone, it's me again.
    I have a problem with my custom workflow. A simple workflow made in SharePoint Designer 2013 with a "Send Mail" action isn't actually sending any e-mails.
    I am able to send mails with SharePoint 2013 with out-of-the-box workflows or alerts when sharing a page. The simple workflow is: Send Mail to TestUser after a new item has been created. 
    1) SMTP server has been configured and tested successfully, I am able to send mails
    2) The workflow gets "Completed" status even though I didn't actually receive a mail
    3) I double checked User Profiles and the e-mails are correct (I also checked in Active Directory)
    4) The User Profile Sync. Service is running and I even did a full sync
    5) Out of the box workflows are work perfectly fine
    I have no explanation why custom workflows won't send a mail. I can perform other actions like "change workflow status". 
    Any help please?

    Hi Ali,
    Please check if "send mail" action does not work in both SharePoint workflow 2010 platform and SharePoint 2013 platform.
    Please add the actions "log to history" before and after action "send mail" to check if the send mail action is performed.
    And you can also add "pause for a duration" before the "send mail" action, see if it could help.
    You may also check if there are some related ULS log.
    Thanks
    Daniel Yang
    TechNet Community Support

  • Sending HTML mail using code in workflow

    Hi All
    I follow somerecomendation to create a program to send the mail out. using a program
    My code looks as the following.
        DATA:   l_docdata TYPE sodocchgi1,
                li_content TYPE TABLE OF solisti1,
                li_receiver TYPE TABLE OF somlreci1,
                l_ename     TYPE pa0002-cname,
                l_text(255),
                lw_receiver TYPE somlreci1.
        l_docdata-obj_name = 'Notification'.
        l_docdata-sensitivty = 'P'.
        l_docdata-proc_syst = sy-sysid.
        l_docdata-proc_clint = sy-mandt.
        l_docdata-obj_descr = 'TEST'.
    l_text  = 'Testing Content'.
    APPEND l_text TO li_content. CLEAR l_text.
    lw_receiver-receiver = 'MyMailtest@GM ail.com'.
    lw_receiver-rec_type = 'U'.
    APPEND lw_receiver TO li_receiver.
        CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
          EXPORTING
            document_data              = l_docdata
            commit_work                = 'X'
            DOCUMENT_TYPE              = 'HTM'
          TABLES
            object_content             = li_content
            receivers                  = li_receiver
          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.
    I try to use the code above and i manage to send the mail out. However when i change the l_text  = 'Testing Content'  to  l_text  = '<A HREF="http://www.google.com">Click Here</A>'  , it does not reach my mailbox even in in transaction SCOT, i can see that it was succesfully transmited.
    Anyone have any idea about this?
    Thanks.
    Regards,
    Bryan.

    Hey PJ,
    I manage to send out the email using the htm type. However, instead of having a hyperlink saying click here and it link to another page, i am getting something like this in the email.
    Click Here <http://www.google.com> 
    In my code, i write 
    <A HREF="http://www.google.com">Click Here</A>
    , but the content just turn to above. What i wan is a CLICK HERE link and will link to google.
    Thanks.
    Regards,
    Bryan.

Maybe you are looking for

  • RE: Logic 9..needing to reboot computer...

    to switch midi instruments every time//sorta kills work flow..also manual access from the program has disappeared-i7..3.4 ghz..16 gig ram..2tb drives OSX Lion 10.7.5...any ideas ?

  • How to connect to SQL Server through Script Task?

    Experts, I want to do bulk copy from one database to another database (which is on another different box). I was trying to follow below link, https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopy.bulkcopytimeout(v=vs.110).aspx bu

  • Connecting exchange to hp eprint

    I am unable to connect my work outlook account to eprint on my ipad. When i go to add email account. I can enter my email address, domain, password and hostname. There is no place to enter my username that is required for my serve to accept. Please a

  • Shouldn't all methods pertaining to an object be defined inside that class?

    I am trying to understand if I am missing something basic java-wise (I come from other oop environments) or am I facing an ide-style/problem, or maybe I HAVE NO problem. The way I always had it, was to place all code (functions/procedures/properties)

  • Can i use iMovie to create 1940 x 1080 movies?

    Hi I need to make some display movies for a flat screen monitor that is tilted vertically. All my images are 1940 x 1080 (H x W). Where can i change the output movie size? I have the latest version of iMovie Thanks Fabio