Variable subject for SmartForms email

Hi All,
At my clients SAP system (ECC 5.0), we are using SmartForms for the output of documents.
In this case I am talking about invoices.
Customzing is setup to use standard SAP program RLB_INVOICE and an invoice smartform which is copy of SAP invoice, but then adjusted for my clients needs. This works perfect for quite some time now.
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 always the same.
This makes sence because it is set in the output type (mail title and texts), But we would like to make this a variable text, e.g. Invoice_1234567890 (where 1234567890 is the SAP invoice number)
Has anyone experience in doing this?
- Is there a way to insert a variable in the subject of the email?
- Which veriables can be chosen?
- Is there a user-exit to overrule the Standard SAP behaviour (I could not find it)
Of couse a Z program can be created to convert the OTF to PDF and sent your own created email, but I would really like to keep using the standard SAP program.
Thanks very much.
Kind regards,
Dave Verkoelen

I think OUTPUT_OPTIONS-TDCOVTITLE generate a subject in the Email.
I have tried to update that field using field symbols in the Smartform but, I was not successful.
* Modifying in Smartform Main program
field-symbols: <fs> type SSFCOMPOP.
assign ('(SAPLSTXBC)SSFPO') to <fs>.
<fs>-TDCOVTITLE = 'test Title from Smartform'.
* Modifying in FM's parameter
field-symbols: <fs1> type SSFCOMPOP.
assign ('(/1BCDWB/SAPLSF00000166)OUTPUT_OPTIONS') to <fs1>.
<fs1>-TDCOVTITLE = 'test Title from Smartform'.
So, I think you need to copy the RLB_INVOICE to Z and than change the title.
Regards,
Naimesh Patel

Similar Messages

  • Make Mail Require a Subject for an Email

    Hi,
    Is there a way to have Mail require a Subject for an email before it can be sent?
    I really hate sending off emails with no subject when I forget to type one in. But I see no setting in the Preferences for this.
    Thanks,
    Jeff

    Not in 10.4 at the moment to test, but Mail in 10.5.8 does warn if there's no subject.

  • Please return to the use of Subjects in the email notifications

    This is more of a Plea as opposed to a question.
    Please return to the use of subjects for the email notifications like in the old system.
    I have no way of sorting post. Even sorting by subject doesn work right.

    No response so will mark answered to get rid of it.

  • How to add text to the start of the subject for email sent to  wiki mail

    When an email is sent to the group wiki email address (groupname-wiki@serverurl), I would like for the subject of the email to have \[groupname-wiki\] added to the beginning of the text. Can anyone suggest to me how to do this? What configuration file do I need to be looking at?
    Thank you.
    Message was edited by: Ixitar
    Message was edited by: Ixitar

    This sort of thing can be done with procmail which is included with the SLS. However, the section for these aliases in /etc/aliases is auto-generated, and it gets reset if you mess with it. I think it's not possible to change it directly.
    What you could do, though, is leave the auto-generated stuff alone, and ignore the main address of the mailing list, and put your own alias in first, that rewrites the subject line before forwarding to the main wiki alias. Then tell people to use the list that you want to have them use.
    For example, two lines in /etc/aliases that you'd use:
    ================
    acmegroup: "| /usr/bin/procmail -m /opt/postfix/procmail-tag.rc {acmegroup} acmegroup-wiki"
    ### DO NOT MANUALLY EDIT THIS SECTION ###
    # This section is automatically generated
    acmegroup-wiki: , teamsserver@localhost, [email protected]
    ================
    You need to learn how to write procmail code, but for this example, the tag.rc file you'd save in /opt/postfix looks like:
    http://assets.cogley.info/procmail-tag.rc

  • Default email subject for Adobe Form from Netweaver Guided Procedure

    Hi everyone.
    When we generate an Adobe form from a Netweaver Guided Procedure, a default subject of "Interactive Form {xxxxxxxx}" is used where xxxxxxxx is the Process ID of the Guided Procedure.  Is this default subject configurable?  Where can I change it?
    If we define a custom email template for the form,  the subject of the email becomes our custom subject concatenated with the Process ID.  Where is it defined that the Process ID must be included in the email subject?
    Thanks,
    .. Craig

    Hello,
    I have no experience regarding the table of pictures, but you could try a workaround if you don´t insist of displaying the images. You could attach the pictures as attachments (you know, the little attachments icon on the left in your Reader). The ABAP coding for this can be found in SE38 FP_* and when you check the descriptions you should be able to find the one working with the attachments.
    Would be better than nothing I guess,
    Otto

  • Diff email subject for diff orgs for Remittance advice email in R12

    Hi All,
    We are upgrading from 11i to R12. AP Remittance advice workflow in 11i was customized to send emails with different subject for suppliers of different operating unit.
    We need to keep this customization in R12. I could find one profile option for setting the subject of the remittance advice which is IBY_FD_SRA_EMAIL_SUBJ. However, it will send the email with same subject to all suppliers. Please help me in finding a way to achieve this.
    Also the workflow in 11i is customized to not to send the notification for zero amount invoices. I could not think of any way to achieve this.
    Any help in this regard also would be highly appreciated.
    Many Thanks,
    Priyanka

    Hi,
    You could copy those customizations from 11i to R12.
    Please see
    Re: Determining Workflow Customization
    Re: Upgrading Workflow from 11i to R12.1.3
    Thanks

  • Subject Change in Email in Smartforms

    Hi,
       I am getting the issue as i want to change the subjet as " reminder" so where i can change it pls tell me how to change the description in case of smartforms
    Regards
    Ravi

    Hi,
       U r right acutally i want to  mention the subject for my smartform when i am sending through mail for body i mention but how can i send the subject so actually i want to add the subject as HI UR SERVICE REQUEST NO IS ( Here one number it want to change ) so how can i change it and where i want to add it ,
      For the given smartform just it showing the body only as
    Dear Customer,
       Some text here
    Regards
    it is showing like this for this i want to add one subject so pls tell me how can i do this
    Thanks & Regards
    Ravi

  • Why is typing in Subject for email slow and delayed?

    When I attempt to type in the subject for email the typing is always delayed in appearing, but typing is normal otherwise. How do I get the subject line to stop being so slow to show the key stroks when typing?

    This can be a problem with saved form data.
    Does it still happen when you disable that feature?
    * Tools > Options > Privacy > History: "Remember search and form history"
    To see all the History and Cookie settings, select:
    * Tools > Options > Privacy > History: Firefox will: "Use custom settings for history"
    This issue can also be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • System variable name for email field.

    Hi
    Can anyone give me the system name for the email field,
    eg username is &APP_USER.
    Thanks
    Fiona

    Fiona - John's suggestion is to use a PL/SQL API call to get the email_address attribute from the wwv_flow_users record for a user account. There is no corresponding substitution string but you could create an item in your application and set it using this API. Keep in mind that this applies only to APEX user accounts, i.e., if you're using other authentication methods such as LDAP, SSO, Database Account, or custom tables, then the email_address will not be accessible using the API.
    Scott

  • Eem applet or script for sending email for syslog denies

    I am wanting to have my isr's send an email when a certain number of deny's occur on an ace.  So if i have a particular ace set up to log when tcp 3389 denied.  Then the eem applet or script would track when that deny entry happens.  When the deny hits on that entry reach three times, it will send an email alert.  The thing i am wondering about is how to set a variable within an event syslog pattern statement.  For instance, how do i say express a variable for the source ip/port in the below
    config-applet)# event syslog pattern "SEC-6-IPACCESSLOGP: list 198 denied tcp 201.198.71.51(38531) -> 212.184.81.52(3389)" occurs 3
    The source ip and port could rotate or change so i'd need to express that with some kind of variable.  How could that be done?(or is there a better approach altogether). 

    I put the below script in and it takes fine but does not send email alert.  Is there something more to do for configuring email sending? 
    event manager applet Intrusion-Tracking
    event syslog pattern "SEC-6-IPACCESSLOGP:.*-> 208.195.174.115\(3389\)" occurs 3
    action 1.0 mail server "173.16.7.2" to ".[email protected]" from ".eem@company1." subject ".intrusion_alert_from_c2900isr." body "Intrustion alert c2800isr"

  • Coldfusion form validation: Changing the "Subject" of an email based on server date/time

    Hi,
    I've provided a basic coldfusion email template for you to
    edit if necessary.
    In my validation I'd like to check the date / time on the
    server.
    If the date entered into the form is within 24 hours of the
    server date / time then insert "Urgent" into the subject of the
    email.
    Along with that I'd like to add a "read reciept to my email"
    if thats possible.
    Any ideas?
    <!--- Form variables here --->
    <cfparam name="FORM.FirstName" default="">
    <cfparam name="FORM.LastName" default="">
    <cfparam name="FORM.Email" default="">
    <cfparam name="FORM.Phone" default="">
    <cfparam name="FORM.Comments" default="">
    <cfparam name="FORM.Action" default="">
    <cfparam name="URL.Msg" default="">
    <cfset VARIABLES.Msg="#URL.Msg#">
    <cfif VARIABLES.Msg is "" and FORM.Action is "Submit">
    <!--- Validation --->
    <cfif Trim(FORM.FirstName) is "">
    <cfset VARIABLES.Msg=VARIABLES.Msg & "<li>You
    must enter your first name</li>">
    </cfif>
    <cfif Trim(FORM.LastName) is "">
    <cfset VARIABLES.Msg=VARIABLES.Msg & "<li>You
    must enter your last name</li>">
    </cfif>
    <cfif Trim(FORM.Email) is "">
    <cfset VARIABLES.Msg=VARIABLES.Msg & "<li>You
    must enter your Email Address</li>">
    </cfif>
    <cfif Trim(FORM.Phone) is "">
    <cfset VARIABLES.Msg=VARIABLES.Msg & "<li>You
    must enter your Phone Number</li>">
    </cfif>
    <cfif Trim(FORM.Comments) is "">
    <cfset VARIABLES.Msg=VARIABLES.Msg & "<li>You
    must describe your query</li>">
    </cfif>
    <!--- Process data mailto: --->
    <cfmail to="[email protected]"
    cc="#FORM.Email#"
    from="SENDER"
    subject="SUBJECT" type="html">
    Dear #FirstName# The Following details have been processed:
    #Form.FirstName# #Form.LastName# #Form.Phone# #Form.Email#
    #Form.Comments#
    </cfmail>
    <cfif VARIABLES.Msg is "">
    <!--- Process finished either cf location or URLmessage
    --->
    <cflocation
    url="baseform.cfm?Msg=#URLEncodedFormat('Information validated
    & posted - Thank you!')#" addtoken="No">
    </cfif>
    </cfif>
    <!--- ERROR MESSAGE appears here above form --->
    <cfoutput>
    <cfif VARIABLES.Msg is not "">
    <ul>
    #VARIABLES.Msg#
    </ul>
    </cfif>
    <form action="baseform.cfm" method="POST"
    enctype="multipart/form-data">
    <table cellspacing="2" cellpadding="2" border="0"
    class="form_table">
    <tr>
    <th>* First Name:</th>
    <td><input type="text" class="inputbox"
    name="FirstName" message="" validateat="onServer"
    value="#FORM.FirstName#" size="30"></td>
    </tr>
    <tr>
    <th>* Last Name:</th>
    <td><input type="text" class="inputbox"
    name="LastName" message="" validateat="onServer"
    value="#FORM.LastName#" size="30"></td>
    </tr>
    <tr>
    <th>* Phone:</th>
    <td><input type="text" class="inputbox"
    name="Phone" message="" validateat="onServer" value="#FORM.Phone#"
    size="20"></td>
    </tr>
    <tr>
    <th>* Email:</th>
    <td><input type="text" class="inputbox"
    name="Email" message="" validateat="onServer" value="#FORM.Email#"
    size="30"></td>
    </tr>
    <tr>
    <th>Required Date:</th>
    <td><input type="text" id="SdDays" name="SdDays"
    value="" size="4" maxlength="2" class="inputbox">
    <input type="text" id="SdMonths" name="SdMonths" value=""
    size="4" maxlength="2" class="inputbox">
    <input type="text" id="SdYears" name="SdYears" value=""
    size="6" maxlength="4" class="inputbox">
    </td>
    </tr>
    <tr>
    <th>* Query:</th>
    <td><textarea name="Comments" class="inputbox"
    cols="40" rows="6" validateat="OnServer" message=""
    tooltip="tooltip in here" enabled="yes"
    value="#FORM.Comments#"></textarea></td>
    </tr>
    <tr>
    <td> </td>
    <td><input type="submit" name="Action" id="Submit"
    value="Submit">
    <input type="reset" value="Reset" id="Reset">
    </td>
    </tr>
    </table>
    </form>
    </cfoutput>

    Any progress?

  • ORA-04054 : using variable substitution for the database link name

    Hi,
    I need to use variable substitution for the database link name.
    Here is my command :
    declare
    GET VARCHAR2(50);
    begin
    select OIA_GET_DESIGNATION into GET from INFODRI.OMA_IN_ARTICLES;
    for rec in (select * from [email protected]_GET_DESIGNATION)
    LOOP
    dbms_output.put_line('TEN_CODE vaut : '||rec.ten_code);
    END LOOP;
    exception
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERREUR ORACLE DETECTEE : '||rec.OIR_CUR);
    DBMS_OUTPUT.PUT_LINE('Message Erreur : '||SUBSTR(SQLERRM,1,245));
    :crd := -1;
    end;
    When I run this programm, I receive the error :
    ORA-04054: database link REC.OIA_GET_DESIGNATION does not exist
    When I replace :
    for rec in (select * from [email protected]_GET_DESIGNATION)
    by :
    for rec in (execute immediate 'select * from tensions@'||rec.OIA_GET_DESIGNATION)
    I receive the error :
    PLS-00103 : Encountered the symbol "IMMEDIATE" while parsing.
    What can I do to resolv my problem ?
    Regards,
    Rachel

    What is the name of the DB Link and the name of the object you are selecting
    from?
    I find it easier to create a view on the remote object then use that in selects.
    e.g,
    Link Name = MyLink
    Object_name = Addr_Loc
    create or replace VIEW Rem_Addr_Loc AS
    select * from addr_loc@mylink;
    In the code I then use the view
    begin
      for C_Rec in (select * from Rem_Addr_loc)
      loop
         dbms_output.put_line('Rec: '|| C_Rec.Col1);
      end loop;
    end;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • New-page for smartform

    Hello all,
    I am facing a problem using smartforms. I am printing a report where there is a loop running for a list of plants. For printing the information of each plant, I need to use a new page. Information of one plant may take several pages but for every new plant, I need to insert a page break.
    I am using a COMMAND with a checked next page option in my EVENT ON SORT BEGIN for the plant code.
    This does the trick, but if I use the command at the bottom, it inserts a blank page at the end of the report. If I use the command at the top of the event, it first shows a blank page and then the data from the 2nd page.
    Please sugest how can I fix this.
    Anmol

    Hi Friend,
            You can use following tips for generating smartforms for every new plant.I have generated sales order report using this steps.You can refer it.Tips are given below:
    1.Define the structure,workarea and internal table for sales order header and details and also define
    select-options for sales order.
    2.Also define the one STRUCTURE which has type as ssfctrlop.
    e.g. control type ssfctrlop.
         This variable we have to define because we are going to use this in
    SSF_OPEN function.This is used to avoid print preview while openning smartform
    for every sales order.
    3. Select data from vbak for sales header.
    4. Call function SSF_FUNCTION_MODULE_NAME.
    e.g.*CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = w_formname
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
         fm_name                  =  w_functionname
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    5.Now here define the various features or field in control structure.
    This is controls for smartform.
    e.g.  control-no_dialog = 'X'.
         control-preview   = 'X'.
         control-no_open   = 'X'.
         control-no_close  = 'X'.
    6. Call function SSF_OPEN.
         Here you have to pass the control structure which you have define in declaration.
    e.g.
    CALL FUNCTION 'SSF_OPEN'
        EXPORTING
      ARCHIVE_PARAMETERS       =
      USER_SETTINGS            = 'X'
      MAIL_SENDER              =
      MAIL_RECIPIENT           =
      MAIL_APPL_OBJ            =
      OUTPUT_OPTIONS           =
          control_parameters       = control
    IMPORTING
      JOB_OUTPUT_OPTIONS       =
       EXCEPTIONS
         formatting_error         = 1
         internal_error           = 2
         send_error               = 3
         user_canceled            = 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.
    7. Take loop at header internal table .
    8. Select data from vbak for sales details. Also select data from respective tables
    like makt,kna1 here.
    9.Then call function module which generated after executing smartform. And also pass the control structure
    in import parameter in this function module.
    e.g.  CALL FUNCTION '/1BCDWB/SF00000397'
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        control_parameters         = control
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
          wa_vbak                    = wa_vbak
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          it_vbak                    = it_vbak
          it_vbap                    = it_vbap
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 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.
    10.After endloop call function SSF_CLOSE.
         If it will help you reward me points.
    Regards,
    Santosh.

  • How to - Varibale Data in a PDF for mass email?

    I have a question for the Adobe InDesign community...
    Is there an easy way to add variable data to an InDesign PDF document for mass emailing?
    I am sending out a newsletter to over 500 emails and I'd like to add the client name to the PDF document and have it send to the appropriate email without having to do each one individually. We have Design Merge, however the only way to save out the variable data for the newsletter is to save them as post-scripts and then convert each file into a PDF. However...once all 500 records are made, is there a way to have the appropriate variable documents go to the right emails?
    I'm thinking I either need to do each email one at a time (which is time consuming)...or just redesign the newsletter as an html email and use something like Mail Chimp to have it include client names in the email as "IFNames."
    Anyone have any suggestions?
    Thank you.

    I don't understand what you want. Parts of what you want are possible, and it seems you understand how to do it (sort of).
    PlesePrintJ wrote:
    I am sending out a newsletter to over 500 emails and I'd like to add the client name to the PDF document…
    With the Mail Merge function within InDesign, you can take your (let's say four-page) newsletter and add 500 client names and email addresses, but it would result in a 2,000-page InDesign document (with 500 consecutive copies of your newsletter, each with a different name and email address, or what ever other data you need). That document can easily be exported to PDF, and the PDF can easily be broken into 500 four-page PDFs with Acrobat. If the page counts are an issue, you could break your data file into smaller chunks, and do several merges.
    PlesePrintJ wrote:
     …and have it send to the appropriate email without having to do each one individually.
    Here's where I don't understand you. Are you looking to make one email with 500 recipients, and have the appropriate PDF be attached automatically, without you having to choose the appropriate PDF with the cooresponding email? If so, that sounds like an email issue, more than an InDesign one. It may be (and probably is) something that can be automated, but I don't think InDesign is the step that is getting in your way.
    PlesePrintJ wrote:
    We have Design Merge, however the only way to save out the variable data for the newsletter is to save them as post-scripts and then convert each file into a PDF.
    I don't know anything about Design Merge, but Data Merge doesn't require this step. You can export to PDF directly from the InDesign document that is created by the Data Merge process.

  • Change subject line of Email sent through "spool recipient functionality".

    A batch job creates a spool, which is send through Email using spool recipient functionality. The subject line of the Email is as follows
    "Job<job name>, Step <step no.>".
    Is it possible to change the subject line of the Email?
    Any pointers on this would be highly appreciated.

    check the program name for job.
    If the program is Custom program(starting with Z or Y)  then you can easily change subject line of email.
    If it is standard program then we have to look for alter path.
    Edited by: subas  Bose on Feb 18, 2010 6:54 PM
    Edited by: subas  Bose on Feb 18, 2010 6:55 PM

Maybe you are looking for

  • Loadjava fails; create java source succeeds

    When using loadjava to load a Java class into the database I receive the following error: C:\OEMNT\bin>loadjava -user us/pw@db -verbose -resolve HelloWorld.class initialization complete loading : HelloWorld Error while loading HelloWorld ORA-00942: t

  • How to use Changed Data Capture?

    Hello, I want to use CDC to load my DW in real time. I am testing ODI in that mode. I have two tables: SRC Employe (empl_ID, name, surname, salaire, age) and TRG Employe( empl_ID, name, surname, CreDate, UpdDate) on SQL Server 2005. I wish to load da

  • Importing P3 files into P6.2?

    My installation of P6.2 seems unable to import P3 files -- P3 was not already on my computer when I installed P6. I'm at my wit's end -- can I get some/any advice on how to import P3 files into my recent P6.2 installation? Thanks very much in advance

  • Copy Query between Aggregation Levels

    We wish to copy input-ready queries between Aggregation Levels using NW2004s, however the old BW transaction RSZC to copy queries only appears to work for queries on InfoCubes or MultiProviders. Does anyone know if it is possible to copy queries betw

  • Speichern in Camera RAW mit PSE 11

    1)Mit der Funktion "Bild speichern" bleibt nach den Korrekturen in ACR die Originaldateii erhalten und es gibt eine neue DNG-Datei. Was ist mit der .xmp-Datei, die nicht zu öffnen ist? 2)Mit der Funktion "Bild öffnen" wird nach den Korrekturen in ACR