%%variable%% in mail templates

Hi, I'd like to send more information like order number, etc with the e-mail confirmation for
"order waiting for approval"
"order approved"
I took the variables from the Invoice Template like %%OrderID%%  %%FirstName%% %%LastName%%  %%UserID%% and pasted them in
orderapproved, ordershipped, submitforapproval  but all I can get is gibberish when I receive the e-mail. any help ?
By the way, what is reminderemail for and %%Message%%  ??
thank you much, Daniel

Hi Daniel,
The %% variables available for templates is dependant upon the objects they are bound to.
The orderapproved template is bound to NPCommunicationLog.
The ordershipped template is bound to NPShipment.
The submitforapproval is bound to NPCommunicationLog.
The fields available in these objects can be found in the Webtools API documentation.

Similar Messages

  • Passing context parameter as Subject to GP Mail template

    Hi ,
    I am using NW 7.0 SP14. I am using GP mail notifications to send out mails and I am successful sending context parameter values in the  body of mail template. Is there any way I can change the mail subject line dynamically by passing context parameter to the mail template.
    Thanks.
    Madhan

    Hi Madhan
    Unfortunately, using the standard mail templates in GP, it is not possible to add context variables for the mail Subject. These can be only added to the mail content.
    Best regards
    Armando

  • Field reference for webtools mail templates

    Hi,
    I try to modify the mail templates in webtools backend - admin->layout->mail templates.  Is there a help document for the field reference, like %%ExtendedPriceWithoutLineDiscount, %% ?
    Thanks,
    David
    =================
    <html>
    <head>
    %%StyleSheet%%
    </head>
    <body>
    <center>
    <table width=800 cellpadding=4 cellspacing=0 border=0 >
    <tr>
    <td>%%PurchaseDate, %%</td>
    <td align=right>Order # %%OrderID%%</td>
    </tr>
    <tr>
    <td>%%FirstName%% %%LastName%% [%%UserID%%]</td>
    <td align=right>%%AccountID%%: %%AccountName%%</td>
    </tr>
    <tr>
    <td valign=top><!section name="billing">%%AddressHTML%%</section>
    <pre>%%BillingAddress%%</pre></td>
    <td valign=top><!section name="shipping">%%AddressHTML%%</section>
    <pre>%%ShippingAddress%%</pre></td>
    <td valign=top>
    <table>
    <tr><td>Delivery method:</td></tr>
    <tr><td>%%ShippingMethodText%%</td></tr>
    </table>
    </td>
    </tr>
    </table>
    <table width=800 cellpadding=2 cellspacing=0 border=1>
    <tr>
    <td bgcolor=silver>Qty</td>
    <td bgcolor=silver>Item</td>
    <td bgcolor=silver>Description</td>
    <td bgcolor=silver>Price</td>
    <td bgcolor=silver>Total</td>
    </tr>
    <section name="orderdetail">
         <tr>
         <td>%%Quantity%%</td>
         <td><b>%%PartNo%%</b> <br>%%Notes%%</td>
         <td>%%PartName%% %%VariantDetailHTML%%</td>
         <td>%%PurchasePrice, %%</td>
         <td>%%ExtendedPriceWithoutLineDiscount, %%</td>
         </tr>
    </section>
    </table>
    <br>
    <table width=800 cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td valign=top>
    <section name="weight">
         <table cellpadding=3 cellspacing=0 border=0>
         <tr>
         <td>Total Volume</td>
         <td>%%VolumeTotal, %%</td>
         </tr>
         <tr>
         <td>Total Weight</td>
         <td>%%WeightTotal, %%</td>
         </tr>
         </table>
    </section>
    </td>
    <td align=right>
         <table cellpadding=3 cellspacing=0 border=0>
         <tr>
         <td>Subtotal</td>
         <td>%%SubTotalWithoutLineDiscounts, %%</td>
         </tr>
         <tr>
         <td>Discount</td>
         <td>%%OrderDiscountWithLineDiscounts, %%</td>
         </tr>
         <tr>
         <td>Handling</td>
         <td>%%HandlingTotal, %%</td>
         </tr>
         <tr>
         <td>Shipping</td>
         <td>%%ShippingTotal, %%</td>
         </tr>
         <tr>
         <td>Payment Method</td>
         <td>%%PaymentMethodTotal, %%</td>
         </tr>
         <tr>
         <td>Taxes</td>
         <td>%%TaxTotal, %%</td>
         </tr>
         <tr>
         <td>Total</td>
         <td>%%GrandTotal, %%</td>
         </tr>
         </table>
    </td>
    </tr>
    </table>
    <br>%%Notes%%<br>
    <table width=800 cellpadding=2 cellspacing=0 border=1>
    <tr>
    <td bgcolor=silver>Type</td>
    <td bgcolor=silver>Number</td>
    <td bgcolor=silver>Amount</td>
    </tr>
    <section name="orderpayments">
         <tr>
         <td>%%PaymentName%% </td>
         <td>%%MaskedNumber%% </td>
         <td>%%PaymentAmount, %% </td>
         </tr>
    </section>
    </table>
    </center>
    </body>
    </html>

    Hi David,
    A search with the keywords "mail template" yeilded this result
    [Re: Email Template Variables|Re: Email Template Variables]

  • E-Mail template format with example

    Hi All,
              Could someone provide me with mandatory things to consider when creating e-mail templates in SAP Cloud for Customer ? I want the specific format and tool used to create it.
    An example HTML document will help me to look into HTML tags used and the way its designed.
    Will appreciate with reward points for best support.

    Hi Gowri,
    here is the template:
    <html>
    <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    </head>
    <body>
    <span class="variable">/FormCampaignExecutionPlaceholder/ContactPerson/FormattedName</span>
    <p>Please join us for the conference!</p>
    <p><a href="mailto:{/FormCampaignExecutionPlaceholder/MailingPermissionDenyMailToURI}">Click here to be removed from future marketing mailings.</a></p>
    <p><a href="http://{/FormCampaignExecutionPlaceholder/LinkTracking/TrackingURI}www.sap.com/HANA">News about SAP HANA</a></p>
    </body>
    </html>
    Kind regards, Janina

  • Mail Template (SO10 Text)

    Name of the Award     <VALUE>     Award Code                               <VALUE>
    Product Code     <VALUE>     Product Description         <VALUE>
    Nominator Name     <VALUE>     Nominator ID                              <VALUE>
    Nominator Email     <VALUE>     Nominator Designation         <VALUE>
    Nominee Name     <VALUE>     Nominee ID                               <VALUE>
    Delivered To           <VALUE>     Onsite / Offshore Status         <VALUE>
    Signatory's Name     <VALUE>     Signatory's Designation         <VALUE>
    I need a mail template in this format.. Is this possible to do??? If so how???
    Regards,
    Vidhya S

    Hi..
             It can be done using SO10 ..Define the variables in the SO10 text. In the program in which u need to create the body of the mail.
    1. Read the text from the SO10.
    2. Create the variables with the same name in ur program.
    3. Use FM TEXT_SYMBOL_REPLACE to replace the symbol(Variable) to values.
    Ranganathan.

  • Mail Template updates

    Hi Experts,
    I have a requirement to update the Document name defined  in mail template . please guide me to find a way for update .
    FORMAT("b", "Title:") %DOCUMENT_NAME%
    currently the docu
    Thanks,
    Deepika

    Hi ,
    In mail template there are a set of attributes %document_Name defined with pre-set values . In my application i have a variable
    Mail_name defined with default user name . i want to update the user name associated with Mail_name . please guide me the way to update

  • Variables in RTF template?

    Variables in RTF template?
    I am battling with variables in RTF template.
    (1) I need to declare and set a variable.
    (2) I like to print it out - check for value
    (3) then I need to make some conditional formatting IF-THEN-ELSE depending on variable value
    THIS DON'T WORK AT ALL (1,2,3):
    (1) declare a variable
    <xsl:variable name="MYCOUNT" select="count(LINE_LOCATIONS/LINE_LOCATIONS_ROW/SHIPMENT_NUM)"/>
    (2) print-out-a-value
    <xsl:value-of select="$MYCOUNT"/>
    (3) IF-THEN-ELSE statement
    <xsl:if test="$MYCOUNT > 1"><xsl:value-of select="concat('mo','re')"/></xsl:if>
    <?if:MYCOUNT="1"?><xsl:value-of select="concat('o','ne')"/><?end if?>
    THIS WORK (1,2) BUT (3) don't work in any way !!!
    (1) declare a variable
    <?xdoxslt:set_variable($_XDOCTX, MYCOUNT, count(LINE_LOCATIONS/LINE_LOCATIONS_ROW/SHIPMENT_NUM))?>
    (2) print-out-a-value
    <?xdoxslt:get_variable($_XDOCTX, MYCOUNT)?>
    (3) IF-THEN-ELSE statement
    <?xdofx:if MYCOUNT=1 then 'one' else 'more' end if?>
    <?xdofx:if $MYCOUNT=1 then 'one' else 'more' end if?>
    <?xdofx:if xdoxslt:get_variable($_XDOCTX, MYCOUNT)=1 then 'one' else 'more' end if?>
    Can someone help me haw to compare a value of variable with constant or another variable or node-value ?
    thx.

    <?xdoxslt:set_variable($_XDOCTX, ‘COUNT’,’YY’)?>
    <?xdoxslt:get_variable($_XDOCTX, ‘COUNT’)?>
    <?if:(xdoxslt:get_variable($_XDOCTX, ’COUNT’)) = ‘YY’?> YEss<?end if?>
    <?if:(xdoxslt:get_variable($_XDOCTX, ‘COUNT’)) = ‘HH’?> Helooo<?end if?>
    <?xdoxslt:set_variable($_XDOCTX, ’YY’, 15)?>
    <?xdoxslt:get_variable($_XDOCTX, ’YY’)?>
    <?if: (xdoxslt:get_variable($_XDOCTX, ’YY’))=15?>Yes Yes<?end if?>
    Variable name is 'COUNT'

  • How Can I apply a RTF Function on a variable in RTF Template in XML Publisher Report

    Hi Everyone,
    I am developing a RTF Template of XML Publisher Report, I have a variable lv_counter which I can declare using below syntax
    <?xdoxslt: set_variable($_XDOCTX, 'lv_counter',0)?>
    I can access this variable in the template as <?xdoxslt: get_variable($_XDOCTX,'lv_counter')?>
    My need is to print the variable in words in the RTF Template. I am using <?xdofx: to_check_number(xdoxslt: get_variable($_XDOCTX,'lv_counter'))?>
    But this is not working. any help will be appreciated thanks in advance
    The XML Publisher Desktop version which I am using is 10.1.3.3.0
    Please let me know where I can post this question, if this is not the appropriate discussion forum.
    Thanks in Advance.

    Hi,
    Can you elaborate your requirement little bit clear with some example like what is your expected output.
    And you can post you BI related question in the BI publisher forum
    https://forums.oracle.com/community/developer/english/business_intelligence/business_intelligence_foundation/bi_publisher/content?filterID=contentstatus[published]~objecttype~objecttype[thread]
    Regards
    Sri

  • Is there any way, to create with Adobe Muse HTML-Mail Templates?

    Is there any way, to create with Adobe Muse HTML-Mail Templates? or to convert the createt page to only html content? any other tool like an website copyer?
    tanks for help!

    Off the top of my head, you should be able to create mail templates in muse BUT it will require  very basic html/css knowledge on your part. I am assuming you want to do just the signature?
    Create the design you would like on one page, dont do any kind of styling in a master page. Then export the site into a folder. Open the html file with notepad/ textedit and then copy just the code for JUST the template. Throw it in you mail app of choice and it should work.
    This seems like something that would be done alot quicker in dreamweaver in design view.
    PLEASE NOTE: ^i could be completely wrong - but in theory this may work.

  • Text Format in Mail Templates

    Hi Experts,
    I have a requirement , wherein I need to make certain word in my custom mail template( palin text) as bold or underline( or both) , I tried Mail template Macros FORMAT for this but it didnt work , If anyone knows how can we achieve this please share.
    regards,
    VIshal Goel

    Hi Vishal,
    Please try below format, so that it may work.
    FORMAT("b", "Title:") %TOKEN1%
    FORMAT("b", "Posted By:") %TOKEN2%
    LINK("View Full Message", "%LINK123%")
    The above mentioned will work only when HTML Mail option is selected on the user account level under Account properties.
    Please let me know if the issue still exists.
    Also Please go through the below link, it will be useful for you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/001d645f-008f-3010-7b8f-e7935e46733a?overridelayout=true
    Thanks,
    Raj.

  • Mail Templates in multiple Languages

    Hello,
    We are in Sourcing 7.0 SP02.
    We have a language pack for languages like German, Spanish installed in our system.
    But the mail messages for the users logging in those languages are still sent in English. Only some content like the footer/header are in local language since they are localized resources and they have language specific content. But the main mail message is in English. To give you an example: The workflow approval request message thats sent to a Spanish user looks like below:
    Subject: Solicitud: Approval: Category Project: 123
    Estimado test,
    This message is to inform you of an approval request for the following: Category Project, 123
    Approval Request: Submitted
    Start Date: 31/01/2012 16:20
    Document Owner: test user 1
    Instruction:
    To view this document and complete the requested approval task, please click on the link:  http://hostname:port/fsbuyer/projects/projects_header,-2147483148:1100?rqaction=load&allow_redirect=true&hook=projectUIRQHook
    No responda este mensaje. Si tiene alguna consulta o dificultad al utilizar esta aplicación, póngase en contacto con el servicio al cliente llamando al %TECH_SUPPORT_PHONE% o por correo electrónico a %TECH_SUPPORT_EMAIL%.
    if you notice - the header, footer and some part of the subject is in Spanish - but the remaining content is in English.
    Are mail templates in multiple langguages not delivered when we install the language pack.
    When I copied a standard mail template and checked it - the content was empty for the other languages that we have installed.
    Are we expected to create our own mail content for the other lanuages that are installed in the system?
    Regards,
    Srivatsan

    Hi,
    you need to reinstall the language packs after the tenant configuration. That should to it.
    Seems to be a bug (feature) in SAP Sourcing.
    /Anita

  • Show date variable in WAD Template.

    HI,
    I want to be able to show the date variable in WAD template. To do this I used the info field web item. This web item  has the option to show variables which is great, but unfortunatly for me it also shows all the other variables I am using. I can not see anywhere where I can restrict it to only show the date variable.
    Does anyone know how I can do this or is it something I would have to do query side.
    Regards
    Forhad

    Hi Forhad,
    Yes you can show the date var alone, for this you would have to choose the specific date var under Data Binding -> List of Text Elements to display -> Text Element Type =  Variable Value, Variable = (select the date var from the available list).
    You may also turn off the Static Variables & Dynamic Variables if required.
    --Priya

  • E-mail template for B1

    Hi!
    How can I change the e-mail template that B1 uses?
    I know how to change the configuration of SBO mailer, signature, etc., but I don't know if it's possible to change the body and the format of messages.
    Could you help me?

    For more information, check this thread:
    Outlook integration installation
    It is not a free add-on though.
    Thanks,
    Gordon

  • HTML Editor for creating e-mail templates for SAP Cloud for Customer

    Hi Techies,
                     Is there any preferred software for creating e-mail templates to use with SAP Cloud for Customers ? I mean to avoid unnecessary errors when creating standard e-mail template which are recognized unified manner within the system.
    Will appreciate with rewards points for best support.

    Here is a template for the wire-frame that we used. We went with pure HTML tables so that the response could be multi-client compatible. We found that additional code caused issues with certain clients. In the middle table, we had linked icons to our respective self serve properties and additional support options for Chat and our own Support Community.
    The content of the email will be placed where #Text# is. Our email responses include the content and the basic signature. We also provide our detailed legal disclaimer at the bottom with additional links if needed.
    Let me know if you have any questions.
    Thanks!
    Josh
    <font face="Trebuchet MS, Arial, Helvetica, sans-serif" size="2">
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:50px;">  </td>
        <td style="border: 1px solid #9b9b9b; border-bottom: none;">
           <div style="color: #6a6a6a; display: block; margin: 10px; padding: 10px;">#Text#<!--Placeholder for email content.--></div>
          <p style="color: #6a6a6a; display: block; margin: 10px; padding: 10px;">Chat:       <br />
          Support Community: <br />
          Customer Care: </p>
        <p> </p></td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:500px; border: 1px solid #9b9b9b;">
    <table width="100%">
      <tr>
      <td width="50" valign="middle"><!--Include links to self serve options here--><img src="XXXXX" alt="XXXX" title="XXXX" style="border:0 none;" /></a></td>
            <td valign="middle">
            <p style="color: #6a6a6a; display: block; margin: 5px;"><!--Include links to self serve options here-->Support is also on: &#13;
      </td>
      </tr>
    </table>
        </td>
        <td style="border-right: 1px solid #9b9b9b;"> </td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:50px;">  </td>
        <td border="1" style="border: 1px solid #9b9b9b; border-top:none;"><p> </p>
        <p style="color: #6a6a6a; display: block; margin: 10px; padding: 10px;"><strong>NOTICE:</strong> Legal Disclaimer   Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse a
    magna non libero accumsan luctus. Donec purus metus, mollis nec
    commodo ac, hendrerit pulvinar lectus. Sed quis elit felis. Duis ut
    eros urna. Morbi fringilla nunc vitae enim mollis in sodales nisl
    tincidunt. Etiam orci risus, convallis ut tristique in, vestibulum sed
    ligula. Donec quis sodales purus. Donec dignissim lacus dignissim
    justo fermentum eu volutpat justo consectetur. Fusce metus massa,
    fringilla sed malesuada nec, vulputate quis lectus. Vestibulum et
    venenatis ante. Vestibulum non dui dolor, et tempus magna. Cras
    tincidunt cursus enim, id convallis tortor placerat eu. In in magna ac
    dui pretium placerat. Duis tortor leo, viverra ac tincidunt nec,
    bibendum non nunc.
    Curabitur et turpis vel nulla vulputate ullamcorper id sed eros. Donec
    orci lacus, elementum nec vulputate et, varius id neque. In ac magna
    ac lectus gravida consectetur. Class aptent taciti sociosqu ad litora
    torquent per conubia nostra, per inceptos himenaeos. Etiam egestas,
    diam vitae molestie vestibulum, magna orci ultricies nisi, id luctus
    lorem nulla nec lorem. Donec tincidunt vehicula ipsum eget mattis.
    Donec dictum vulputate mi ut facilisis. Vivamus varius augue fermentum
    libero iaculis quis dictum ante consequat. Aenean luctus massa sit
    amet nulla sagittis id fermentum sem luctus. Vivamus odio diam,
    lacinia ac egestas eget, tincidunt et sem. Sed a ante dui, eu
    scelerisque eros. Nullam et faucibus odio. Nunc posuere auctor sem, ac
    blandit ipsum molestie sit amet. Nullam nec luctus arcu. </p>
        <p> </p></td>
      </tr>
    </table>
    </font>

  • Personalizing E-mail Templates in Guided Procedures

    Dear All,
    I need an E-mail template which will fetch me the context parameter value like defined in the the block of a Process through Guided Procedures as follows:
            Context Parameter> Input Parameters (of type Structure)->Business Manager (String)
    I need to get the value of "Business Manager" in the E-mail thats sent to all the context processsors.
    I used "ctxt.personalData.lastName" where ctxt is the prefix of Context Parameters, personalData is the structure and lastName is the field to retrieve the value. But this is not working for me.
    Please suggest the possible solution to this.
    Regards,
    Poornima.

    Hi Poornima,
    Than you should check if this parameter is mapped. Send e-mail or Notification callable objects has own parameters and you should have such parameter for the callable object "personalData.lastName" which should be mapped to the context parameter of the action. When you define a due date or notification for an action you have a button "map" and also you should edit the Send e-mail or Notification callable objects so that they contains personalData.lastName parameter.
    Regards,
    Yordan

