Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Webdynpro - Currency amount

Former Member
0 Likes
369

Hi all,

Currently, I have a currency amount, 55,000,000 VND (Vietnamese Dong) where a variable is declared to hold this amount value (type data element GESBA). When this value is saved into table FTPT_REQ_ADVANCE, the internal value of the above amount appeared as 550,000.00 (field VORSC).

However, I realize that it the value can be displayed as 55,000,000 VND by using WRITE statement with CURRENCY 'VND' as addition.

My question:

Now, amount 550,000.00 and currency key 'VND' are residing in the BAPI, where Webdynpro will call this BAPI to display the said amount with relates to it correct currency (in this case, currency is 'VND'), but what webdynpro displayed is 5,5000000.00, but not 55,000,000 as we want...

Can someone shed some light on the above?

Many thanks,

Patrick

1 REPLY 1
Read only

Former Member
0 Likes
321

Resolved.

The conversion of currency has been hardcoded in one of the methods, I have commented that lines out, and everything works fine.

Regards,

Patrick

Edited by: Patrick Teo on Mar 22, 2010 4:11 AM