We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Amount in FM : CONVERT_TO_LOCAL_CURRENCY

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from Chidori0127 on Oct 25 at 8:22 PM
Thank you very much for your kind advice!
Unfortunately I can't get the source code.
But my trouble is solved by your advice.

My questions is ...
Execute FM CONVERT_TO_LOCAL_CURRENCY in SE37 and I get the following result.
1.00 USD -> 115 JPY
1.00 USD -> 120GBP
JPY looks fine, but GBP must be 1.20, not 120.
But it is because of parameter type.
If I execute FM in SE37, the foreign_amount and local_amount has CHAR(200).
So the result is SAP internal format, but it looks external format because of lack of comma.

In SAP standard program, the amount is transported with internal format.
So I should use internal format in FM CONVERT_TO_LOCAL_CURRENCY,
and I need to chagne external format with CURRENCY_AMOUNT_SAP_TO_IDOC if necessary.
Is it right?

---------------Original Message---------------
From: Chidori0127
Sent: Thursday, October 25, 2012 4:50 AM
Subject: Amount in FM : CONVERT_TO_LOCAL_CURRENCY

Hi experts,

Now I'm facing a trouble with converting foreign amount into local amount.
I use function module CONVERT_TO_LOCAL_CURRENCY but the result looks like sometimes SAP internal format, sometimes external format.
Should I set 'FOREIGN_AMOUNT' in import parameter with SAP internal format or external format?
'LOCAL_AMOUNT' in export parameter is internal/external format?

Your kind advice will be really appreciated!

Best regards,
Yamashita

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
Chidori0127  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language