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

Similar Messages

  • Custom Workflow for sending Remainder mail in MS CRM 2013/2015 online

    Hi All,
    We have a requirement to send a remainder email before 5 days,3 days and on the same day of the M/TC date in lead form. To achieve this we tried using Custom Workflow. Below is the logic tried but in the highlighted line
    not able to retrieve the "M/TC date" value, this results in no output.
    Kindly suggest where we are going wrong or a best approach to do this.
    Parameters:
            [RequiredArgument]
            [Input("InputEntity")]
            [ReferenceTarget("lead")]
    public
    InArgument<EntityReference>inputlead
    { get;
    set; }
            [Output("TaskCreated")]
            [ReferenceTarget("task")]
    public
    OutArgument<EntityReference>
    taskCreated { get;
    set; }
    code:
                try 
                Entity lead
    = (Entity)service.Retrieve("lead",
    context.PrimaryEntityId, new ColumnSet(newString[]
    { "new_mtcdate" })); //  (unable to
    retrieve the mtcdate)            
                      Guid leadId
    = this.inputlead.Get(executionContext).Id;
                    if(lead.Contains("new_mtcdate"))
                      {  DateTime date
    = DateTime.Now;
                          DateTime mtcdate
    = (DateTime)lead["new_mtcdate"];
                          TimeSpan elapsed
    = date.Subtract(mtcdate);
                          double days
    = elapsed.TotalDays;
                          Entity task
    = new Entity();
                          task.LogicalName = "task";
                          if (days
    == 5)
                          {task["subject"]
    = "Five days more for the Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));}
                          if (days
    == 3)
                          {task["subject"]
    = "Three days more for the Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));}
                          if (days
    == 0)
                          {task["subject"]
    = "Today you have Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));
    Regards, Rekha.J

    Hi,
    Try with replacing
    Entity lead = service.Retrieve("lead", context.PrimaryEntityId, new ColumnSet(new string[] { "new_mtcdate" }));
    also make it confirm, you are getting EntityId.
    Also check  Link

  • Workflow for sending Reminder before 10 daysdelivery date

    I have built workflow as reminder should be sent to Mangaer before 10 days of delivery date once order is closed/won
    ([<IndexedDate0>] - Duration("P10D")) but mail is triggering immediately order is closed/won irrespective of delivery
    date, so my workflow condition is not working at all..
    Please suggest.
    Regrads,
    Ketki

    Hi Ketki,
    What is the workflow rule condition you are using in the workflow ?
    Thanks & Regards
    Sablok

  • How to capture the screen for sending the mail

    dear sir,
                      How to capture the screen for sending the mail .. Is there any funtion module or anyother way ? .. How to do this .. Please tell me..
    Regards,
    Kumar

    dear sir,
    s thats my problem ?
    Regards,
    kumar

  • Built-in class for sending e-mail?

    Is there a built-in class for sending e-mail in ABAP?

    Hello
    No that i know...but check this:
    *& Report  YMAIL
    *& uses sap script
    REPORT  YMAIL.
    DATA: ITCPO LIKE ITCPO,
    TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA LIKE SODOCCHGI1.
    DATA: MAILPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC LIKE SOMLREC90 OCCURS 0 WITH HEADER LINE.
    DATA: SOLISTI1 LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
    FORM SEND_FORM_VIA_EMAIL *
    FORM SEND_FORM_VIA_EMAIL.
    CLEAR: MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    REFRESH: MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
    MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
    MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
    MAILTXT-LINE = 'Here is your file, would you check it?'.
    APPEND MAILTXT.
    Prepare Packing List
    PERFORM PREPARE_PACKING_LIST.
    BREAK gpulido.
    Set recipient - email address here!!!
    *MAILREC-RECEIVER = '[email protected]'.
    MAILREC-RECEIVER = '[email protected]'.
    MAILREC-REC_TYPE = 'U'.
    APPEND MAILREC.
    Set recipient - email address here!!!
    *MAILREC-RECEIVER = 'BGIRALDO'.
    *MAILREC-REC_TYPE = 'B'.
    *APPEND MAILREC.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = MAILDATA
    PUT_IN_OUTBOX = 'X'
    TABLES
    PACKING_LIST = MAILPACK
    OBJECT_HEADER = MAILHEAD
    CONTENTS_BIN = MAILBIN
    CONTENTS_TXT = MAILTXT
    RECEIVERS = MAILREC
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    submit rsconn01 with mode = 'INT' and return.
    CASE SY-SUBRC.
      WHEN 0.
        WRITE: / 'Result of the send process:'.
        LOOP AT MAILREC.
          WRITE: / mailrec-RECEIVER(48), ':'.
          IF mailrec-RETRN_CODE = 0.
            WRITE 'sent successfully'.
          ELSE.
            WRITE 'not sent'.
          ENDIF.
        ENDLOOP.
      WHEN 1.
        WRITE: / 'no authorization to send to the specified number of'
      WHEN 2.
        WRITE: / 'document could not be sent to any of the recipients!'.
      WHEN 4.
        WRITE: / 'no authorization to send !'.
      WHEN OTHERS.
        WRITE: / 'error occurred during sending !'.
    ENDCASE.
    ENDFORM.
    Form PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
    CLEAR: MAILPACK, MAILBIN, MAILHEAD.
    REFRESH: MAILPACK, MAILBIN, MAILHEAD.
    DESCRIBE TABLE MAILTXT LINES TAB_LINES.
    READ TABLE MAILTXT INDEX TAB_LINES.
    MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
    CLEAR MAILPACK-TRANSF_BIN.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 0.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'RAW'.
    APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form. just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
    PERFORM GET_OTF_CODE.
    LOOP AT SOLISTI1.
    MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
    APPEND MAILBIN.
    ENDLOOP.
    DESCRIBE TABLE MAILBIN LINES TAB_LINES.
    MAILHEAD = 'TEST.OTF'.
    APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
    MAILPACK-TRANSF_BIN = 'X'.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 1.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'OTF'.
    MAILPACK-OBJ_NAME = 'TEST'.
    MAILPACK-OBJ_DESCR = 'Subject'.
    MAILPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND MAILPACK.
    ENDFORM.
    Form GET_OTF_CODE
    FORM GET_OTF_CODE.
    DATA: BEGIN OF OTF OCCURS 0.
    INCLUDE STRUCTURE ITCOO .
    DATA: END OF OTF.
    DATA: ITCPO LIKE ITCPO.
    DATA: ITCPP LIKE ITCPP.
    CLEAR ITCPO.
    ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    FORM = 'YSEND_MAIL'
    LANGUAGE = SY-LANGU
    OPTIONS = ITCPO
    DIALOG = ' '
    EXCEPTIONS
    OTHERS = 1.
    CALL FUNCTION 'START_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    WINDOW = 'MAIN'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    Close up Form and get OTF code
    CALL FUNCTION 'END_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    MOVE-CORRESPONDING ITCPO TO ITCPP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = ITCPP
    TABLES
    OTFDATA = OTF
    EXCEPTIONS
    OTHERS = 1.
    Move OTF code to structure SOLI form email
    CLEAR SOLISTI1. REFRESH SOLISTI1.
    LOOP AT OTF.
    SOLISTI1-LINE = OTF.
    APPEND SOLISTI1.
    ENDLOOP.
    ENDFORM.
    Bye Gabriel

  • Slow up loading for sending E mail with attachments

    Slow up loading for sending E mail with attachments. It takes a long time to send most attchments. I'm on cable and had no problems prior to changing to Mac.com

    You need to start in the app that contains the file that you want to send as an attachment, and use that app's functionality (assuming that it has it) to select the file and connect it to an email - you can't start in the Mail app itself

  • Any BAPI or FM for sending e-mail

    Hi All,
    Is there a BAPI or FM for sending e-mail.
    Regards
    Nikhil Bansal

    Hi,
    try with this FM:
    <b>SO_NEW_DOCUMENT_SEND_API1</b>
    Reward points for helpful answers.
    Best regards,
    Gianluca Barile

  • SAP Workflow - Send Reminder Mail

    HI,
    I am supposed to send a reminder mail to the user in my SAP Workflow. The scenerio is if the user has completed the given Work Item then the workflow ends but he has not completed the task then he should get a Reminder mail after 7 days.
    Please let me know how to achieve this. Its a bit urgent for me. You comments are highly approciated.
    Thanks in Adcance,
    Sachin

    Hi Sachin,
    You need to set up deadline monitoring for this.
    On the task definition, there will be a tab for "Latest End".
    On this you can define the dealine by which the task should be completed (e.g. 7 days from initiation), and the action to take if the deadline is missed (e.g. send a reminder mail).
    There is some built-in help on this anyway, so it shouldn't be too confusing.
    Hope that helps - I'd appreciate some points!!
    Regards
    Robin

  • Send reminder mails to the outlook

    Hi everyone,
    I have a scenario where i have a modeled deadline branch where if the deadline is missed i am sending recursive mails to the recipients using Rule in an activity .
    In the Rule i am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mails . I need to send mails 3 times for every 5 mins . for that i have created a requested start deadline with time as 5 min .
    and a workflow element status with initial value as 0 . and  in the same branch i have used a container operation step where i am incrementing my status value by 1.
    and loop until condition is set to &status& = 3.
    i am receiving the reminder mail only once in my outlook and the status is set to 1.
    it is not getting incremented again . and hence no second reminder mails are coming in my outlook.
    Can any one please help .?
    Thanks !!

    I need to send mails 3 times for every 5 mins . for that
    i have created a requested start deadline with time as 5 min .
    I assume you have desigened the workflow template as below.
    1. A dialog step where the workitem will be sent for apprval.
    2. For the above dialog step you have defined both Requested start and Latest end of Modelled Deadline .
    3. In the newly generated branch you have inserted a loop and inside a loop you have defined a step to send mails. End condition for the loop is COUNT = 3.
    IF the case is like above then you modify the workflow design as below.
    1. Instead of inserting a loop in the deadline brach , you define it outside the deadline branch.
    2. Both Dialog workitem and deadline brach and its step must be included inside one loop.
    3. Now for the whole loop you deifine a condition in a such a way that the workitem should not miss the deadline and it should be in the completed status then only you will end the whole loop other wise you keep on looping it .
    I hope if you remodify the workflow as above i hope it works...

  • AME for sending reminder notifications every 5 days

    Can I use AME to send reminder notification every 5 days for a Pending notification. How can I achieve it. Please give an idea.
    Thanks
    Edited by: user4280075 on Apr 2, 2012 4:42 PM

    http://wonderlaura.com/Lists/Posts/Post.aspx?ID=64
    In SPD just type Today it will compare current system date.
    current item : expiry date [is your list column field]
    Today [is system variable just type Today]
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/0112eb9b-e9b8-4d04-8cf3-9bff91005193/reoccuring-email-reminders-in-workflow-2010
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/702695a1-4654-4631-834a-54873eddd158/sharepoint-workflow-reminder-email
    http://stackoverflow.com/questions/18626235/sharepoint-workflow-to-send-email-on-a-specific-date-and-time
    Steps
    If Status equals Completed
    Stop Stop Workflow and Log
    If ReminderDate equals Today
    Send Email Primary Contact
    Else If ReminderDate greater than Today
    Pause until ReminderDate
    Send Email Primary Contact

  • 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

  • Looking for .XSD for mail for sending the mail through mail adapter

    Hi Experts,
                      I am looking for .XSD file for sending mail.I am using Mail adapter to send mail to report error occur on creating PO document in my scenario to a specified department's email id.I searched for many blogs but not get any .XSD file for email.Looking for a suugesstion.
    Thanks
    Deepak

    Do you have S -user name and password? If not then never mind, Copy the below XSD, I took it from the link which I gave to you.
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="Mail">
        <xs:annotation>
          <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:string" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Reply_To" type="xs:string" minOccurs="0"/>
            <xs:element name="Content_Type" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Message_ID" type="xs:string" minOccurs="0"/>
            <xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>
            <xs:element name="Content" minOccurs="0">
              <xs:annotation>
                <xs:documentation>any type</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="encoding" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>

  • Is There a size limitation for sending e-mail photos

    I am using the latest version of MS Entourage and my mail account is with .MAC
    Yesterday I highlighted two pictures in iphoto and clicked the e-mail icon but was then unable to send the mail. I got an error message. I deleted one of the phtos and still got the error.
    I then discovered the size dialog box and clicked "small" and was able to send one photo.
    I can receive mail with up to 20 attached Jpg items, But can't forward the same e-mail message. Is there a size limitation in Entourage or in .mac.
    Thanks

    There is no such limit with Entourage or Apple's Mail application but email account providers have an overall message size limit for received and sent messages.
    .Mac has an overall message size limit of 10 MB for received and sent messages which is a typical limit but I have a few friends and business associates who have a smaller overall message size limit of 5 MB. Although I can send a message that is up to 10 MB in size with my .Mac account, the message will not be accepted by the incoming mail server for the friends and business associates with a 5 MB message size limit.
    All files attached to a message must be encoded before being sent and decoded when received. Most email clients such as Entourage and Mail use MIME for attachment encoding/decoding which is the internet standard. A problem with MIME is it isn't very efficient. The encoding process increases the size of the pre-encoded file by roughly 50% of so. A file that is 5 MB in size (pre-encoded) will be roughly 7.5 MB in size due to the encoding process.
    What was the exact error message provided?

  • Email configuration for sending external mail(GMAIL) from SAP server

    Hi
    I would like to know the procedure for configuring email server in sap for sending mails to gmail.
    Regards
    Subha

    Hi,
    The correct (gmail) email id should be maintained against the user in SU01.
    Refer the following links for the help on the setup:
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    http://wiki.sdn.sap.com/wiki/display/XI/SMTPConfigurationinSAPXI

  • PO Workflow for sending mails to outlook

    Hi Guys,
    When a PO is created or changed it will send a notification to the default inbox in ECC as the workflow is being triggered, I need some information like if the workflow is triggered it will send mails to 5 different persons on there outlook.

    Hi,
    before posting a query please try to check in SDN. i had a sane issue. i found here only.
    any way.
    first it should be configured to the workflow.
    open a PO.
    on left top, we have active object->workflow.
    check wheater configuered workflows exist or not.
    thank
    vinod.

Maybe you are looking for

  • Need some help for photo transitions

    How can i make a banner using photo transitions like this: www.sportrecife.com.br ?! Can i make it using iweb?!

  • ITunes match gave me two identical copies of the instrumental version - want words!

    Imogen Heap's "Ellipse" featured two "CD's" - One featured all her songs sung by her - The other featured all her songs as instrumentals. When syncing with iCloud, iTunes Match gives me access to only the instrumental version of all songs...twice!  S

  • Just purchased song, and itunes has eaten my credit and crashed.

    I have just added a gift voucer to my itunes account, I purchased an album, and Itunes downloaded the first three songs, An error message appeared saying the connection had timed out (i have read other posts about this message !) Itunes then hung, I

  • Redhat EL 4 and pix 501

    I have recently configured pix 501 to work with 3 server. two server is on windows and one is on redhat el 4. The firewall policy is very simple. Only 3 static ip apply with this three server. No nat or pat for group of ips. All this three server hav

  • IPhone syncing Mail application forever

    When I go to sync my iPhone 3G it stays on Syncing mail accounts with "iPhone" forever......I stopped it after it had been running this way for 3 hours....what is going on and how do I fix it?