Maybe you are looking for

  • Networking issues with MacBook Pro

    I have tried to find this issue on line and in the forums and couldn't   I have seen many people have similar issues using VPN connections or Citrix but nothing what I am seeing.  I have 3 MacBook Pros that connect fine to our company network.  They

  • Can't print .pdf files on windows network printer

    Hi, I cannot print .pdf files on Canon IRC printer with UFR II 2.23 or 2.24 drivers connected through a windows network by LDP protocol, either with Apple Preview or Acrobat Reader - looks like the software doesn't find the printer (I have the rainbo

  • Minimum Order Surcharge Issue -Urgent-

    Hello Experts, We have an issue with minimum order surcharges.  Our minimum order value is $2500.00.  This is the scenario.  1)  We create a sales order let's say with 10 line items (totaling $3400.00, so we minimum order surcharge should not be acti

  • BPM: 2 synchronou receive step

    Hi everyone, Hi have to design a BPM which has 2 synchonous receive steps. The first I open a asynch/synch bridge. In the second one I use correlation but the receive says asynchronous receive step. This has to be synchronous. I have to sent back a m

  • How to send data coming from modem to a text file

    hi frnds I have a modem program in which i can receive sms and call details.What i want is i want to store those msgs to a text file. The String variable to which that data is going is in readData() method of some Receiver.java file. I tried like thi