Skip to Content
author's profile photo Former Member
Former Member

Formatting Data

Hi All

How do i format numeric data being displayed? I need to display 2 decimal places ?

Regards

Lakshmi

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 26, 2005 at 05:38 PM

    Hi

    You can use the simple type to format the data.

    Go to your local dictionary of the component and choose simple type. Create a simple type. There Go to representation tab. In the format type ####.##.

    Now create a context variable and assign the type to the simple type you have created.

    Kishore

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      There is no need to move the data to the custom node. Instead you can use supply functions to achieve your requirement. You can get more information on this from this blob.

      /people/sap.user72/blog/2005/03/15/supply-functions-in-webdynpro

      Kishore

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.