Sending an intimation mail

HI ALL,
How can we send a mail to the user intimating him that his report/BDC is completed in background?

HI,
You can use FUNCTION RS_SEND_MAIL_FOR_SPOOLLIST
If Unix is being used, you may send a report to any internet mail with the following:
REPORT ZSNDMAIL .
DATA: COMND(200) type c.
DATA: RESULT(200) type c occurs 100 with header line.
PARAMETERS: FILE(60) type c lower case default '/sapdata/sd_outbound/testmail.dat'.
PARAMETERS: SUBJECT(60) type c lower case.
PARAMETERS: EMAIL(60) type c lower case.
INITIALIZATION.
TRANSLATE EMAIL TO LOWER CASE.
START-OF-SELECTION.
TRANSLATE EMAIL TO LOWER CASE.
CONCATENATE 'cat' FILE '| elm -s "' subject '"' email into comnd seperated by space.
CALL 'SYSTEM' ID 'COMMAND' FIELD comnd 'TAB' FIELD UNIX_RESULTS-SYS.
Loop at Results.
write: /1 results.
endloop
end-of-selection.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • When ever create new version specified User should get intimation Mail

    Hi,
    My requirement is when ever user create new DIR version, system should send some intimation Mail to specified user.
    If it's not possible in standard system, Pls let me know it is possible through development or not.
    Thanks & Regards,
    Sunny

    Does the specific user, u want to send the mail, keeps changing?
    At the time of creation of a DIR if reqd value is maintained in User Responsible then he'll get the mail in his SAP Inbox stating "The Document for which u r responsible has been created/modified".
    For this certain linkages in workflow needs to be activated.
    If you want to send the mail in specific format with some more details, then u may use messages functionality of DMS in which mails are sent based on Document Type & Status combination.
    Another option is using workflow. For this u need to define a simple workflow task which can be triggered based on status. you need to maintain this task in Status settings.
    Points Appreciated.

  • HCM ESS Leave request : Intimation mail or Approval mail is not going

    Dear Experts,
    We have an Ep 7.0 system with ECC 6.0  is connected at backend. Currently we have a requirement : whenever an employee will request for a leave from ESS(EP 7.0) the approver should get an intimation mail and similarly when the request is apporved or rejected the requestor should get a mail about this.
    Now we have already a customize workflow for this leave request process. We have checked and scheduled background work procesess for the following reports
    1. RPTARQEMAIL
    2. RPTARQPOST
    3. RSWWTHEX
    4. RSWWERRE
    5. RSWWCLEAR
    6. RSWWCOND
    Please note that an approval mail is being sent to the applicant after approval of his leave. We need to make the following adjustments:
    1. The body of the approval mail that is being sent now needs to be changed and must include details of the leave request. How to do this?
    2. No intimation mail is being sent to approver after a leave request has been raised. As per RPTARQEMAIL approver should also get notified about the leave request.
    3. Apart from RPTARQEMAIL if we use the work item "SEND MAIL" in the workflow to implement this, we are getting the approval mail and notification mail in the inbox of our business workspace(SBWP). However the mail is not being redirected to the mail id maintained i.e in outlook inbox.
    Regards
    Partha

    My sincere advise is to do some thing like this,
    1. First take a copy of the standard leave workflow template WS12300111
    2.Create a ZBOR (in SWO1 txn) in which you define a method which handles mail sending process by using the standard SAP FM SO_DOCUMENT_SEND_API1
    3. Create a Text element in SO10 transaction.After this as I said you will creating a ZBOR-method in that itself you determine the agents and email addresses before calling the FM 
        SO_DOCUMENT_SEND_API1.
    4. To get the lines of the mail content (from SO10) you hvae to use the FM READ_TEXT
    if the above is done then fixing your issues is a simple thing
    Q1. You need to change the content of the mail type.
    A1. You can chage the mail content in the TExt element.
    Q2.No intimation mail is being sent to approver after a leave request has been raised?
    A2. You hvae two options over here either you can make use of the tab notification of the decision step or by using the program RSWUWFML2 you can schedule a background job, for help see the Documentation of the rep.
    Q3.Mail Sedning to outlook
    A3. SCOT settings, SMTP---> Internet ---> addresses ---> maintain the address or by using the SWNCONFIG you can even aceheive this.

  • User two cannot send email from mail app.  (send icon just spins)

    userone can login, use Mail to send and receive.
    user two login and may receive, but not send email in Mail app
    icon next to send paper airplane in folders window just spins.
    able to send email thru facebook, etc.
    also, recently did TDM backup into this iMac of G5 HD.
    how do I access address book data from backup

    resolved part one: played around with mail preferences of user two to match prefs in user one
    still do not know about access to TDM saved addressbook data.

  • Cannot send Email with Mail since updated to 10.7.2, they stay in my Send Box...

    Since I updated, I cannot send Email through Mail, it works with Thunderbird though.

    Just FYI, I've had the same problem for months now. I have been accessing my hotmail via the web, but decided to try the OS X Mail app.  I could get emails into the account with no problem but couldn't send.  I read all the blog and support entries and have tried everything they recommended, like changing my computer name to one word, without success.  Then last night, it just so happened that my broadband provider had to change out my wireless modem.  As soon as he plugged in the new one, some emails that had been in my outbasket for a month went through instantly and all of a sudden my Mail, both incoming and outgoing now work.  So I think people need to look at their router settings for the a solution to the problem. 

  • TS3899 Tried all the tips on line. Every time I try to send an e-mail, it gives me this message, "A copy has been placed in your Outbox. Sending the message content to the server failed" Any help in how to resolve would be appreciated

    I went through all the steps to try to resolve getting the message in a box every time i try to send an e-mail. What next ?
    Message is " A copy has been placed in your
                        Outbox. Sending the message content to the server failed."
    Any assistance would be greatly appreciated. My internet works fine as I can send e-mails from my Yahoo account on my MAC no problem.
    Address is fine etc.

    How long has it been going on? I've had my yahoo mess up and if i wait a bit it resolves itself. Yahoo is doing something with their servers and it messes with your mail if your mail happens to be on one of those servers.

  • Keyboard shortcut for sending messages on Mail suddenly stops working

    I've created a keyboard shortcut (Command + Return) specifically for sending manssages on Mail. When I open Mail, this keyboard shortcut works perfectly but suddenly it stops working.
    If I close and reopen Mail, the keyboard shortcut starts to work again, but for a while.
    I'm using OS X 10.9.1 and Mail 7.1 (1827).

    Howdy Guilherme
    Give this a try if you haven't already.
    System Preferences
    Keyboard
    Shortcuts
    At the bottom of the left panel go to:
    App Shortcuts
    If Mail.app isn't there, add it.
    Under it add Send.
    Now choose your key combo i.e.
    ⌘↵
    Worked for me mail Version 7.1 (1827) running OS X 10.9.1.

  • Can you send encrypted e-mails using SO_NEW_DOCUMENT_ATT_SEND_API1

    We use SO_NEW_DOCUMENT_ATT_SEND_API1 to send e-mails to employees for various notifications.  The e-mails go out through SCOT and are sent to our lotus notes.
    We have a project being implemented, where the data we are sending in the note is kind of sensitive, so we'd like to see if we could send the e-mail as encrypted.   Does anyone know if there is some parameter we can set upon sending that would encrypt the text in the e-mail for sending?

    FORM pssword_prot_encryptpdf .
      DATA: BEGIN OF command_list OCCURS 0.
              INCLUDE STRUCTURE sxpgcolist.
      DATA: END OF command_list .
      DATA: BEGIN OF exec_protocol OCCURS 0.
              INCLUDE STRUCTURE btcxpm.
      DATA: END OF exec_protocol.
      DATA: status LIKE btcxp3-exitstat,
      commandname LIKE sxpgcolist-name VALUE 'ZTEST',
      sel_no LIKE sy-tabix.
    * GET LIST OF EXTERNAL COMMANDS
      CALL FUNCTION 'SXPG_COMMAND_LIST_GET'
        EXPORTING
          commandname     = commandname
          operatingsystem = sy-opsys
        TABLES
          command_list    = command_list
        EXCEPTIONS
          OTHERS          = 1.
      CALL FUNCTION 'SXPG_COMMAND_CHECK'
        EXPORTING
          commandname                = command_list-name
          operatingsystem            = sy-opsys
        EXCEPTIONS
          no_permission              = 1
          command_not_found          = 2
          parameters_too_long        = 3
          security_risk              = 4
          wrong_check_call_interface = 5
          x_error                    = 6
          too_many_parameters        = 7
          parameter_expected         = 8
          illegal_command            = 9
          communication_failure      = 10
          system_failure             = 11
          OTHERS                     = 12.
      CLEAR command_list.
      REFRESH command_list.
      DATA: v_dir_input      TYPE sxpgcolist-parameters.
      DATA: v_dir_input1      TYPE sxpgcolist-parameters.
      break developer.
      command_list-name = 'ZTEST'.
      command_list-opsystem = 'Windows NT'.
      CONCATENATE   'd:\pdf\' main_dtl-vbeln '.PDF' INTO name.
      CONCATENATE 'cmd /c d:\pdf\encryptpdf.exe' '-i' name  '-o ' name  '-u'  hdr-password INTO v_dir_input SEPARATED BY space .
      READ TABLE command_list INDEX sel_no.
      break developer.
      CONCATENATE command_list-opcommand v_dir_input INTO command_list-opcommand SEPARATED BY space.
    * CHECK AUTHORIZATION
      command_list-addpar = 'X'.
      APPEND command_list.
      CONSTANTS: c_extcom    TYPE sxpgcolist-name VALUE 'ZTEST',
                 c_oper      TYPE syopsys VALUE 'Windows NT'.
      DATA: t_result         TYPE STANDARD TABLE OF btcxpm.
      v_dir_input  =  command_list-opcommand.
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          commandname                   = c_extcom
          additional_parameters         = v_dir_input
          operatingsystem               = c_oper
        TABLES
          exec_protocol                 = t_result
        EXCEPTIONS
          no_permission                 = 1
          command_not_found             = 2
          parameters_too_long           = 3
          security_risk                 = 4
          wrong_check_call_interface    = 5
          program_start_error           = 6
          program_termination_error     = 7
          x_error                       = 8
          parameter_expected            = 9
          too_many_parameters           = 10
          illegal_command               = 11
          wrong_asynchronous_parameters = 12
          cant_enq_tbtco_entry          = 13
          jobcount_generation_error     = 14
          OTHERS                        = 15.
    ENDFORM.                    " PSSWORD_PROT

  • HT3228 I set up my work e-mail on iphone.  When I try to send an e-mail, an error code says "Cannot Send Mail", "recipient rejected by server because it does not allow relaying".  What does this mean and how do I correct it?

    I set up my work e-mail account on my iphone 4S.  When I try to send an e-mail message from my phone, an error message occurs "Cannot Send Mail" - "recipient was rejected by the server because it does not allow relaying".  What does this mean and how do I correct it?

    Get the correct mail server settings from your IT department.

  • I am being asked to verify my Apple ID.  When I enter the password I get the message it is wrong.  It says the e-mail address is already verified for another Apple ID and then it says it is sending an e-mail to my e-mail account that I then never receive.

    I am being asked to verify my Apple ID.  When I enter the password I get the message it is wrong.  It says the e-mail address is already verified for another Apple ID and then it says it is sending an e-mail to my e-mail account that I then never receive.  How do I resolve this?

    This is most likely caused by an iCloud sign up (which forces you to use an email address as Apple ID).
    Here's the workaround fix I found after some online research:
    https://discussions.apple.com/thread/3656336

  • I can't send emails from Mail. I have three different accounts set up and have the same problem with all. The mail just sits in my outbox. All worked fine until Yosemite upgrade. Recent update has not fixed problem.

    I can't send emails from Mail. I have three different accounts set up and have the same problem with all. The mail just sits in my outbox. All worked fine until Yosemite upgrade. Recent update has not fixed problem.

    I have been experiencing the same problem. My mail app won't even open on my Late 2011 Macbook Pro. It will show as open, but the app will never actually show up.

  • I forgot my password along with the answers to my security questions. So I try sending an E-Mail to myself but the E-Mail I am sending it to isn't even mine, nor the one I have registered. How can I change the E-Mail or something?

    I forgot my password along with the answers to my security questions. So I try sending an E-Mail to myself but the E-Mail I am sending it to isn't even mine, nor the one I have registered. How can I change the E-Mail or something?

    Security questions:
    https://discussions.apple.com/thread/4533485?tstart=0

  • Can I send an E-Mail with photo (not as an attachment)?

    I would like to send an E-Mail with a small photo (not as an attachment) to someone who is reluctant to open attachments. Can I do this and how??
    Thank you
    tch

    If you insert an image into the body, it will still be 'attached', even though it won't be listed as an attachment in the usual way. Another option is to upload the photo to your personal storage space such as OneDrive or Google Drive, and then email the link to the image. The image can then be displayed in a web browser. If you don't have a storage space, there are plenty of free image-hosting services.

  • How can i send an e-mail to several mail adress typing a group name, similar procedure used un gmail

    IN IPAD AIR How can i send an e-mail to several mail adress typing a group name, similar procedure used un gmail wich is very frendly

    Before all these updates, one used to be able to create a Group (such as Buddy List), then send emails by clicking on that Group Name.  Has not worked for a long time now, though.  I wish they would bring it back.

  • How do I send an e-mail?

    When I try to send an e-mail I get a message saying a copy is placed in my outbox and that there is no password provided.  I'm told to go to mail account settings and enter a password, but I can't see where to do this.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

