Use of ABAP expression in the Send Mail Header and Text

Hi Workflow Gurus,
I have a requirement wherein I have to inform the Manager of a user that his/her request for leave availment has been approved. However, we need to show the users name for the Manager to easily identify the user.
Now, I checked the send mail step and it is possible to insert an expression, but the available expressions are confined within the containers available. Hence, we only have the user id of the workflow initiator.
Is there a way to place a code in the send mail expression which will determine the user's employee name given the user id as opposed to having to create an FM and a method to determine the users name? Or is the only recourse to develop and fm and a method to determine these details in the background and pass it to the containers for extraction?
Regards,

If you don't have for example the employee name in the available container elements, you need to add it and do the necessary coding/development for it. Classically employee or user data has been retrieved by using a certain standard background task to get the user/employee object based on the user ID. This will require an additional background step but no coding since the task includes the coding already.
It is anyhow possible to try to get the data for example with functional methods by using container operations  in the workflow (or it is also possible to do this in binding too) - but then you need to develop a functional method(s). In other words you can use a functional method for example in your binding or in a container operation. Check for example Jocelyn Dart's blog about functional methods. Anyhow, how well the functional methods will work depends on the SAP system version.
Regards,
Karri

Similar Messages

  • HT1178 Can I just use my airport express as the primary base station and the time capsule as the network client?

    I bought a new airport time capsule 3tb to be used to save to file all my pictures. Can I use it as network client and the airport express as the
    Primary base station?

    To my opinion this looks a bit like what I'm looking for.
    At the moment I have an Imac that is wireless connected to a 2TB time capsule (TC1).
    To this time capsule I have another 2TB time capsule (TC2) connected via a upt wire connection.
    At the moment there is a backup made via time machine from the Imac to the time capsule TC1 (the second TC is not used)
    I'm not so technical so I hope you understand the configuration.
    What do I want to achieve :
    copy all my data from the Imac to TC1 so that the information can be accessed by more users.
    create an automatic backup from TC1 to TC2 (mirror or raid system) for security.
    give access to some users on the network to access TC1 to read and write data.
    TC2 only serves as backup from TC1 and no direct access is needed to this disk.
    If there is a solution, thanks for explaining it in 'IT kindergarden style' so that I can understand and use the info.
    Many thanks in advance.

  • How to process a text file (mail attachment) using the sender mail adapter?

    Hi guys,
    Is it possible to process mail attachments using the sender mail adapter? Let's say I have a structured text file (attachment) which needs to be mapped and sent to target system.
    Post please any thoughts or experience.
    Thanks,
    Olian

    Hi Olian,
    Have a look at these helpful links -
    1. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05&overridelayout=true
    2. http://www.riyaz.net/blog/xipi-configuring-the-sender-mail-adapter/
    3. http://help.sap.com/saphelp_nw70/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    Regards,
    Sunil Chandra

  • How to attach a document using the Send mail component

    Hello,
    I would like to know how to attach a document in a email using the Send mail component.
    There are these nodes into the atom but I don't know how to use it.
    <attachment doc="/ds/grp/doc" pltype="xml">
              <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[@Role='S']/vpf:Msg/vpf:Body"/>
            </attachment>
    Does anyone know ?
    Thank you.

    Hello All,
    Regarding to the mail adapter, here are some updates:
    1. B1i will support sending HTML attachemnt via "Send Email" atom in B1 882 PL09. An example here:
    <attachment doc="test.htm" pltype="htm">
    <![CDATA[<html>
      <head>
        <title>Enter the title of your HTML document here</title>
      </head>
      <body>
        <p>Enter the body text of your HTML document here</p>
      </body>
    </html>]]>
    </attachment>
    2. In addition, B1i will support sending binary attachment and sending html content in Q1,2013.
    Thanks & Best Regards,
    Qiaoli

  • How to send mails in HTML format from the send mail step of workflow?

    Hi,
    I have a requirement where I need to send mails in the html format from the send mail step of the workflows.
    But what I found out that the html tags are not renderd and as such the output is in plain text.
    I know that there is an alternative of using an activity step and use my own custom code from within there,But due to certain business constraints, I need to use the send mail step only.
    My SCOT settings are all right.
    Please let me know how it can be done.
    Thanks,
    Samrat.

    Samrat,
    It can't be done, you have to use your own activity step.
    What are these constraints that refrain you from doing that?
    Rgds,
    Patrick

  • How to attach two files in the send mail action

    Hi experts
    I want to attach two files in the send mail action . I tried using ; as a separator but it did not work .
    Regards,
    Antonio R . Rubalcaba

    Thanks Jeremy,  
    Yes I am contemplating the another threat .  I still want to send two files because the two files have very distinct type of information .  The first one is operational and the second one is about statistics .  Of course that I can send both type of inforrmation in only one file . I just want to save time to the end user and let him select what infomation he wants to see .
    Thanks and my best wishes for you and your family ,
    Antonio

  • When I reply to an email, instead of sending it to the recipient, it sends it back to me. I've checked the sent mail folder and the reply is not there either.

    When I reply to an email, instead of sending it to the recipient, it sends it back to me. I've checked the sent mail folder and the reply is not there either. Replying used to work fine, but all of my replies are sent to my inbox, instead of going to the recipient. I've made sure that the recipient's email address is in the send to box.

    Read please this posted by Tanzim
    Cause of the issue
    Gmail webmail accounts do not have separate sent items and inbox folders. The Gmail account web page contains a Sent Mail link on the left side, but this is not a separate folder from the inbox. Gmail webmail messages are grouped into conversations, resulting in all sent messages and replies from others appearing as a single email message entry in the inbox. This allows for easy reading and viewing on the Gmail web page, but, when integrated with the BlackBerry Internet Service account, results in copies of sent email messages arriving on the BlackBerry smartphone as new email messages.
    Resolution
    To prevent sent messages from returning to the BlackBerry smartphone each time, create a filter in the BlackBerry Internet Service account to block the sending of those messages to the BlackBerry smartphone.
    To create a filter, perform the following:
    Log in to the BlackBerry Internet Service account. For instructions on how to log in to the BlackBerry Internet Service account, see KB03781.
    Click the Filters icon next to the integrated Gmail account.
    Click Add a Filter to create a new filter.
    Configure the filter so that email messages are not sent to the BlackBerry smartphone if the email message originates from the Gmail webmail account integration:
    Type a name for the filter into the Filter Name field. For example, My sent Gmail email messages.
    Set the Apply filter when field to "FROM" field.
    Type the Gmail webmail address into the Contains field. For example, <user name>@gmail.com>.
    Select the radio button beside Do not forward messages to device.
    Click Add Filter.
    Note: After creating this filter, email messages will not be received on the BlackBerry smartphone if sent from the Gmail webmail account.
    Source: KB10332 (with graphical depiction)
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

  • Urgent: How to overcome the send mail limitation

    I am trying to use htmldb_mail PL/SQL package to send mail to 400 people, but get following message:
    "."WWV_FLOW_MAIL_QUEUE"."MAIL_TO" (actual: 3551, maximum: 2000)
    How do I overcome the limitation?
    Any suggestions will be greatly appreaciated.

    Things that spring to mind -
    1) Setup a mailing list on a mailserver (if you're using one like Exchange, Sendmail, Postfix etc) and have your application email the mailing list. That way your app sends out 1 email, and the mail server takes care of expanding the address list to the 400 people (this is probably the most 'efficient' way to do it).
    2) Do your mailing in part (e.g. 100 people at a time), so you send out 4 emails with each one addressed to a batch of 100 people
    3) Use the CC list (I don't believe the CC list has the same limit, but I haven't checked).
    4) Send out the emails individually, e.g. one email per recipient...this is an absolutely horrendous way to do it however, the load on your mailserver will be hugely increased and your mail administrator will probably shout at you, however it's an option (I wouldn't do it this way, but it is an option). I repeat....I'm not advocating you do it this way.....

  • When I use Adobe Send the screen goes dark when I hit send but never seems to complete the send task! and recover the screen.F

    when I use Adobe Send the screen goes dark when I hit send but never seems to complete the send task! and recover the screen?F

    Hi frank at luray,
    Does this issue occur with any file that you try to send, or do you find that it's specific to one file? If it's a file-specific error, and the file is large, please try sending the file via Adobe SendNow. (You can sign in to Adobe SendNow at Sign in or create an account | Adobe SendNow using the same credentials you use to sign in to Adobe Send.)
    Please let us know how it goes.
    Best,
    Sara

  • I am a BT Yahoo customer using Apple Mail, on iMac, iPad iPhone, 4 to 8 times a week sent mail is not delivered into the sent mail box and I have no record of the sent e-mail or its content. BT say it's an apple problem. Any help would be appreciated. Ted

    I am a BT Yahoo customer using Apple Mail, on iMac, iPad iPhone, 4 to 8 times a week sent mail is not delivered into the sent mail box and I have no record of the sent e-mail or its content. BT say it’s an apple problem. Any help would be appreciated. Ted

    Hello,
    Are they just regular size eMails?
    Do you have more than one eMail account setup?
    Next time it happens, get...
    Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option or alt key when selecting Find to Find All.
    Use it to Find All, for Name ends in...
    .emlx
    (dot ee em el ex)
    And Modification Date, is within, the last 5 minutes or whatever.

  • I'm picking up all of the data script related to the sending / receipt of an e-mail along with the e-mail itself and can't find a way of not showing the text. Obviusly only a command but can't find it!

    I'm picking up all of the data script related to the sending / receipt of an e-mail along with the e-mail itself and can't find a way of not showing the text. Obviusly only a command but can't find it! Help!

    Shift-Command-H is the key-combo to switch 'Long Header'/'Standard Header' .
    Long way: Top Menu -> View -> E-Mail
    Stefan

  • I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and paste and doing the header separately from the text.

    I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and pasting   the header separately from the text. I know there is a way besides a screen shot but I've spend hours trying to find it.

    Smurfslayer wrote:
    For the particularly persnickety types you might want to expose the full headers in the email message as well.  It's easy enough to do, from mail's 'menu' select "view"; then "message"; then all headers.
    Another option you could use is a screen capture using Grab.
    Activate Grab, then shift + command + w (for a window screen shot).  Then confirm the window selection and click the mail message. 
    Dave
    Why are you addressing this to me...?
    I am not the OP...

  • Is this legit?             Confirm your email address  Dear Email Users,  As part of our security measures, we regularly screen activity in the E-mail system and after noticing an issue on your account password, we are requesting confirmation from you for

      Is this legit?
       Apple Support Team <applsupporteam @icloud.com>
           Confirm your email address
    Dear Email Users,
    As part of our security measures, we regularly screen activity in the E-mail system
    and after noticing an issue on your account password, we are requesting confirmation
    from you for the following reason:
    Our system requires further password verification.
    In accordance with E-mailUser Agreement, your account access will remain limited
    until the issue has been resolved. Unfortunately, if access to your account remains
    limited for an extended period of time, it may result in further limitations or
    eventual account closure.
    To verify your E-mail account, you must reply to this email
    immediately and enter your following
    information.
    First Name:
    Last Name:
    Email Username :
    Email Password :
    Thank you for using webmail
    Icloud. com support team
    <Edited By Host>

    Apple requests that you forward these types of emails to them as follows (from http://support.apple.com/kb/HT4933):
    If you receive a suspicious email, select the message text so that it is highlighted. Choose Forward as Attachmentfrom the Message menu (OS X Mail) or the Actions menu (Outlook). Send the email to [email protected] This provides Apple's legal department and law enforcement with useful information to help prevent future phishing emails.

  • I pod touch screen appears to have shifted up. The music, mail, safari and videos icon are also transparent. How do I get screen back to normal

    Ipod Touch home screen has shifted up. Cannot see the top row of apps. The music, mail, safari and videos icons are transparent with black bar underneath them. Anyone know how to fix this. The lock screen and apps are normal size.

    Click you home button, your are in multitasking mode.

  • How do you convert .AVI files for using in iMovie without losing the original clip time and date

    Hi everyone! does anyone know how to convert .AVI files for using in iMovie without losing the original clip time and date? Handbrake, MPEG Streamclip and Evon all replace the original timecode with the date of modification. This is very frustrating when you are trying to keep the chronology right. I know that if you upload the files to iMovie from one device the chronology isn't a problem, but I'm adding video files from a couple of iPhones and a couple of camcorders. any help much appeciated.
    paul

    Hi everyone! does anyone know how to convert .AVI files for using in iMovie without losing the original clip time and date? Handbrake, MPEG Streamclip and Evon all replace the original timecode with the date of modification. This is very frustrating when you are trying to keep the chronology right. I know that if you upload the files to iMovie from one device the chronology isn't a problem, but I'm adding video files from a couple of iPhones and a couple of camcorders. any help much appeciated.
    paul

Maybe you are looking for

  • Is it possible to copy and paste a formula without changing the cell references?

    I am trying to paste a formula to a cell adjacent to where it currently is but when I do, the cell references in it change. I am trying to get exactly the same formula in the cell (without re-typing it).

  • Settings For a SIM card in a Security Camera to send emails of the photos

    I have a Scoutguard SG880MK-8M security camera.  It uses GPRS to send emails of photos to any email address.  Or it can send MMS of the photos to a mobile number. It works with a vodafone card installed using the MMS function.  I haven't managed to g

  • Third Party Mouse disconnects

    Recently bought a MacBook Pro in the past week. I got a cheap third party wired mouse that worked great with 10.8.5. The entire time I owned this laptop I have never had a problem with this mouse. Today I decided to upgrade to 10.9. Now the mouse can

  • Bridge support for MXF video files?

    I use the Canon XF305 and have been using Bridge with other cameras (like the 7D) to log metadata and preview files before importing into Pr 5.5. However, I find that I can't view the MXF format files in the Mac version (I've not tried the Windows ve

  • IPhone not in iTunes after Re-install of Tiger

    I had to dump Leopard because it was causing all kinds of problems on my Mac Pro. I'm starting all over with a new install of Tiger 10.4.10. You cannot believe how angry I am at Apple over this force to backtrack to Tiger. BTAIM, I'm now re-registeri