Skip to Content
author's profile photo
Former Member

Formatting

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Feb 02, 2004 at 01:59 PM

    Hi,

    a context-attribute is of type decimal, and I want the attribute to be displayed always with 2 digits.

    Any idea to do this?

    Josef

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Josef,

      Please create a simple data type. Under the tab "representation" and "format" you then want to type in ##.## in order to get always 2 digits. Additionaly you need to use this self-defined type within your context.

      Hope this helps!

      Karin

  • author's profile photo
    Former Member
    Feb 04, 2004 at 01:00 PM

    Hi, it almost worked;

    The pattern for 2 digits is as follows: #0.00

    Another question:

    I tried to use the predefined type "com.sap.dictionary.predefined.currency.EUR".

    I can "rebuild" and "deploy" the application, but when running it, the class can not be found.

    I guess I need to add a library to the project, but which one?

    And:

    I also tried to create a simple type, which has the predifined type "com.sap.dictionary.predefined.currency.EUR" as baseType.

    But as soon as I assign this new type to a context-attribute, then I get lots of errors when "rebuilding" or "saving metadata".

    It seems that the xml-Files, in which the meta-definitions of my Application are saved, become corrupt, and therefore a new source-generation results in wrong code.

    Am I right?

    Josef

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Netweaver is 2.0.0;

      where can I find the version of the J2EE-engine?

      I can tell you: It is not the Sneak Preview-Version; it is installed as a complete WAS (ABAP- and Java-Stack) on linux.

      Josef