cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting

Former Member
0 Kudos

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Josef,

Could you please let me know the version of the IDE and the J2EE engine? Do you use the Sneak Preview?

Best regards, Karin

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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