Formatting the mail content in the workflow email

Hi,
In a workflow i am displaying a currency value.I want to format the currency value in the output. For eg: currently in the workflow email a value is displayed as 20000.0000 but i want it to display as 20,000.00 .
        I have written the code in the method of the business object where i fetch this value such that the value is changed to the required format and is placed in the container element. The value of this container element is then displyed in the mail body.
I checked and the value does change to the required format and it is placed in the container element also in the required format(i.e 20,000.00)  But only in the email output the formatting is lost and  it is displayed in the original format(i.e 20000.0000).
Is there any other way to format the output of the currency field. I tried changing the data type to a character string but then the comma does not appear on the output.
Thanks!
Regards
Archana

Hi,
amount = 20000.0000
mail_amount is the variable that you'll use in mail body
p_curr is the  currency you'll use.
WRITE amount TO mail_amount CURRENCY p_curr RIGHT-JUSTIFIED.

Similar Messages

  • Extra header appearing in the Workflow emails sent

    We are getting some extra header message in the email notifications which are sent by the workflow mailer.
    This extra header message is only visible in the email notification which is sent to the concerned person via internet.
    When we try to see this same message from the workflow screens, Then this extra header information is absent.
    We are confused about this irregular behaviour .
    example of the extra header message is below..........
    Oracle Workflow Notification
    ______________________Start of Response Template______________________
    Response Template for NID[4442/1823303307@wf]
    To submit your response, reply to this message, including this response
    template with your reply. Copy and paste from this message if
    necessary
    to obtain an editable copy of the template. Insert your response value
    between the quotes following each response prompt.
    RESULT: ""
    Approve
    Reject
    ______________________End of Response Template_______________________
    -------------AFTER THIS WE CAN SEE THE ACTUAL MESSAGE----------
    Is there any setting in the workflow which has to be changed??
    Thanking you in anticipation.

    I tried removing that response message from the message template.. Now it is giving an error, no messages are being sent..
    Is is possible that I can attach the FYI template for the response template, i.e. change the default message template associated with that process.
    The reason being that we dont want the user to respond from the message but from the screen, hence we want to remove that response part from the message.. so can we use the FYI template for a response message?

  • Http link to activity or opportunity in the workflow email message

    Hello All,
    I created a custom checkbox in task screen. When new task is created and checkbox is checked send email to the user.
    in email body I would like to include the http link so that when user click on the link directly goto Activity/Task or atleast opportunity.
    Thanks
    Pallavi

    Hi,
    I'm not sure about an Opty link as you are on the Task record for the trigger but try this:
    This is a link to an Opty record on the DSA pod:
    https://secure-ausomxdsa.crmondemand.com/OnDemand/user/OpportunityDetail?OpptyDetailForm.Id=ABJA-19SNTU
    To reuse this for any other record type or another system do the following:
    Open a record that you want to link to i.e. SR for DSA Demo and you get this URL at the top
    https://secure-ausomxdsa.crmondemand.com/OnDemand/user/ServiceRequestDetail?ServiceRequestDetailForm.Id=HU15-NT8Q&OMTGT=ServiceRequestDetailForm&OMTHD=ServiceRequestDetailNav&OMRET0=ServiceRequestHomepage&OCTYPE=Other&ocTitleField=Abstract&ocTitle=Send+copy+of+Annual+Report&ocEdit=Y
    As you can see the URL starts the same except it references ServiceRequestDetail instead of Opty detail.
    From the OnDemand screen copy everything from http:// to ServiceRequestDetail? ServiceRequestDetailFormID= and paste it into your workflow email.
    Click the Fx button and add the Row ID.
    Voila you now have a link in an email that will open the record that triggered the workflow.
    cheers
    Alex

  • How to format the Workflow standard task description

    Hi experts,
    I am trying to put an SAP icon in the Workflow standard task description. But it is not appearing.
    Also, is there any way to change the color and font of the text entered in the the description of the standard task?
    To put an icon, i am following the steps mentioned below:-
    then I am choosing a particular Icon, and its corresponding code comes in the editor, <718> in this case.
    But the output does not show any Icon.
    Please advice.
    Thanks

    Hi argadip,
    Please help me tooo...
    Task has been transported from develpment client to another client for integration testing.
    in the shopping cart advice product has been created by the employee.
    then it goes to advisor for the approval
    This has been done by the workflow.
    It is implemented in both dutch and english.
    English - it is working fine.
    Dutch - the task is not defined.(the code is missing)
    after transporting , we did changes in the task created for implementing this approval description.
    It was working fine in both dutch and english.
    But the corrections in the code are there....
    only in the output After transported to another client dutch part approval description is not correct some part of it are missing
    Is the problem related to the transport or with the modifications of task defined ??
    Can anyone suggest me how to solve this problem.

  • Need to change the sender of the workflow email using SPD 2010

    Hi,
    I got a requirement. I've created a SharePoint Designer 2010 workflow which will trigger an email. The sender of that email is default. I need to change the sender of email to some user's email address like [email protected]
    Can this be possible using SPD 2010. Please suggest.
    Thanks,
    Kunal

    not out-of-the-box.
    you would need to find a third party add-on to send the email. The SPDActivities codeplex project includes some email options that include specifying a sender, but focus on attachments... not sure what would happen if there was no attachment.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to modify the mail content in Spaces

    How can the default mail content dispatched from "Send Email" in Discussion Forum can be modified ? Please can someone guide on how this can be achieved?
    I need to modify the subject of the message being broadcasted to the Space members.
    Version WebCenter Spaces PS4 (no cutomizations have been done)

    Hi,
    Do you mean to read the mail content in R/3 inbox or UWL..?
    If in R/3 then SBWP transaction Unread Documents..
    If in UWL see notifications part.
    Please if this does not solve your problem> please elaborate on your problem
    Regards
    Sai

  • GUEST user issue in the workflow

    Some of our users want to have the GUEST user profile option enabled to check the Workflow notifications so that they
    don't have to login to approve the workflow notifications but they can be able
    to approve notifications from the link they receive in the workflow email
    notifications.
    Everything looks ok but some custom workflows are unable to retrieve the details of the persons who approve or reject the notifications. It
    returns the approver as GUEST and the rejector as GUEST.
    Is there anyway we can remove the link which says "Please Click here to respond" from specific
    workflows in the email notifiication?
    Is there anyway to retrieve the approvers or the rejectors username or email address even though the GUEST user is enabled?
    Please advice.
    Thank You
    --Pavan K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    You can change it :
    1) Login to Oracle Applications
    2) Select Workflow Administrator Web Application responsibility
    3) Then select Workflow Manager
    4) Then Notification Mailer
    Now edit the Notification Mailer Component's parameters. On 4th or 5th page , you will see some template configuration.
    Open Mail Template : OPEN_MAIL ( "Workflow Open Mail (Templated)" )
    Bounce Workflow Mailer Service and check it.

  • Sending workflow email in HTML format

    Hi Experts,
    I'd like to know if it is possible to send an HTML email using the workflow email step and HOW. Sample is displaying the simple table in HTML format:
    <table border="1">
    <tr> <th>Header 1</th> <th>Header 2</th> </tr>
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    </table>
    Since the hyperlink (<A HREF="http://www.google.com">Google</A>) is working, I want to know if a table will work too.
    My last resort creating a separate program that uses SO_NEW_DOCUMENT_SEND_API1.
    Regards,
    Dexter

    Hello,
    Using SO_NEW_DOCUMENT_SEND_API1 is not a last resort; it's a necessity if you want to send anything but the simplest email from workflow.
    regards
    Rick Bakker
    hanabi technology

  • Tabs or Collapsable view in Workflow Email

    Hi all,
    We have a requirement to have Tabs in mail sent by WF or to have collapsable view.
    Collapsable : Click on a word or so and it opens a section . On clicking again, it should close.
    We are using HTML language to send the Workflow Email.
    The mail would be sent to Lotus notes and / or Outlook.
    Let me know if this can be achieved.
    Regards,
    Siddhesh sanghvi

    I Have defined Workflow in SAP. The mail is sent to SOST and then to outlook or Lotus Notes.
    As you said you have defined workflow in sAP. mail is sent to SOST.
    am aware that this will be possible on receiving side i.e. Lotus Notes or Outlook.
    But I am not aware, how to create it in HTML or any other language for Workflow mail.
    Thank you for your inputs.
    Then you want to send mail again in HTML what is your excat requiremnt. You can get every thing in SAP itslef why do you want HTML.
    Regards
    vijay

  • User action in workflow email

    Dear All,
    I have a requirement, where user wants to do some action in the workflow email that goes into user's inbox.
    User wants to have the option of yes/no and  forcing an action on the basis of that.
    How can email from workflow have this type of functionality, please suggest.
    Regards,
    Neerja

    Hi Neerja,
    I have done this long Back. Customized the program RSWUWFML2 to send the mail with Approve/Reject button with the help of HTML code.
    If the user press approv/reject in outlook, called the HTML Mailto option. So it will come like as Reply mail.
    If the user press, send button the mail will be routed to SAP inbox - Always to the static SAP user with the details of Approver decision and work item ID.
    There is a class and it will be triggered when ever the particular SAP user receives the mail's. Using the class work item ID and approver decision will be extracted and the work item will be completed based on the approver decision.
    Thanks,
    Viji.

  • How to include time in [Today] in workflow email variable

    I want to add the date/time that an item was added to a library in the email body of a workflow email.  I created a variable and set the date value to Current date.  When the email comes though the date is correct, but the time is 12:00:00 a.m.  Why is that, and is there a way to get the time in the date/time stamp?

    Hi,
    This is one drawback in SharePoint. Whenever you write a field of type "Date and Time" in the workflow email, it will always show the time 12:00:00 AM no matter if you have selected "Date Only" option also. This not only happens in SharePoint Designer's "Send an Email" activity but also happens in Visual studio workflow. There is no inbuilt solution for this and if you are using SharePoint Designer then you cannot get rid of this.
    I was using Visual studio workflows and in order to remove this "12:00:00" part from date, i followed some logic. First i converted my date to a string variable and then used "Trim()" function to trim the "12:00:00 AM" part. Like this i made this working.
    Regards
    Ginni

  • Remove ;# from Workflow Email

    Hi,
    I have a choice column which accepts user input. I then have a workflow which sets a variable for an email using the data from the choice column.
    When sending the email the text will be surrouned by ;#   (i.e.   ;#choice;#)
    Is there a way I can remove these symbols from the workflow email?
    Thanks,
    Ben

    Hi Ben,
    If you are sending the email through SharePoint designer, it seems there is an option when creating the
    "Define Workflow Lookup" the "Return field as" has 2 choices "As String" and "Lookup Value (as Text)".
    If you use As String then it will append the ;#.  If you instead choose
    Lookup Value (as Text) then it is only the value.
    Reference:
    http://social.msdn.microsoft.com/forums/en-US/sharepointcustomizationprevious/thread/49e219c2-696d-4e20-a740-ac7de844063d
    Regards, Rahul Vartak | http://rahul-vartak.blogspot.com/

  • Hide 1/1/0001 from Short Date in Workflow email

    All
    Using InfoPath and SharePoint 2010.
    I've various date fields on my InfoPath form which can be left blank. These date fields are published to SP successfully as blank (to the human eye).
    When I place the date field (short date) in a workflow created email, the date returns in the email as 1/1/1/0001 . This I understand is workflow default behaviour.
    Can this value (1/1/0001 be hidden or replaced with a "blank".
    I've 6 date fields in this email, any one of them could be blank. Is there an alternative to write multiple email combinations?
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/cd1f9ae5-9edb-4b66-b3fa-8fbdb1dc6cb9/email-from-workflow-contains-110001-120000-am-for-items-empty-date-field?forum=sharepointcustomizationprevious
    I'm trying to set a variable in place of a blank date fields yet all I get back is an alternative date 1/1/1900.
    Thanks
    W

    Hi Wilkies0105aw,
    I'm also having the same issue. Did you find any solution to hide date 1/1/0001 in the workflow email?
    Please let me know.

  • Can we send attachments in workflow email notifications ?

    Hi All,
    I have a requirement where attachment needs to be added in the workflow email notification. Can we do that in SAP ?
    If you know any pointers then please reply.
    Thanks & Regards.
    Raman Khurana.

    Hi raman,
      Please check
    Attachments in Workflow.
    Thanks,
    sahiba

  • Receiver Mail Adapter: Formatting the mail content

    Dear All,
    I'm using a receiver mail adapter. I would like to format the content of the mail using the contents of the XML message. For example:
    XML Message
    <Order>
      <OrderID>1234</OrderID>
      <CustomerName>Sandeep Joseph</CustomerName>
      <NetValue>7467.99</NetValue>
      <Link>http://locahost:7000?OrderID=1234</Link>
    </Order>
    Mail Content
    Dear Approver,
    Please approve the Order - 1234, Customer - Sandeep Joseph
    Link: http://locahost:7000?OrderID=1234
    Thanks,
    Are there any modules which would help formatting to this extend? Or any other mechanism?
    Thanks,
    Sandeep

    The easiest means is to use XSL mapping and create the Content Type as HTML and emded the cotent within HTML tags.
    One such example is shown by Praskash in this blog,
    /people/community.user/blog/2006/09/07/email-reporting
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    If you use the Mail Package option then you can also wite a UDF in your mapping that will populate the content field. For every newline you can use the java new line \n and so on.
    Regards
    Bhavesh

Maybe you are looking for