Add Text to outbound mail in action processing / form as PDF

Hi Experts!
We want to add some (static) text into outbound mails, that are sent during action processing of our smartforms. Here´s what where were standing so far:
- We are using actions within transaction processing to send a service report to customers
- We have created a smartform and defined action profiles for our transaction type
- We have configured the output format for SAPScript and Smartforms to PDF in SMTP node of SCOT
- We can successfully send e-mails from our activity containing the smartform as a .pdf attachment
However, the body of the mail message is empty, which is not what we need. We would like to add some (static) text, like "Dear Customer! This is your service report, etc..." to the body of the message.
Has anybody ever done anything similiar within or at least close to the standard? We want to avoid having to code everything by ourselves, i.e. using SO_NEW_DOCUMENT_ATT_SEND_API1 or similar FM´s.
Points will be rewarded for useful answers!!
Thanks a lot & Regards
Christoph

Hi all!
We fixed the issue ourselves- just in case somebody wondered how we did it:
We have implemented the suggestions given in OSS 935670 in our processing class/method for SmartForm Mail and SmartForm Fax.
Regards
Chris

Similar Messages

  • HCM Processes & Forms : Generate PDF

    Hello All,
    We are developing , an application based on HCM Process and Forms - with ( FPM forms ).
    One of the requirements in the application is to get the form in - PDF format and to achieve this we have followed the steps below.
    - Created the configuartion steps as mentioned in SAP Help Link - Print Form (  FPM  Form Type Only ).
    - Created a PDF form layout  and provided in the other attribute of Form Scenario - Print Form ( FPM Form type Only) - Activated the same
    - The form interface is also mapped and active
    With the above configuration done ,  while executing the form  we can get the - 'Generate PDF' button enabled in form utilities , but the button does not respond.The 'Generate PDF' button does not work.
    We could achive to get the PDF OUTPUT  programatically using  'cl_hrasr00_pdf_generation=>generate_pdf' , but the same is not appearing when the  button 'Generate PDF' is clicked.
    Request you inputs , on how to get the 'Generate PDF' button working , is there any additional configuration required? Or are we missing any thing in this?
    Awaiting you response.
    Thanks and Regards,
    Uvendu

    You are welcome Uvendu.
    There are some notes related to pdf generation. Recheck if they are relevant and in place.
    PA-AS
    1901520
    PDF generated multiple times
    20.08.2013
    5.
    0.350
    PA-AS
    1968166
    Errors during PDF generation for FPM forms
    21.01.2014
    6.
    0.260
    PA-PAO
    1992122
    Attachment Handling and Form Utilities missing when starting HCMPF Processes in
    09.05.2014

  • How to edit or add text to a PDF file from an e mail

    I would like to open a PDF file from an e mail received to work the file to edit and or add text, my e mail service is  LIVE.CA  (hot mail), I have Iwork 09 

    You can convert the PDF text to regular text (.txt) and then import/open into another program and make your changes, then save the file in the programs format (for your later editing) and then choose Print from the program and there may/may not be a option to save as PDF again.
    You'll need a free (limited use) PDF to text utility like
    PDF OCR
    http://solutions.weblite.ca/pdfocrx/
    Trouble here of course is you lose all the formatting and have to reformat, but it's a lot less expensive than Adobe's software.
    LibreOffice is free to use and can save as PDF format if iWork doesn't save as PDF, it should unless Apple is really peeved at Adobe.

  • How to add text to a pdf file?

    I was sent a rental application as a pdf file which I need to fill in but I can't seem to add text to it.
    How does one open a pdf file and add text to it?
    I have acrobat professional that came with adobe cs3 on my mac.
    Thanks for any advice.

    If you don't have the original and need a word version that you can edit.
    Open PDF  go to Save As... choose Word and then choose format.
    See this: http://www.screencast.com/t/igS0SoMDri
    Note: this only works with text based files.
    once its converted you can edit to you heart's content.  Then once edited as need create a new PDF with a different name.
    Open the Acrobat original Document Click on On Tools (if AcrobatX) and choose replace Pages and choose your new pdf as source. the choose desired pages or choose entire document.
    If you have any form Fileds and they have been displaced choose edit Form, click on each field in turn than needs moving, use up down right or left arrow keys to nudge the elements to desired position.
    If you have have a Form that has extended reader rights you have to remove those right by saving a copy without rights. Then onece editting completed you have to add rights.

  • Modifying Process Form

    if i want to add a user defined field 'cn' to process form only and not to user profile where all i need to do the changes. This cn field will take the cn of the OID account when event gets linked(on running target recon).

    i have two lookup defns Attr.Recon.Map.OID and Attr.Prov.Map.OID
    I did the change in Attr.Recon.Map.OID as cn=cn (and user id=employeeNumber already set)
    but then cn is not reflected in process form
    the event is linked when i run target recon,in reconciliation data for that event, cn=xyz is in unprocessed data, when i click on cn=xyz it gives Reason for no match:Feild not found
    Edited by: Chhavi Saluja on Mar 16, 2010 10:52 PM

  • Add text in mail for payment notification RFFOAVIS_FPAYM

    Hi All,
    We are sending payment notification to vendors via RFF0AVIS_FPAYM program. We are using SAP script form for this.
    We want to add text in mail body. I have checked note 1033893. I have created text with name z* in SO10 and assigned in process exit for 00002040. But text is not appearing in mail.
    Am i missing some settings ?
    Please give suggestions.
    Thanks in advance.
    Regards,
    Chintan

    Hello,
    Point 1
    Please check up the function module attached to proces 00002040 in FIBF.
    Make the changes in the function module.
    Please refer:
    SAP NOTE 1033893, 836169.
    Also see Note 521587.
    Regards,
    Ravi

  • Want to add text to mail body of  BACS Remittance Advice

    Hi Experts,
    Blelow is the requirement.
    User is sending the remittance advice to vendors, user wants to include a u2018fixedu2019 text also in that mail.
    User is sending remittance advice to vendor in PDF format which is attached in a mail, I need to add some text to mail body.
    But not able to find how mail body is filled up.
    Main program RFFOGB_T u2013 Payment program
    Includes RFFORI06 u2013 Remittance advice
    Can you please suggest how I will be able to add the text to the mail ?
    Regards,
    Subhashree.

    Hi E_Hinojosa ,
    Its helped a lot.
    But one doubt,what is process exit and how to search the same from a program or include.
    The required code(which is there in note) is there in include 06 but which process exit I will use for the BACS remittance and how to fill the value of finaa-mail_body_text in process exit.
    Please give me a clear idea.
    Thanks,
    Subhashree.

  • Rejection Applicant: How to add plain text to the mail E Mail Letter?

    Dear All:
    I'm working with a ECC6 version.
    In transaction PB60, when we do the candidate rejection activity, the E Mail letter generates a mail with empty body text, and an attachment with the letter in PDF format. The letter is OK, but I would like to know how to add some plain text to this E Mail letter. An empty mail is not a good practise.
    I searched across the forums and SAP documentation, but I could not find any clue.
    I would appreciate any help regarding to this matter.
    Best regards
    Jordi

    Here you go !  ( you need to create Text in t-code SO10 for ID = PAML " )
    Two Default texts under  ID = PAML :
    *MAIL-APP-INTERVIEW     *EN     TEXT     PAML     SYSTEM
    MAIL-APPLICANT     EN     TEXT     PAML     SYSTEM
      Personnel Management->Applicant Activities->Mail Connection ->Create standard texts for mail connection
    Create standard texts for mail connection
    In this step you can create the standard texts to be used in mails.
    Example
    u2022     Request for return of applicant file
    u2022     Notification of date of job interview
    Requirements
    u2022     You should have assigned a standard text to the activity.
    u2022     You should also have set the variables which are to be used.
    u2022     Finally, you should also have made the settings for supplying the variable with values.
    Standard settings
    The standard system contains two examples of standard texts. You can use these examples as references to help you create your own standard texts. The standard texts have the following names:
    u2022     MAIL-APPLICANT (note on an applicant activity)
    u2022     MAIL-APP-INTERVIEW (note on appointment for interview)
    Please note that the standard texts are stored under text ID PAML.
    Activities
    Now create the standard texts you require under text ID PAML.
    Further notes
    Every mail is made up of a heading and contents. In the first line of the standard text you enter the heading of the mail and from the second line on, the contents.
    The standard default settings for style and layout are used for mails.
    The SAP System treats standard texts as application data. This is why there is no automatic connection to the transport system. If you want to copy texts from one client to another within the same system, please use the functions of the transaction to create the texts. If you want to send the texts to a different system, please enter the transport manually as follows:
    PgmID   Obj     Objectname
    R3TR    TEXT   TEXT,XYZ,PAML,E
                     |    |   |   --- Language (e.g. E for English)
                     |    |   -
    Text ID (e.g. PAML for standard mails)
                     |    -
    Text name (probably not XYZ)
    Text object (TEXT ist fixed)
    Good luck
    Saquib Khan

  • Outbound mails fails with error message number 826,Cannot process message,

    Hi
    We are in process of configuring outbound mail.
    Profile parmeteres adapted are icm/server_port_0= PROT=SMTP,PORT=0,
    is/SMTP/virt_host_0=:;and followed the notes 421359 for ICM Parameters
    when we give the SMTP port number as 25,SMTP serveice in SMIC is not working and when we changed to 0 SMTP service is working.
    Now the issue coming is we are not able to send the Mails to any domains and the error message in SOST is
    *message number 826,Cannot process message, no route from XXXXX to XXXXX.com.*
    Please suggest on how to over come the issue,are we missing any parameters or any other configurations.
    All your help is highly Appreciated.
    Regards
    Swetha

    HI
    Did you check in SCOT?
    SCOT>SMTP->Internet
    SCOT>Settings-->Default Domain.
    Please also check if you can telnet the SMTP server.
    Anindya
    Edited by: Anindya Bose on Mar 3, 2010 5:13 PM

  • Mail from RVADOR01 need to add body of the mail

    Hi Experts,
    How to add mail body for the below case?please look
    I am using output tupe Zmail attached to Program ZRVADOR01 and script form ZRVORDER01.
    The Program ZRVADOR01 and the script ZRVORDER01are copied from standard prog RVADOR01  and standard script RVORDER01.
    And this output type is attached to VA02.
    In the Zprogram i could able to give mail subject in OPEN_FORM function module in OPTIONS parameter.
    And i am sending to the exterid which is outlook.
    For giving the email id i have added some code from the note .357137 before calling the OPEN_FORM function module in the program..
    mail is coming with subject line and attachment of script document .
    But the only thing needed is , add body text for the mail.
    How can i do this?
    Regards
    Ramakrishna

    Hi Rama, I am trying to do the same and noticed that your comments/question appears as "ANSWERED" at the top of the thread.
    Were you able to accomplish this?
    Jacob

  • How can I add text to a field based on XML tagging?

    I'm fairly new to using XML in InDesign layouts, and I'm currently facing an issue getting a bunch of content from database records formatted in a print document (text that flows over dozens of pages). I've figured out how to create an InDesign template, but I need to be able to add text between some of the XML elements in two different scenarios:
    1. Add text or line breaks before or after an XML element that always appears in the document. For example: Adding "Description:" before the XML-tagged description content, or adding a return after the last element in a list.
    2. Add text before or after an XML element only if it appears in the document. For example: If there's a second phone number, tagged "Phone2" in the XML, then I want " or " to appear before it in the layout. Otherwise there's just one phone number and it continues on to the next piece of content.
    I have tried inserting this text into the InDesign template, but keeping them means having to also keep parts of the template that aren't used on every import--so I have a bunch of "or Phone2" bits of text to find and replace afterward. That's OK, but I'd like a more elegant solution that doesn't leave potential mistakes in my layout.
    In my preliminary research so far, it looks like an XSLT or scripting might be able to handle this, but I don't know where to start. Can someone tell me if what I'm looking for is possible and suggest the best way to do it? I'm going to have to trial-and-error a solution for this myself.
    I am using ID CS6 on a Mac. Thanks in advance for your help.

    Thanks for your reply. The line that you mention is added at the top of the message, and includes the original sender's email. I would like my name to appear, next to each line I add in the text of the original mail.
    For example:
    Assuming my name is Joe Smith, what I would like to have as the final reply is described below.
    The lines that start with "[Joe Smith]" are my replies, to the original items in the original mail.
    On 21 Feb 2013, at 09:03, Jon Doe wrote:
    We need an effort estimation for thenew feature
    [Joe Smith] It will be about 2 days
    and additional resources needed
    [Joe Smith] 2 new icons

  • How do I make a Mail Rule action bounce a message

    Is there a way to have a Mail Rule action bounce a message?
    Thank you in advance.
    Jeff

    paste the following into Applescript Editor and save it as a script
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    using terms from application "Mail"
    on perform mail action with messages selectedMsgs
    repeat with msg in selectedMsgs
    tell application "Mail"
    bounce msg
    end tell
    end repeat
    end perform mail action with messages
    end using terms from</pre>
    then have your Mail rule execute this script.

  • How To Send A Text Attachment Through MAIL Adapter

    Hi Experts,
       I Did A Scenario that is  By using file adapter at the sender side and PI as a middle ware i have sent one text file to database
    Now here my question is
    I have to send the same text file which i have sent database... my using Mail Adapter
    Simply  File to Mail Scenario
    FILE         PI                MAIL
    But I have to send the same text file which i sent to database... by using mail adapter... Here all the configuration are done ... And the channels are working properly... only thing  here is..to send same text file using mail adapter..
    It will be good if  any one can explain step by step..
    Regards
    aravindh

    Hi Rajendra,
       Tanq for connecting me ... This  Blog helped me a lot ....And it is a useful answer to me..
    For this file to mail scenario we have got .txt as an attachment ... Its fine ... But her my Client is asking me to add CONTENT in the mail... Content in the sense..
    Example of content...
    Hi,
    Please find the attachment
    Regards,
    sap pi,
    They need in the form of like this...  To add content in the mail  What i have to do...DO i need to add more configurations if it is what are they...
    Please solve the issue.. It is appreciated  some one can explain me step by step or .. By sending me screen charts..
    Thanks in  advance....
    Regards
    vinay

  • How can you add an image in Mail without being an attachment?

    How can you add an image in Mail without being an attachment?
    In otherwords I'd like to put my logo in the email not as an attachment but as an image.
    Is there a simpel solution to this problem?

    PBN1 wrote:
    How can you add an image in Mail without being an attachment?
    You don't.
    It's not possible. The e-mail protocol is designed for text; anything else has to go as an attachment.
    Different mail clients (such as Mail.app, the mail client bundled with Mac OS X) may have different ways of handling such attachments, but they are still attachments. Each mail client has its own rules and methods, so one may display a picture as if it were in the body of the message, but another client may do something completely different.
    A way of faking it is to format your message in HTML (which is a kind of text). The image is hosted on a remote server, not added to the message; instead, you include a link to it in the body of the message, as you would when building a web page. (This is also what the two tips helpfully provided by X423424X do, except that the link to the image is added in the signature, rather than the body of the message.) What exactly happens to it is, again, at the discretion of the mail client. In my case, for instance, displaying images in HTML messages is turned off, and will stay resolutely off.

  • I have photoshop Elements 12 a and I can pull up the photo but can't edit it. Crop it. Add text. Does anyone know how to fix this?

    I have photoshop Elements 12 a and I can pull up the photo but can't edit it. Crop it. Add text. Does anyone know how to fix this?

    Apparently it's related to the Firefox plug in.
    This isn't exactly a solution but more of a way to avoid opening PDFs with Firefox's plug in.
    1. Highlight "Tools" from the Menu Bar in the top left of the screen (or click "Options" if using the Firefox Compact Menu)
    2. Select to "Options
    3. Select "Applications"
    4. Look for "Adobe Acrobat Document" under Content Type and to the right under Action select "Use Adobe Reader (default)" instead of the using Adobe Acrobat in Firefox
    5. Open a test PDF. It should open in it's own window now.
    Again, not a complete solution but something that'll at least let you scroll with PDFs open.
    More info here: http://forums.mozillazine.org/viewtopic.php?f=38&t=2171033

Maybe you are looking for