cancel
Showing results for 
Search instead for 
Did you mean: 

currency field

Former Member
0 Kudos

hi all

What is best method(display and validations) to handle the currency field of ABAP in WebDynpro(JAVA)?

In ABAP the GUI does it, how abt here?

Thank you.

regards

Lakshminarayanan.V

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The answer can be found in this <a href="/people/bharathwaj.ragothaman/blog/2007/03/10/formatting-in-webdynpro-java article

Lee

former_member182372
Active Contributor
0 Kudos

Hi Lakshminarayanan,

In WD for Java you can use "com.sap.dictionary.predefined.currency.currency" or "com.sap.dictionary.predefined.currency.currencyNormalized" type.

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Maksim

Thanks for ur answer. But this only gives me the list of Currency Keys like usd,jap so..on. The issue however for me is with the display and edit of currency fields.

for eg : if its USD i want 200.00 USD if its the japanese currency i wud have it as 200 only.

Morever my currency field is editable too! So i dont want to bind a string simple type to it, as it would not trigger webdynpro 's default validation.

I am also showing the value in a single field so i can not even bind a simple type with a standard formatting as some times i may have to give a decimal value whilst some times i dont hav to!

hope i am clear, your suggestions pls.

regards

vln