cancel
Showing results for 
Search instead for 
Did you mean: 

currency reference problem of the RFC module

Former Member
0 Kudos

I develop in a Japanese environment, and use currency code JPY.

I extract the amount and the currency by the RFC module.

However, the amount is stored on the R/3 system in the form of "123.45".

When displaying it, it is necessary to be converted with "12,345" by the currency reference.

I do not understand whether it is possible to convert it with WebDynpro for java.

Please tell me.

Regards,

koo

Accepted Solutions (1)

Accepted Solutions (1)

ravindra_bollapalli2
Active Contributor
0 Kudos

hi ,

check this

/people/bharathwaj.ragothaman/blog/2007/03/10/formatting-in-webdynpro-java

i wll send some more

bvr

Former Member
0 Kudos

Hi,

Thank you for information.

I have reading this information.

However, it doesn't become a solution for the problem.

It explains my problem again.

There is an amount of money of Japan "12,345".

This amount of money is stored in DB of the R/3 system in the form of "123.45(JPY)".

When this amount of money is acquired by using the rfc module of WEBDYNPRO, "123.45(JPY)" can be acquired.

When the amount of money is output according to given information, it is displayed, "123".

(The currency code "JPY" doesn't treat the decimal. )

However, this is not a correct amount of money display. It is a method that I requests that is converted and displayed, "123.45" -> "12,345".

R/3 system DB : 123.45

RFC module acquisition : 123.45

displays : 123(This is not correct. )

Display for which I hope : 12,345

regards.

koo

Former Member
0 Kudos

Hi,

If you are doing this for custom application then another way is to return the currency formatted from your function module in R3. use a write amount to char_amount currency 'JPY' and that will give you a correct converted output.

Regards,

Krish

Answers (0)