How to change email subject in smartform?

Dear experts!
I have an action wich triggers smartform and sends it via email.
In smartform (transaction smartforms) I can input some text in field "Description" and this text will be shown as e-mail subject. Also i can use ampersand (&) in this field to input the number of transaction from wich the action was launched.
But I need to add to the e-mail subject the number of preceeding document, I can get it in the Initialization tab of Global definitions.
How can I add this number (number of preceeding document) to the e-mail subject?
Regards,
Vladimir

Hi,
  In your print program when you are calling the FM generated by smartform you need to pass some parameters. In that there is one parameter OUTPUT_OPTIONS. In that we have a field called TDTITLE. This field is nothing but your Mail subject. So you can change this parameter in your print program for the mail subject.
   Hope this heps you.
Regards,
Lakshmi.Y

Similar Messages

  • How to change TEXT EDITOR in SMARTFORMS

    Dear All,
    How to change TEXT EDITOR in SMARTFORMS i am getting editor like Microsoft Word but i want the regular editor.
    I am using ECC 6.0 GUI 710
    thanks,
    RP

    Solution By Mr. Eitan Rosenberg is correct.
    Program Name: RSCPSETEDITOR
    Thanks a lot.
    Regards..........

  • How to change the language in smartform?

    hi
    how to change the language in smartform?

    Hi,
    U can't change the language in the smartform, the main language of the smartform is the language used to create it (so the language used for SAP log on.
    But u can translate it (by trx SE63) and if u need to print in a new language u have to indicate it when the smartform is called.
    U can transfer the language to be used for the print in the parameter CONTROL_PARAMETERS, like structure SSFCTRLOP, here u can indicate the language in the field LANGU.
    see this..
    Use transaction SE63, after activate your smartform, to translate.
    In the First Page of your Smart Forms click on Global Settings under that click Form Attributes
    now in the Right side screen Go to Subscreen Language Attributes.
    select the Radiobutton Translate To all Languages
    from the Translate subscreen out of three radio buttons.
    rewaards if useful
    regards,
    nazeer

  • How to change email in iCloud

    How to change email in iCloud

    I Have moved and can't change my email address. Every time I change it, when I go to update an App it will want me to log in. Only the flippin log in will have my old passwor???

  • Change Email subject line for PDF output through smartforms

    Dear all,
    Currently i am working in Client ECC6.and we are useing The Smartform for Sending PDF document to the Customer.
    Since recently email was setup so these invoices can be mailed directly to the customers, but we face the problem that when invoices are sent via email, the subject is like this.
    From: Ramesh Babu mailto:ramesh_babu@abc
    Sent: Wednesday, August 27, 2008 10:40 AM
    To: Babu, Ramesh
    Subject: New Invoice (mail/prnt).
    Now the customer Requirement is that ,they dont want to disclose the Email address of the sender.
    so they want to change the Form line and one hard codeed line always send to the customer like Ex below.
    From: "Help Me Please'' .
    This will aplicable for all sender ,if he send it by foreground or background as well.
    so could you please sugest me how can i do that coding,or is there a user-exit to overrule the Standard SAP behaviour.
    My Print program name: ZLB_BIL_INVOICE .
    Regards,
    Moni

    Hi,
    refer this,
    you can change the subject line.
    FORM docu_send_email USING pv_otfdata  TYPE tsfotf
                               pv_emailid  TYPE any
                               pv_formname TYPE any.
      DATA: lv_filesize    TYPE i,
            lv_buffer      TYPE string,
            lv_attachment  TYPE i,
            lv_testo       TYPE i.
      DATA: li_pdfdata  TYPE STANDARD TABLE OF tline,
            li_mess_att TYPE STANDARD TABLE OF solisti1,
            li_mtab_pdf TYPE STANDARD TABLE OF tline,
            li_objpack  TYPE STANDARD TABLE OF sopcklsti1,
            li_objtxt   TYPE STANDARD TABLE OF solisti1,
            li_objbin   TYPE STANDARD TABLE OF solisti1,
            li_reclist  TYPE STANDARD TABLE OF somlreci1,
            li_objhead  TYPE soli_tab.
      DATA: lwa_pdfdata  TYPE tline,
            lwa_objpack  TYPE sopcklsti1,
            lwa_mess_att TYPE solisti1,
            lwa_objtxt   TYPE solisti1,
            lwa_objbin   TYPE solisti1,
            lwa_reclist  TYPE somlreci1,
            lwa_doc_chng TYPE  sodocchgi1.
      CONSTANTS: lc_u           TYPE char1  VALUE 'U',
                 lc_0           TYPE char1  VALUE '0',
                 lc_1           TYPE char1  VALUE '1',
                 lc_pdf         TYPE char3  VALUE 'PDF',
                 lc_raw         TYPE char3  VALUE 'RAW',
                 lc_ordform     TYPE char15 VALUE 'ZORDCONFIRM_01',
                 lc_attachment  TYPE char10 VALUE 'ATTACHMENT'.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = lc_pdf
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_filesize
        TABLES
          otf                   = pv_otfdata
          lines                 = li_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 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.
      LOOP AT li_pdfdata INTO lwa_pdfdata.
        TRANSLATE lwa_pdfdata USING ' ~'.
        CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.
        CLEAR lwa_pdfdata.
      ENDLOOP.
      TRANSLATE lv_buffer USING '~ '.
      DO.
        lwa_mess_att = lv_buffer.
        APPEND lwa_mess_att TO li_mess_att.
        CLEAR lwa_mess_att.
        SHIFT lv_buffer LEFT BY 255 PLACES.
        IF lv_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Object with PDF.
      REFRESH li_objbin.
      li_objbin[] = li_mess_att[].
      DESCRIBE TABLE li_objbin LINES lv_attachment.
    Object with main text of the mail.
      lwa_objtxt = space.
      APPEND lwa_objtxt TO li_objtxt.
      CLEAR lwa_objtxt.
      DESCRIBE TABLE li_objtxt LINES lv_testo.
    Create the document which is to be sent
      lwa_doc_chng-obj_name  = text-008.
      lwa_doc_chng-obj_descr = text-008.
      lwa_doc_chng-sensitivty = lc_0.
      lwa_doc_chng-obj_prio = lc_1.
      lwa_doc_chng-doc_size = lv_testo * 225.
    Pack to main body.
      CLEAR lwa_objpack-transf_bin.
    header
      lwa_objpack-head_start = 1.
    The document needs no header (head_num = 0)
      lwa_objpack-head_num   = 0.
    body
      lwa_objpack-body_start = 1.
      lwa_objpack-body_num   = lv_testo.
      lwa_objpack-doc_type   = lc_raw.
      APPEND lwa_objpack TO li_objpack.
      CLEAR lwa_objpack.
    Create the attachment.
    Fill the fields of the packing_list for the attachment:
      lwa_objpack-transf_bin = gc_x .
    header
      lwa_objpack-head_start = 1.
      lwa_objpack-head_num   = 1.
    body
      lwa_objpack-body_start = 1.
      lwa_objpack-body_num   = lv_attachment.
      lwa_objpack-doc_type   = lc_pdf.
      lwa_objpack-obj_name   = lc_attachment.
      lwa_objpack-obj_descr  = text-008.
      lwa_objpack-doc_size =  lv_attachment * 255.
      APPEND lwa_objpack TO li_objpack.
      CLEAR lwa_objpack.
      lwa_reclist-receiver   = pv_emailid.
      lwa_reclist-rec_type   = lc_u.
      lwa_reclist-notif_del  = gc_x.
      lwa_reclist-notif_ndel = gc_x.
      APPEND lwa_reclist TO li_reclist.
      IF li_reclist IS NOT INITIAL.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = lwa_doc_chng
            put_in_outbox              = gc_x
          TABLES
            packing_list               = li_objpack
            object_header              = li_objhead
            contents_bin               = li_objbin
            contents_txt               = li_objtxt
            receivers                  = li_reclist
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.
        IF sy-subrc <> 0.
             MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " DOCU_SEND_EMAIL

  • I set up an autoreply but i cannot work out how to change the subject line to the one I want

    I set up an automatic reply but the subject line come up as re: and what the other person wrote. I want to change the subject line to a set one to all emails. How can I do that?

    What email program are we referring to?

  • Change email subject and body

    Hi ,
    For one of my requirement, the email subject and body has to be changed. For order confirmation and quotation, the standard behaviour of having the smartform name as the subject name should be changed and ther ehas to be a dynamic subject name. Similarly the email content should also be changed. Is this possible? Can anyone suggest me the steps?
    Thanks.

    Hi,
    Could you please tell what method are you using to create emails?
    If it is using workflows then you can change the subject and mail body dynamically using parameters and expressions.
    If you are sending mail using an FM call, then also you can create dynamic subject and mail body.
    Please provide the details so that an appropriate solution could be provided.
    Regards,
    Saumya

  • Change email subject

    Dear Expert,
    May I know how can I change the subject of the email sent from alert management?
    It now shows "SAP Business One mail message, the subject is in the message body.".
    Thanks.
    Best Regards,
    Sandra

    I found the following in an old SAP Note:
    Is there a way to remove the SAP Generation Message from emails that are sent from SAP?
    The email signature can be changed using the following steps:
    Open SAP Business One Service Manager.
    Choose the 'SBO Mailer' Service.
    Click on the 'Settings' Icon.
    Click on the 'Change Email Signature' button.
    Choose 'Use user defined signature' check box.
    Add signature.
    Save the new settings.
    Hope this might help?

  • How to change email address login for this forum

    I no longer have the email address I use for this forum and was wondering how to change it if possible?

    One of these links should help you:
    http://www.info.apple.com/support/howtoid.html
    Apple ID Assistance Form/Feedback

  • How to change email address on iCloud

    My email address was hacked into so I had to change it. Which caused me to change my apple ID also. Now I am not sure how to change my email address on Icloud. It still show my old apple ID. Do I have to delete the whole account an start it over? Not smart with computers and did not want to fight holiday crowd at the apple store for help. Any advice would be appreciated. Thanks.

    Kodester wrote:
    What can I do?
    do what it says. delete the account and re-add it.

  • How to change font size in smartform and set layout of smartform

    Dear abapers,
                           I want to change font size in smartform and also set the layout of smart form how can we do this.
                                                 Thank you sir.

    Hi,
    you can do it first you need to goto smartforms tcode there click on radiobutton 'Style'.
    Give any name and click on create. Right sideyou can find character format right click on it and create a node .A pop will raise gve a 2 characterlike z1 or a1 etc click on font tab gve size and font style and click on save and activate. Use this style in your smartform you can apply what ever styles created in styles you can use it in your smartform by that smartstyle name.
    When we create text in output options give your smart style name and click on general attributes . Select your text and apply the style what thse size it should be and what the font style it should be.
    Goto smartforms tcode and select formpainter in application bar set layout according to your requirement.
    Thanks,
    venkat

  • How to change email address in my jdc profile

    I want to change email address in my profile. Can anyone tell me how to do it?

    http://forum.java.sun.com/thread.jsp?forum=31&thread=299784

  • Change Email Subject of Outgoing mails

    Hello Folks,
    I have a requirement wherein I need to add a text "[Test Mail]" in the email subject of all outgoing mails from our dev/test systems. This is to ensure that the end users who are the receipients are able to distinguish the emails sent out by the test system from the emails sent out by the actual production system.
    Do let me know if anyone out here has developed something similar or can provide some advice/help into this matter.
    Thanks in advance,
    Abhishek

    Hi Brad,
    We are mainly using CL_BCS as well as FM SO_NEW_DOCUMENT_ATT_SEND_API1 in the system. The problem here is that there is no one fixed/common approach being followed. So I need to understand if there is a way by which I can access all the outgoing mails from the system and change the subject.
    One option that I thought was to find out some enhancements or BADIs within CL_BCS and FM SO_NEW_DOCUMENT_ATT_SEND_API1 to manipulate the subject line before the mail is sent out. This would  cover most of the cases where mails are sent out from the system, but I am not sure if the mails can be sent out by any other means as well.
    abhishek

  • How to Extract email subject with date from outlook?

    Hello,
    I am new to powershell and was wondering how i can extract the email subject with date for entire last month? i need to generate a report every month end and have to go through all the emails which can be very cumbersome at times. 
    Divyansh 
    Divyansh

     Ok i was able to find the commands but it only list email which are exactly 2 week old .. it does not list the recent items ..  
     Add-type -assembly "Microsoft.Office.Interop.Outlook" | out-null
     $olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type] 
     $outlook = new-object -comobject outlook.application
     $namespace = $outlook.GetNameSpace("MAPI")
     $folder = $namespace.getDefaultFolder($olFolders::olFolderSentMail)
     $folder.items  | where { $_.SentOn -gt [datetime]"3/1/2014" -AND $_.On -lt [datetime]"3/25/2014" }  | Select-Object -Property Subject, SentOn, Importance, SenderName
    Divyansh

  • How to change email on IPOD Touch for Facetime. I used same email for Facetime on my Macbook Pro

    How to change the Email on my IPOD touch for Facetime. I used the same email for my IPOD & my Macbook Pro. Do I need a different email for each device.

    Yes, if you want to call one device from another each must have a unique email calling address.  Go to Settings>FaceTime and add another email calling address and delete the other one after you set up the second one.
    I learned that a long time ago when I tried to call my iPod from my Mac.