Maybe you are looking for

  • Hi How do i add a second signature to my iMAC so i can use it to witness documents?

    Hi How do I add a second signature to my iMAC so I can use it to witness documents?

  • Connection To Airport Extreme Good, But It No Longer Sees Internet?

    I have my airport extreme daisy chained to my verizon wireless router with an Ethernet cable, and this has worked great until now. My verizon wireless router is still working and connected to the Internet, but my airport extreme no longer sees the In

  • Is this a know bug with the Mail server?

    This is a bug that I'm seeing in Apple's new MobileMe service and I believe they are making use of the System Messaging Server product. (Sun Java(tm) System Messaging Server 6.3-6.03) Specifically I have an email that's MIME HTML and what I observe i

  • MM:Asset Purchase

    Dear Gurus, I am Purchasing one Asset,Which have Excise duty,Ecess,SEcess & VAT, For that which condition types are to be used ? How to post Invoice so that RG23C-Part-II entries will get posted in register? Plz tell me the complete procedure..... Rg

  • Timer fires during trigger processing on web

    I was looking for a way to augment the default behaviour of a hierarchical tree. The trouble is clicking in a tree can fire various combinations of WHEN-MOUSE-CLICK, WHEN-TREE-NODE-SELECTED, WHEN-TREE-NODE-EXPANDED, WHEN-TREE-NODE-ACTIVATED, WHEN-MOU