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

Korean Currency problem

Former Member
0 Likes
2,430

Hi All,

I am having peculiar problem with Korean currency.we use Fd32 for customer credit management.while we give the credit limit like ex : 50,000,000 KRW it stored in the table KNKK-KLIMK the value is 500,000.00

when i fetch the value from the table it always give two decimals short.how to rectify this issue.The Currency value which have KRW having this problem

5 REPLIES 5
Read only

Former Member
0 Likes
1,138

Hi

Even i have faced the problem. whenever u use KRW, multiply the value that you get by 100.

regards,

ramya

Read only

0 Likes
1,138

HI Thanks for u answer,

I already did the multiplication with 100 in my reports.But this is not correct to Solve the issue right. Bz each and every time we have to hard code this value in reports and forms.Is there we have to do some alteration in configuration side ?.....

Read only

0 Likes
1,138

Hi

U don't need to multiply it, but only to use the right statament:

* Get Area data:
SELECT SINGLE * FROM T014 WHERE KKBER = <KKBER>.

* Get customer data
SELECT SINGLE * FROM KNKK WHERE KUNNR = <KUNNR>
                                                       AND KKBER = <KKBER>.

* Print the value
WRITE KNKK-KLIMK CURRENCY  T014-WAERS.

That's is valid for report and but for form too.

So give us more infromation about your issue

Max

Read only

Former Member
0 Likes
1,138

Hello

If you want write this value in report, try this:


write: KNKK-KLIMK CURRENCY 'KRW'.

It may help you ...

Read only

Former Member
0 Likes
1,138

Hi JJ

U should check the table TCURX when it's defined how many decimals a currency can have.

If you can't find the currency there, it means it can have 2 decimals.

Now if you find KRW in TCURX u should see it's defined without decimal

The most fields with an amount have 2 decimals (like KNKK-KLIMK) and SAP always tries to use all available space.

If you have a currency without decimals and you've to store in a field with 2 decimals, that means the decimals would be useless, in this situation the system will try to use them, how? Dividing the amount:

So if you have 50.000.010 KRW, the system before saving it, divide it for 100, that's means it stored 500.000,10 in this way it can use the decimals of the field.

In a ABAP LIST you need to use the statamanent:

WRITE KNKK-KLIMK CURRENCY <CURRENCY>

in order to see the right value

In a dialog screen u need to indicate the refernce currency field in order to see and store the value in the correct way.

Max