Maybe you are looking for

  • Multiple users access one iPhoto library and view and edit

    I have 3 Macs and 5 users in our family. I'd like to have one iPhoto library that any user can access from any of the machines and view and/or edit. I don't need simultaneous access (which from reading posts I can see is not possible in iPhoto). If I

  • Is there a way of having the email name show and not the Company name.

    I have a few address listing for Companies that have 7 or 8 names. I have them listed with the custom names for each person separately. I really do not need separate e-mail listings for each person. Is there a way that would list the individuals name

  • HTML  Parsers and reading all files in a directory

    Hello all, I was wondering if there was a html parser included in java. I am writing a program where I want to be able to search all the files in a directory tree for a particular string. I was able to read one file in a single directory but not in a

  • Why so big files in the OCRs from Acrobat X?

    I used Acrobat 8 by many years. Now, I thought maybe was the time to upgrade, and I'm testing Acrobat X. My main use to Acrobat is to scan my own books (photocopy + ADF scan + PDF) and do an OCR scan (usually: exact copy) The reason of this is that I

  • Help me explain the need for RAM? Please???

    Hi, I work on a G5 in my new job as a 'Mac operator' (I'm in pre-press). At first I thought this has to be one of the original G5's that had issues, because it is pretty slow for a G5. So I decided to check the profiler and see just what my little Ma