Identifying pending work items and sending emails to persons responsible.

Hi Experts ,
Can you please provide the database table where i can get the status of the work item along with the user/person responsible to act on that work item.
Basically the requirement is to send emails to outlook of  employees having pending work items in their SAP inbox.
Thanks

Hi Kokate_Abhishek ,
Using this FM SAP_WAPI_CREATE_WORKLIST, you can get all workitems with status(STATUSTEXT,columname).
May be this will work for you.

Similar Messages

  • Reg: HRforms converted to PDF and send email to individual employee

    Hi Experts,
    The requirement is convert the HR form output to pdf and send email to respective employee in standard transaction. I copied RPCEDTX0 to  ZRPCEDTX0 and include RPCEDS09 to ZRPCEDS09, the changes need to be done for individual PERNR, I have modified the include as shown below.
       CALL FUNCTION 'HRPY_PROCESS_SET_PERNR_STATUS' after this, i have written my code
    * start of changes ARAFIQUE
      DATA: formname TYPE tdsfname VALUE 'HR_ESS_PAYSLIP_TO_PDF',
            fm_name TYPE rs38l_fnam,
            pinfo LIKE pc407 OCCURS 0 WITH HEADER LINE,
            pform type tt_pc408,
            pform_l like pc408 OCCURS 0 WITH HEADER LINE.
      IF xform[] IS NOT INITIAL.
        pform_l = xform.
        APPEND pform_1 TO pform.
        pinfo-molga = '99'.
        pinfo-forml = 'ZACC'.
        APPEND pinfo.
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname                 = formname
    *       VARIANT                  = ' '
    *       DIRECT_CALL              = ' '
         IMPORTING
           fm_name                  = fm_name
         EXCEPTIONS
           no_form                  = 1
           no_function_module       = 2
           OTHERS                   = 3
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION fm_name
          EXPORTING
            pinfo                      =
            pform                      = xform[]
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    * end of changes ARAFIQUE
    I found out in internet that the smartform 'HR_ESS_PAYSLIP_TO_PDF' will convert to PDF and then i can send email to PERNRS.

    Hi Experts,
    I have written the below code, the payslip is getting converted to PDF and it is getting saved in presentation server. I need to pick this file and mail, I created a customized function module for sending mail. I'm not able to send email to external addresses.
    Please find my code below. I will post the function module later.
    * start of changes ARAFIQUE
      DATA: "formname TYPE tdsfname VALUE 'HR_ESS_PAYSLIP_TO_PDF',
            "fm_name TYPE rs38l_fnam,
            p_info LIKE pc407 OCCURS 0 WITH HEADER LINE,
            "pform type tt_pc408,
            p_form LIKE pc408 OCCURS 0 WITH HEADER LINE,
            pdf_content TYPE xstring,
            pdf_fsize TYPE i,
            lv_output_length TYPE i,
            lt_binary_data TYPE STANDARD TABLE OF sdokcntbin,
            it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            it_message LIKE solisti1 OCCURS 0 WITH HEADER LINE.
      IF xform[] IS NOT INITIAL.
        p_form[] = xform[].
        p_info-molga = '99'.
        p_info-forml = 'ZACC'.
        p_info-pcols = 1.
        p_info-psize = 1.
        APPEND p_info.
        CALL FUNCTION 'CONVERT_PAYSLIP_TO_PDF'
          EXPORTING
            p_info      = p_info
          IMPORTING
            pdf_content = pdf_content
            pdf_fsize   = pdf_fsize
          TABLES
            p_form      = p_form[]
          EXCEPTIONS
            empty_form  = 1
            OTHERS      = 2.
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = pdf_content
          IMPORTING
            output_length = lv_output_length
          TABLES
            binary_tab    = lt_binary_data.
        CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              filename                        = 'C:\Test\Testing.pdf'
              filetype                        = 'BIN'
            TABLES
              data_tab                        = lt_binary_data
    *     FIELDNAMES                      =
           EXCEPTIONS
             file_write_error                = 1
             no_batch                        = 2
             gui_refuse_filetransfer         = 3
             invalid_type                    = 4
             no_authority                    = 5
             unknown_error                   = 6
             header_not_allowed              = 7
             separator_not_allowed           = 8
             filesize_not_allowed            = 9
             header_too_long                 = 10
             dp_error_create                 = 11
             dp_error_send                   = 12
             dp_error_write                  = 13
             unknown_dp_error                = 14
             access_denied                   = 15
             dp_out_of_memory                = 16
             disk_full                       = 17
             dp_timeout                      = 18
             file_not_found                  = 19
             dataprovider_exception          = 20
             control_flush_error             = 21
             OTHERS                          = 22
        it_receivers-receiver = 'gmailid'.
        it_receivers-rec_type = 'U'.
        it_receivers-com_type = 'INT'.
        APPEND it_receivers .
        it_message-line = 'Test for sending email'.
        APPEND it_message.
        CALL FUNCTION 'ZSEND_MAIL_ATTACHMENT'
          EXPORTING
            v_file_path  = 'C:\Test\Testing.pdf'
            v_subject    = 'Test Mail'
          TABLES
            it_receivers = it_receivers[]
            it_message   = it_message[].
        IF sy-subrc EQ 0.
          COMMIT WORK.
    *   Push mail out from SAP outbox
          SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
        ENDIF.

  • How to include sap work item in the email sent by workflow - WS01700044

    Hi,
    In FSCM Dispute Management, we have a requirment to include the sap work item in the email being sent by the workflow - WS01700044.
    The underlying task in it is TS01707928. This Task sends an email to the outlook as well as work item to SAP inbox.
    We want to include Sap Work item in email being sent to the outlook.
    This will help the users to process the workitem directly from the email instead of going to SAP Inbox to process the work items.
    Please suggest the possible ways.
    Thank you.
    Vijay

    Sadly, I believe this will require a bit of development to make it happen. The project I'm on now...we are finding that to get it to do what we want it to do, a development to customize the email message to include all the case fields is required.
    D

  • Create activity with more than partner and send email to all of them

    Hello All,
    I am working on CRM 5.0 activity management I want  to create activity with more than activity partner and send email to all of them
    Regards
    Khaled Fahim

    hi
    you can achieve this easily by creating a partner determination procedure in which you will be having more than one partner function having the function category as activity partner.
    once you created the PDP just attach this to the transaction and then call the procedure when you are actually creating an activity.
    for sending mail you can use FM
    SO_SEND_MAIL_DOCUMENT_AP1
    this is just one way
    another way is which stephen suggests
    you can use the personalised mail form functionality ,this is good in a way u neednt do any coding it will solve ur purpose in standard way.
    another way is when you create campaign and when an inbound activity is created for the every survey response
    this way you can send multiple mail and also for more than one or even n number of activity partners ,we can create the activity for the same
    best regards
    ashish

  • Problem using iPad to receive and send emails when not at home

    I am unable to send or receive emails from any outside wifi location like Tesco / ikea but once home there is not a problem. Messages reads "Server unable to respond" I was wondering if it is a security issue ?

    Greetings
    I suspect that the issue is the SMTP server settings. On your home network you are using your providers SMTP server and all is fine (If you check your email account configs you will find that the SMTP server is set to your providers?).
    When you use a different network (provider) mail will not be sent unless you use that networks (providers) SMTP server (this is a security issue to address ways of "spamming").
    So if youre 3G/4G provider is the same as you home provider all will work well via your home WiFi. If you turn off WiFi and just use your 3G/4G connection to send mail (iPhone/iPad etc) all will work well (when you are out and about and using anothers WiFi network).
    If you are connected to, say a MacDonalds WiFi, mail will probably not be sent. (It will be received though).
    Using WEB mail interface (via your WEB browser) removes this problem as well. 
    (A SMTP server is what is used to send email. So to successfully use anothers (not a networks the same as your providers) WiFi network and send email via it, you must know the SMTP servers name and reconfigure your email account/s to use that server to send mail.)

  • Need a perl script which monitors a network folder and sends email when new files/folders arrived...

    I need a perl script (or something else better) which monitors a network folder and sends email when new files/folders arrived. I tried it in Automator but failed.
    Thanks!

    Yes. I tried it. But whenever I restart m Mac, the watch folder doesn't work until I reconnect to network or run the Automator... I need a simple system that automatically connects to the network and monitor the folder, even I restart the Mac.
    Thanks!

  • Apple iPad 3. BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Can anyone help me please.

    BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Apple iPad 3. Can anyone help me please.

    All resolved at last
    Deleted the SMTP setting
    Recreated the SMTP using the same settings
    Able to send emails now
    No logic - as usual - just a bug!

  • Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?

    Hi,
    Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
    Thnx in advance.

    I would hope there would be no way to disable Save AS that would reduce the applicationss capability. What are you trying to prevent happening?

  • After updating to the current versions of Adobe, I can no longer scan and send emails.

    After updating to the current versions of adobe, I can no longer scan and send emails nor can I open an attachment upon receiving an email.

    Capt Camo wrote:
    After updating to the current versions of adobe...
    What exactly is "adobe"?  Adobe is the name of a company that has hundreds of software products, each with a distinct name.
    You are posting in the Flash Player forum; do you really receive emails with Flash attachments?
    Flash Player also cannot scan or send emails.
    Finally you give no information regarding your operating system, email client, etc.

  • Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • I am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unable to do so with my iMac. This problem started suddenly and the error message i get is error 5.7.8. Please Help

    I  am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unablesend any email with my iMac ( i can recieve email) . This problem started suddenly and the error message i get is error 5.7.8. I have read the threads on line and went into settings, even created a new profile, nothing helps...Please advice..is this something to do with my keychain Access?

    As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
    Office for Mac forums

  • BPE crash - Trying to remove work item and SXMB_MONI message that caused it

    Hi,
    I have a file to IDOC scenario with BPE.  We have had a large file that was picked up by XI in error, but the adapter engine did process the XML conversion successfully.  This message was sent to the BPE but due to the message size, the BPE crashed.  Currently the work flow that caused the crash is in started status in report RSWF_XI_SWPC - continue workflow after system crash.  and we have a message in SXMB_MONI for this workflow that is still in status outbound to PE "message being sent".  We would like to remove or cancel the workflow and the message in XI.  I have searched around for the best way to do this in this situation but have not found anything.  We cannot cancel the message in SXMB_MONI due to the status it is currently in.  Can we:
    1. stop and start BPM to resolve the issue or
    2. some how change the status of the workflow to error so the message in SXMB_MONI can be cancelled.
    3. Should we just leave the work item and messge as is, because it is not affecting anything else in XI.
    Any help would be apprecieated.
    thanks.
    Jamie
    Edited by: Jamie Bullen on Jan 22, 2008 4:04 PM

    Hi,
    Thanks for your reply.  I'm pretty sure I can delete the work item from SWWL but I don't think the outbound status of the message is SXMB_MONI will change once this is done.
    thanks.
    Jamie

  • Notification Template  and send Email in oim 11g

    Hi All
    I need to send an email(html) format to users.I have created the a notificationtemplate through webconsole.
    I am intrested to know are there any api's available in 11 g to access this particular notification template in my java code and send email to a user using this template.
    iam referring to the class <oracle.iam.notification.vo.NotificationTemplate> and <Thor.API.OperationsInterface tcEmailOperationsIntf> classes but iam unable to access the notifcation template and send email.
    Edited by: Bipin Patil on Jul 1, 2011 12:34 AM

    Hi Rajiv Dewan
    Your link was helpful iam able to connect the the notification template.
    Now iam able to get the Template name,Subject,ID,Locale etc.
    I have one small question how to get the message from the template using this api,
    I referred the NotificationEvent,NotificationTemplate api's still iam not able to get message from my template and set message in my template.
    Is there any other API's i need to explore to get message from notification template.
    Thanks and Regards
    Bipin patill
    Edited by: Bipin Patil on Jul 1, 2011 5:29 AM

  • Someone has hacked into my account and sending emails (iCloud) pretending to be me.  I've changed my icloud password.  Do i need to do anything elase?

    Someone has hacked into my account and sending emails (iCloud) pretending to be me.  I've changed my icloud password.  Do i need to do anything else?

    You should consider enabling two-factor verification on your Apple ID, to further protect it. Without doing that, it's entirely possible that a hacker who gains access to your account in the future could take control of your Apple ID away from you entirely.
    You also should consider whether any confidential information might be stored in iCloud. If you have made the mistake of putting a list of passwords in the Notes app, for example, that list should be considered compromised, and all passwords should be changed (and removed from the Notes app).
    If you used the same password as your old iCloud password for other accounts, you need to change the password on all those accounts.
    You should also alert your contacts that your e-mail was compromised, so that they are cautious about trusting any attachments supposedly coming from you. Keep in mind that the spammer can continue to "spoof" your e-mail address on the From line of new e-mail messages, even without access to your e-mail account.

  • Converting html file into zip file and send email attaching zip file

    Hi Experts,
    I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
    So, Now i need to compress the data for less than 7MB.
    I decided to convert HTML File into ZIP File.
    Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
    Correct answer rewarded,
    Thanks & Regards,
    N. HARISH KUMAR

    Hi Experts,
    *// HTML_TAB converting into ZIP File
       DATA  : zip_tool TYPE REF TO cl_abap_zip,
               filename TYPE string ,
               filename_zip TYPE string .
       DATA  : t_data_tab TYPE TABLE OF x255,
               bin_size TYPE i,
               buffer_x TYPE xstring,
               buffer_zip TYPE xstring.
    filename = text-007.                                                                          "'HTML_TAB
    *describe the attachment
       DESCRIBE TABLE html_tab LINES tab_lines.
       bin_size = tab_lines * 255.
       CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
         EXPORTING
           input_length = bin_size
         IMPORTING
           buffer       = buffer_x
         TABLES
           binary_tab   = html_tab.
       IF sy-subrc <> 0.
    *     message id sy-msgid type sy-msgty number sy-msgno
    *     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    *create zip tool
       CREATE OBJECT zip_tool.
    *add binary file
       CALL METHOD zip_tool->add
         EXPORTING
           name    = 'FSSAI_MAIL.HTML'
           content = buffer_x.
    *get binary ZIP file
       CALL METHOD zip_tool->save
         RECEIVING
           zip = buffer_zip.
       CLEAR: t_data_tab[],bin_size.
       CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
         EXPORTING
           buffer        = buffer_zip
         IMPORTING
           output_length = bin_size
         TABLES
           binary_tab    = html_tab.
    Thanks & Regards,
    N. HARISH KUMAR

Maybe you are looking for