Mail from Workflow to Outlook: Incorrect Subject

Hello,
I have the problem, that if I send Mails from a sap workflow to outlook for certain notifications
the subject of the mail is not correct. The subject contains the description of the workflow task
and not the workitem text. For all other notifications the subject is correct. The notifications,
for which subject is not correct, were created by a function module. The mail body is in all cases correct.
Any ideas??
Regards,
Mario

Hi Mario,
Check the FM you are using. If it is SO_NEW_DOCUMENT_SEND_API1, check if you are passing the subject line correctly or not by debugging the FM.
Also state what exactly is the difference between the subject passed and what is recieved in the mail i.e. how is it incorrect.
Regards,
Saumya

Similar Messages

  • Reg. Outgoing Mails from WorkFlow to Outlook...

    Hi Friends,
       Mails are going from SAP to users Outlook Inbox for any new workitem comes into users SAP Business workplace Inbox.
    <b>Problem is</b>,
       When user assigned substitute for him a period of time, Substitute person gets N number of mails for a particular workitem.
       I need solution for how to restrict those N number of mails. In this scenario, substitute user should get a single mail for that workitem.
       Please let me know that If I'm NOT clear.
    Thanks & Regards,
    S. Manikanda.

    Hi Subbaruj,
    Ok well as you've changed the original program you should eliminate your changes from your enquiries.  Also make sure you have all the OSS notes applied to RSWUWMFL2 and copied to your ZSWUWFML2.  There were some notes on substitution issues - which perhaps you have applied to the standard program but not your copy?
    Regards,
    Jocelyn

  • Sending mail from workflow inbox to outlook,when idoc error occurs

    Hi All,
    I tried to send a mail to outlook from workflow by giving the email address in the step mail, but it was not working.
    i am getting the workitem in the sap inbox so tried setting the automating forward which we can forward from the sap inbox to outlook.
    Searched in SDN , but my issue was not solved..
    Could you please help me out with this issue to get the mail from workflow to outlook inbox.
    Thanks,
    Praveena

    Hi Praveena,
    Please check if the necessary SCOT settings have been made in your system to send mails outside SAP box. Check with your basis team if the SMTP connection between external system (Outlook, Lotus, etc) has been maintained or not.
    Then check in t-code SOST if you are getting the mail here when sent from workflow.
    Hope this helps!
    Regards,
    Saumya

  • Reg. Mail sending from Workflow to Outlook

    Dear Experts
    I am new to workflow. In our concern, we want to send mails from workflow to Outlook. How to configure
    it. Pls help giving steps
    Even many posts are there,i cann't understand easyly.
    Thanks
    Rajakumar.k

    Hi Rajakumar,
                          You have to do some settings in SCOT and if required run the Program RSWUWFWL2 if you need to send your workitem to outlook.
    Go through workflow for dummies by swapna modi.
    /people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
    Regards,
    Dheepak

  • Mails from XI to Outlook

    Hello,
    I am using mail adapter to send mail from XI to outlook.
    The following XML is generated. i am using mail package.
    Now i face problem that when this mail comes to outlook the Subject line Danish special characters are coming properly
    but the Danish chatacter like ø is not coming properly in body or content.
    I have used encoding Base64 in communication channell.
    Thanks for your help.
    Regards,
    Dhiraj

    try to change the encoding and that should fix the issue. Refer - XML encoding in mail adapter
    use the encoding specified in this link -http://www.denmarkfacts.com/unicode.html

  • Sending Mail from workflow or updating container elements

    Dear friends,
    I'm new to work flow.
    My requirement: <b>send mail from workflow to a user after dead line is missed</b> I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Reposted under different thread

  • ICould prevents reply e-mails from sending in Outlook 2013

    iCloud add-in prevents reply e-mails from sending in Outlook 2013.  The Reply messages stay in Outbox. The Italic title returns to normal instantly. Any ideas to correct problem?

    Hi,
    Based on your description, users can move messages that don’t contain attachments to any other folders without any problem( not only subfolder of the Inbox ), and there is problem to move messages that contains attachment to whatever folders, right?
    Please check this issue in OWA.
    Please use the 'Move' operation from the context menu of the item to check this issue in Outlook.
    Please switch to a PC not joined your domain to check this issue.
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • Sending mail from workflow or Updating container from FM

    Dear friends,
    I'm new to work flow.
    My requirement: send mail from workflow to a user after dead line is missed I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Hi,
    => To get the deadline worked via programming, you can write your own logic. In current case,
    1. Create a custom function, having proper input and output parameters like End Time to wait if in case you have maximum of 2 days of wait.
    The total wait time is calculated from the Endtime, which is input to function module.  From the Endtime, the start date and end date are calculated and then the difference between the two dates is counted as total wait time.
    Here at the most 2 days of wait time is calculated.
    * Local parameters
      DATA: LV_UTCSTART TYPE /SDF/CMO_TSTMP,
            LV_UTCEND   TYPE /SDF/CMO_TSTMP,
            LV_SECOND   TYPE /SDF/CMO_SEC,
            LV_ENDDATE  TYPE SY-DATUM,
            LV_STR TYPE STRING.
      IF ENDTIME >= SY-UZEIT AND ENDTIME <= '235959'.
    *   Today's date
        LV_ENDDATE = SY-DATUM.
      ELSE.
    *   Tomorrow's date
        LV_ENDDATE = SY-DATUM + 1.
      ENDIF.
    * Get the Start Time for function module
      CONCATENATE SY-DATUM SY-UZEIT INTO LV_STR.
      MOVE LV_STR TO LV_UTCSTART.
      CLEAR LV_STR.
    * Get the End Time for function module
      CONCATENATE LV_ENDDATE ENDTIME INTO LV_STR.
      MOVE LV_STR TO LV_UTCEND.
      CLEAR LV_STR.
    * Get the total wait time in seconds
      CALL FUNCTION '/SDF/CMO_TIME_DIFF_GET'
        EXPORTING
          UTC_START = LV_UTCSTART
          UTC_END   = LV_UTCEND
        IMPORTING
          SECOND    = LV_SECOND
        EXCEPTIONS
          PARAMERR  = 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.
    * Wait for total time
    WAIT UP TO LV_SECOND SECONDS.
    2. Now, create one method in the BOR object whose event triggers your workflow.
    3. Use this method in an activity step in you workflow where you want to wait on some given conditions.
    => You can use the email ID which was given by earlier step in Send Mail step. Just make your email id field as Export/Import <i><b>AD_SMTPADR</b></i> type of parameter. In the send mail, use this Id in Email Address input.
    Hope this helps your.
    PS If the answer solves  your query, plz close the thread by marking it Solved and rewarding each reply.
    Regards

  • How can i transfer mails from iphone to outlook

    how can i transfer mails from iphone to outlook

    I misread your post.  You can't transfer items to iTunes without connection to your computer.  To transfer without synching, make sure you don't have your preferences in iTunes set to automatically synch.  Then when you connect your phone but before you synch, in iTunes File>Transfer purchases.  Note that only iTunes purchased media can be transferred this way.

  • 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

  • I can't send mail from iphone4 using outlook

    I am able to receive mail, but cannot send mail from my iPhone4. I am using Outlook - please help!
    Thanks!

    Email does not sync to the phone via iTunes. Don't know where you got this idea. Email account info can be synced from a computer to the phone via iTunes, but that's it.
    If the OP told us what happens when he tries to send mail, it might actually be helpful in troubleshooting. Without this information, we're just shooting in the dark.
    That said, I'm willing to bet the SMTP server settings are incorrect.

  • Searching specific mails from pst in outlook

    Is there a script to search mails sent or received by specific users from the archive PST, then move those mails to a separate folder according to the user name.
    For instance let say i have 100000 emails and i have 4000 users. I need to separate according to the user name if username is present in From, To, CC or Subject of the mails.

    Hi,
    Generally, If we want to move specific mails(From User1) to a specific folder(User1), we can try the following steps:
    1. Open the Archive pst file in Outlook.
    2. Click the Inbox folder in Archive.
    3. Click View > From. Then all messages in Inbox folder would be viewed by coming from specific users.
    4. Right-click the user name, click Move > Other Folder…
    5. We can click New to create a new folder for these specific messages from the specific user, and move them to this new created folder.
    As for moving messages to 4000 users, maybe we can’t move them manually in Outlook. I don’t know whether we can create a script to achieve it in Outlook or not. I suggest we can ask a question in Script Center for more suggestions:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Sending emails from workflow to Outlook

    Hi,
    I have a couple of questions regarding generating emails to MS Outlook:
    1.  Do we have the ability to use RTF format for emails generated out of SAP Workflow to MS Outlook?  The default is standard text.
    2.  Do we have the ability to set a follow-up flag (i.e. date/time) on email generated from SAP Workflow to MS Outlook?
    Any help would be greatly appreciated... thanks!

    Hi,
    I will try to answer your questions
    1. Do we have the ability to use RTF format for emails generated out of SAP Workflow to MS Outlook? The default is standard text.
    Email can be send to MS Outlook using SAPConnect Interface.
    You need to call the Task TS99700021 for execution. Using this Task message can be predefined.
    Otherwise there is also possibilty to use ABAP Objects to trigger the mail out to MS Outlook.
    Note : SAPConnect needs to be configured as prelimary requirement and also Mail Rely needs to be set to send mails to Exchange Server or other mail server,
    2. Do we have the ability to set a follow-up flag (i.e. date/time) on email generated from SAP Workflow to MS Outlook?
    We have handled the situation by providing Time Stamp information using Custom Code and Tables.
    I hope this will help.
    Regards
    Ajay

  • Sending mail from workflow

    I am using 2-level approver ESS Leave workflow .I need to send mails to outlook from workflow .
    I am successfully able to send mail to 1st approver AGENT_001.AGENTS , but not to 2nd approver.
    But I am choosing 2nd  approver through rule 00000168 .
    There is no rule kind of thing in send mail step . Also if I send mail through a activity step and set it as background task , it does not allows me to choose agent through rule .
    is there any other though which i can choose 2 approver and its mail id .
    Points will be rewarded

    Hi Sahiba,
    You have to get the agent 2 before the task and put  his id in task.
    You can create a custom method for it or you can insert this logic into an exitisting method which is calling before the taks.
    Thanks & Regards,
    Malpani

  • SCOT don't work correctly when I send mail from Workflow

    Hi.
    I setting from SU01 the mail of users. I send an email from Workflow, I find this mail in SCOT.
    But the SCOT don't send the mail to user.
    Can I solve it?
    Regards
    Angela

    Hi Angela,
    I don't think your problem lies in SAP. You need to check with the exchange guys to see if the e-mail you send is relayed in the exchange server. Depending on your sending address it is possible the exchange server will not send it on. Depending on the place the exchange server is, there is a possibility there still is a firewall which blocks smtp communication.
    Regards,
    Martin

Maybe you are looking for