2011 Nov 17 11:10 AM
Hi dudes,
I'm using following statement in the report
l_steuer_ep-zzfwgross_SGD = ( ep-zzfwgross ) / ( w_exrate-EXCH_RATE ) .
where EP-ZZFWGROSS = 30694.30-
and W_EXRATE-EXCH_RATE = 0.77851
Resultant value definitely will be greater than 30694 logically thinking...
but i'm getting 0.39- .
Both zzfwgross as well as zzfwgross_sgd are Same Data Types. I dont know why its happening...
My Actual requirement is to convert Currency which is in USD(zzfwgross) into SGD (zzfwgross_sgd)
<removed by moderator>
Regards,
Annamalai.
Edited by: Thomas Zloch on Nov 17, 2011 1:20 PM
2011 Nov 17 11:36 AM
Hi,
Make sure the 'Fixed point arithmetic' checkbox is checked in attributes of program.
However, this checkbox is visible for type 'Executable program' not for include program.
Regards,
Santosh
Hi dudes,
I'm using following statement in the report
l_steuer_ep-zzfwgross_SGD = ( ep-zzfwgross ) / ( w_exrate-EXCH_RATE ) .
where EP-ZZFWGROSS = 30694.30-
and W_EXRATE-EXCH_RATE = 0.77851
Resultant value definitely will be greater than 30694 logically thinking...
but i'm getting 0.39- .
Both zzfwgross as well as zzfwgross_sgd are Same Data Types. I dont know why its happening...
My Actual requirement is to convert Currency which is in USD(zzfwgross) into SGD (zzfwgross_sgd)
<removed by moderator>
Regards,
Annamalai.
Edited by: Thomas Zloch on Nov 17, 2011 1:20 PM
2011 Nov 17 11:23 AM
2011 Nov 17 11:36 AM
Hi,
Make sure the 'Fixed point arithmetic' checkbox is checked in attributes of program.
However, this checkbox is visible for type 'Executable program' not for include program.
Regards,
Santosh
2011 Nov 17 11:38 AM
Hi AnnaMalai(Brother Mountain)
-(is that your name..?? Pls forgive me if wrong ..;-) )
If you want to convert to USD to SGD, you need not to use formulas,
there will be many Functional Modules available to convert,
For ex: CONVERT_TO_FOREIGN_CURRENCY
you can use these FMs to convert the currencies, it would be the best option..
2011 Nov 17 12:02 PM
Hi dudes,
I didnt check that Fixed Point Arithmetic option in the Report.
After checking it works ... Thank u so much kesav, Santhosh and Playsuji....
Regards,
Annamalai.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |