Currency value conversion
In our SO, which is USD currency of net value, i would like to convert to local currency, how can i do that, thanks!
Hi..
Call the FM <b>CONVERT_TO_LOCAL_CURRENCY </b>
Pass the FOREIGN Currency USD To this FM
It will Return the Amount in Local Currency.
<b>Reward if Helpful.</b>
Similar Messages
-
How can i get currency values from flatfile to function module
Dear All,
I have to take currency values from flat file and i have to assign those flat file value to function module .
Eg: "Convert_to_local_currency". I need technical code how to calculate those amount in work area and how to assign those amount value function module.
I need sample program for currency conversion from flat file to function module. My requirement is based on flat file amount i have to calculate in work area and assign those work area to function module.
With Regards,
BaskaranHi Satish or Baskaran,
First conform in which format the flat file is present, as abhi mentioned if it is there in notepad
try to use F.M GUI_UPLOAD as shown below...
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\Desktop\rpf1.TXT'
TABLES
DATA_TAB = ITAB.
Now loop at ITAB Into Work_area and press the respect currency fields which you want and in the same way
if the file is in EXCEL format use F.M ALSM_EXCEL_TO_INTERNAL_TABLE
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = P_FNAME
i_begin_col = 1
i_begin_row = 1
TABLES
intern = ITAB
LOOP AT ITAB INTO WA.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
foreign_currency = wa-waers
local_currency = wa-waers
IMPORTING
local_amount = tvals-gross.
ENDIF.
endloop.
And as mentioned loop the records into work area and process the currenct field which is present in the
ITAB according to its field name. And make sure within the loop you call your function module.
Regards
VEnk@
Edited by: Venkat Reddy on Dec 9, 2009 5:51 PM -
How to apply unique currency values in the report?
Hi Guys,
I have a report showing that different currency values.I would like to have same currency values throught out the report.And one moew query i am also getting the zero's in the report so how i can supress zeros in the report?
ThanksHi,
For unique currency, go to RSCUR, give the currency translation type and click Display.
You will enter into Edit currency conversion type screen.
Go to currency tab screen and select the source currency from data record as you are getting multiple currencies, and in target currency select appropriate option as per your requirement.
Save it and come back to query designer, go to properties of that KF, you have a conversions tab. there select the conversion type and target currency.
And regarding suppressing zeros, goto properties of the query, click on Rows/ columns tab. Under this you will find the option to supress zeros and effect on rows and columns.
Hope this will help you.
Regards,
Praveen -
Right Align the Currency values in ALV report
Hi Friends,
I have developed a report and displayed the output using the ALV. I have columns for currency values in the output table.
The fields for currency values are character fields. The values in the table for display, is properly right aligned (default for currency values). But in the output, the currency values are left aligned.
Since I need blank lines in the output table after each entry, I have used the character fields in the output table so that I can clear them and append it to get the blank line.
Please suggest me to get the currency values right aligned.
Thanks in advance.try with this field in field catalog.
just(1) type c, " (R)ight (L)eft (C)ent.
for the currency field add this field too in field catalog. it will work. -
SSRS expression for difference between two currency values
Hi All;
I need to get the difference between two currency values
Below is my report
I need to get differene between Actual Income and Profile Income and this value should be in "£" In this example it should be £0.00
Any help much appreciated
Thanks
Pradnya07=sum(Fields!ProfileIncome.Value - Fields!ActualIncome.Value)
This could have either field first, but depends on which field is expected to be larger. You would then format the textbox to show in pounds.
HTH -
Display Currency Value of User POV for Entity & Value in Text Box (Header)
I am looking for a function in Financial Reporting Studio that operates the same as the HsCurrency function in Smart View. This would allow batch reports displaying the currency value of the User POV for Entity based on the User POV for Value. Right now I have to have Member Lists for separate reports and different currencies as I am only able to display the Value dimension in the heading of a given report. Users will not be certain of the currency if the Value dimension is <Entity Curr Total>.
I tried the HFMCurrency text function, however the entity is not defined in a Row / Column / Page reference as the entity is determined by the User's Point of View.
Is there a way to display the currency value of a User's Point of View for Entity based on the User's Point of View for Value?
Reference from Oracle Hyperion Smart View for Office, Fusion Edition, User's Guide:
HsCurrency
Data sources: Financial Management, Hyperion Enterprise
HsCurrency retrieves the currency value of the specified dimension member. Entity and Value are the only valid members for the HsCurrency function.
Syntax
HsCurrency (“Connection,Entity;Value”)
Example
In this example, HsCurrency retrieves the entity currency where the currency for the East Sales entity is USD, and the currency for the UKSales entity is GBR. The EastSales entity displays USD, and UKSales displays GBR.
HsCurrency(“Comma”,”Entity#EastRegion.EastSales;Value#<Entity Currency>.”)
HsCurrency(“Comma”,”Entity#EastRegion.UKSales;Value#<Entity Currency>.”)Question answered in My Oracle Support Community - Hyperion Reporting Products:
communities.oracle.com -
Currency value in BAPI_ACC_DOCUMENT_POST
Hi All;
in order to post payments i use BAPI_ACC_DOCUMENT_POST. There are many payment lines (posting key 40) and one vendor line (posting key 31). i have filled in tables header, account_gl, accounts_payable and currency-amount accordingly. When i run the function it issues an error stating 'use another currency other than ..'. I have tried with different currencies but the error keeps coming. I pass the currency value in account payable and currency amount tables. how can i sole this problem, is it smt. with FI customising?
Thx
aliHi,
here is my code:
clear header.
header-comp_code = '1100'.
header-username = sy-uname.
header-bus_act = 'RFBU'.
header-pstng_date = budat."kyt_tarih.
header-doc_date = bldat."g_tarih.
header-doc_type = 'SA'.
append header.
clear vendor.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lifnr
IMPORTING
output = lifnr.
vendor-vendor_no = lifnr.
vendor-comp_code = '1100'.
vendor-itemno_acc = sayac.
vendor-tax_code = mwskz.
vendor-pymt_amt = 0 - toplam.
vendor-pymt_cur = waers."'TRY'.
vendor-pymt_cur_iso = waers.
append vendor.
clear tax.
tax-itemno_acc = sayac.
tax-gl_account = zco_benzin_match-hkont.
tax-tax_code = mwskz.
append tax.
clear amount.
amount-itemno_acc = sayac.
amount-currency = waers. "'TRY'.
amount-currency_iso = waers.
amount-curr_type = '00'.
amount-amt_doccur = 0 - toplam.
amount-amt_base = 0 - toplam.
append amount.
loop at itab.
sayac = sy-tabix.
clear accountgl.
clear tax.
clear amount.
clear zco_benzin_match.
if itab-kostl co numbers.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = itab-kostl
IMPORTING
output = itab-kostl.
endif.
select single * from zco_benzin_match where kostl = itab-kostl.
accountgl-itemno_acc = sayac.
accountgl-comp_code = '1100'.
accountgl-pstng_date = budat."kyt_tarih.
accountgl-doc_type = 'SA'.
accountgl-gl_account = zco_benzin_match-hkont.
accountgl-vendor_no = lifnr.
accountgl-tax_code = mwskz.
accountgl-orderid = itab-plaka.
accountgl-item_text = itab-tip.
append accountgl.
tax-itemno_acc = sayac.
tax-gl_account = zco_benzin_match-hkont.
tax-tax_code = mwskz.
append tax.
it_accounttax-acct_key = 'VST'.
clear amount.
amount-itemno_acc = sayac.
amount-currency = waers. "'TRY'.
amount-currency_iso = waers.
amount-curr_type = '00'.
amount-amt_doccur = itab-wrbtr.
amount-amt_base = itab-wrbtr.
append amount.
if not zco_benzin_match-hkont is initial.
move itab-wrbtr to tutar.
translate tutar using '.,'.
endif.
endloop.
if not test is initial.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
EXPORTING
DOCUMENTHEADER = header
CUSTOMERCPD =
CONTRACTHEADER =
TABLES
ACCOUNTGL = accountgl
ACCOUNTRECEIVABLE =
ACCOUNTPAYABLE = vendor
ACCOUNTTAX = tax
CURRENCYAMOUNT = amount
CRITERIA =
VALUEFIELD =
EXTENSION1 =
RETURN = messages
PAYMENTCARD =
CONTRACTITEM =
EXTENSION2 =
REALESTATE =
ACCOUNTWT =
else.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
DOCUMENTHEADER = header
CUSTOMERCPD =
CONTRACTHEADER =
TABLES
ACCOUNTGL = accountgl
ACCOUNTRECEIVABLE =
ACCOUNTPAYABLE = vendor
ACCOUNTTAX = tax
CURRENCYAMOUNT = amount
CRITERIA =
VALUEFIELD =
EXTENSION1 =
RETURN = messages
PAYMENTCARD =
CONTRACTITEM =
EXTENSION2 =
REALESTATE =
ACCOUNTWT =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
return = messages.
endif.
Thx .
Ali. -
Exported currency values are not seen as numbers
Hee Guys,
I've asked this question a couple of weeks before but I didn't really get an answer. I am astounded that I'm the only one that has this problem but our application mostly works whith currency values. And our reports revolve around these numbers. But whenever I download these reports to excel the currency fields are seen as text and I cannot use any formula on this data. Even after I remove the currency sign and change the number into a number field. I just don't get it!
We need to process the data from our reports and use calculations to compare the data with data which is not in CRM On demand. How do I do this when I can't use the reportingdata?
Anyone any thoughts? The only workaround I found is by downloading as .CSV and then placing 'text to collumns' but this is very time consuming
Thanks in advance!Hi,
is it possible to show the report currency (=user currency) in the column header? I tried to use VALUEOF(NQ_SESSION.USER_DEFAULT_CURCY) in some way, but failed.
We do not want the currency symbol in the column (because of excel export), but somewhere the currency should be written...
Kind regards
Michael -
Creating Value Conversion Filters in Import Manager
Hello.
I am trying to create some Value Conversion Filters that change street suffixes to abbreviations. Such as Lane to Ln.
How would I go about doing this? Am I supposed to use the find/replace Conversion Filter?
Points awarded to any helpful answers / helpful guides (besides the Import Manager Guide) <--- I have this already
Thanks,
NicholeHi,
Yes u can use the Find/Replace Conversion filter property in Import manager.
In this u can write the word u want to change and then write the req format.
But the conversions are permanent while if u do this in MDM data manager under transformations they are temporary.i.e they will not be syndicated.
Hope this may help u.
Rgds]
Ankit
Edited by: ankit jain on Aug 6, 2008 5:06 AM -
Display parallel currency values with KSB1.
Hello,
My local and CO currencies are both set to USD. I have a hard currency of MXN. With KSB1, if the document is entered in local currency (USD), is there a way to display the corresponding hard currency value?
If the document is posted in hard currency, I have no trouble displaying it in USD (local currency) by bringing in the field Val. in Rep. Curr.
Thank youExactly is what i said.
Your example
USD is Cotrolling aea currency
MXN is Transaction currency
As the MXN is Transaction currency here, you can bale to see the values.
but normally, the MXN is Hard currency which is 3rd currency.
So, the report KOB1 shows you only
CO Area currency
Transaction currnncy and
Object currency, which could be your local corrnecy
Check the below reports
S_ALR_87013010 - Orders: Breakdown by Period
S_ALR_87012993 - Orders: Actual/Plan/Variance
S_ALR_87012997 - List: Cost Elements by Order
S_ALR_87013002 - Orders: Quarterly Comparison - Actual
S_ALR_87013015 - List: Actual Debit/Credit
Thanks -
How to convert a string to a currency value ? getting a dump with exception
Hi,
I am getting a exception not caught in CX_SY_CONVERSION_NO_NUMBER.
I am trying to convert a string value with ',' to a currency value.
I tried using Replace and Condense. But the error still persists.
Is there a FM or a casting that I can use?
Cheers
KiranHi,
Sorry I got my question wrong. I have a problem - that when I'm trying to pass a value from a string to a currency field.
But, the currency field is a field symbol.
so, I have
data abc type string.
abc = "5345"
<curr_val> = abc.
now <curr_val> = 0.000
Please suggest. -
Hi everybody,
i need a small help reg value conversion.
for suppose:
1>a = 1.234.567,89 in sap format
we need to convert this to a = 1,234,567.89 into flat file.
2>date format is showing as DD.MM.YYYY in sap format
we need to convert this to MM/DD/YYYY
(no matter which user is used to run the program)
please give me reply.Hi Sunil,
To dispaly the Date form System Format to User Format the FM 'CONVERT_DATE_TO_EXTERNAL' is used.
Consider this code.
REPORT zztest_arun_2.
DATA: e_date(10) type c VALUE '2/2/2006',
i_date(10).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
date_external = e_date
IMPORTING
date_internal = i_date
EXCEPTIONS
date_external_is_invalid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
WRITE : / 'CONVERT_DATE_TO_INTERNAL',
/ 'My Date:' , e_date ,
'Conv Date:', i_date.
skip 2.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = sy-datum
IMPORTING
DATE_EXTERNAL = e_date
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE : / 'CONVERT_DATE_TO_EXTERNAL',
/ 'My Date:' , sy-datum,
'Conv Date:', e_date.
Thanks,
reward If Helpful. -
How to display currency values in indian format
hi all,
When I am displaying Currency values as output , those are displaying in U.S. format (ie.1,234,000.00) , But I need to display those in Indian Rupee format (i.e 12,34,000.00).
Plz any one can help me that how to display this
thank you,
regards
HanumaHi Hanuma kumar, please try this code.
REPORT ZAMOUNT_CONVERSION.
DATA : RESULT1(20).
PARAMETERS : NUM TYPE P DECIMALS 2.
DATA : num2 type STRING.
DATA : col_amt(20) type n,"15
col_b type i,
num_1(20) type C,"15
Length type i.
num_1 = num.
write : 'default format :',num.
uline.
skip.
IF ( num >= 999999999 ).
write num_1 using edit mask 'RR__,__,__,__,______' to col_amt.
CONDENSE col_amt.
length = STRLEN( col_amt ).
if length = 16.
REPLACE first OCCURRENCE OF ',' in col_amt with space.
write :/'amount indian format:',col_amt.
else.
write :/'amount indian format:',col_amt.
endif.
ELSEIF NUM < 999999999 AND NUM >= 9999999.
write num_1 using edit mask 'RR__,__,__,______' to col_amt.
condense col_amt .
length = STRLEN( COL_AMT ).
if length = 13.
REPLACE first OCCURRENCE OF ',' in col_amt with space.
write :/'amount indian format:',col_amt.
else.
write :/'amount indian format:',col_amt.
endif.
ELSEIF NUM < 9999999 AND NUM >= 99999.
write num_1 using edit mask 'RR__,__,______' to col_amt.
condense col_amt .
length = STRLEN( COL_AMT ).
write :/'amount indian format:',col_amt.
ELSEIF NUM < 99999.
data : dumy(10) type c.
dumy = num .
CONDENSE dumy.
length = STRLEN( dumy ).
if length <= 6.
write :/'amount indian format:',num.
else.
write num_1 using edit mask 'RR__,______' to col_amt.
write :/'amount indian format:',col_amt.
endif.
ENDIF.
uline. -
Set currency value of pricing element in condition tab - VA21
Hi GURU,
Would you please help to identify the way to set the following currency values for pricing element in condition tab when creating system quote by va21:
Rate unit (RV61A-KOEIN)
SD document currency (KOMK - WAERK)
Thanks in advanced,
Regards,
ThangSolved
-
Dear all,
Is it possible to extract the exchange rate from a user-defined field in the row details of an invoice document to compute for the system currency value of the invoice journal entries, instead of using the rate maintained in the Exchange Rates and Indexes table? Please refer to the desired journal entries below.
To Illustrate:
Exchange Rate Maintained in SAP B1 Table = 44.20
Basic Initialization Settings:
Local Currency = PHP
System Currency = USD
Exchange Rate Maintained in User-defined Field (INV1) = 44.00
Invoice Details:
Transaction Currency = Local Currency (PHP)
BP Currency = Multicurrency
Doc Total = PHP 30,000
Journal Entries Posted from AR Invoice:
Debit Debit (System Currency)
BP Control Account PHP 30000 678.73 (PHP 30000/ 44.20)
_Desired Journal Entries to be Posted from AR Invoice:_
Debit Debit (System Currency)
BP Control Account PHP 30000 681.82 (PHP 30000 /44 )
Your feedback shall be very much appreciated.
Thank you,
DonaIt may be possible to achieve this using a crystal report to recalculate the vaues. My question though is why is this necessary?
Maybe you are looking for
-
I have an Ipod Classic, 80 gig. It's over 3 years old. I have a Samsung SensR410 laptop, also over 3 years old, running Vista Home Premium 32bit but '64bit Compatible' I had iTunes 8. One day my Ipod stopped working. I formatted it. I uninstalled iTi
-
Pdf file recovery from over written new save as file
I over wrote a file and need to recover the original file that was over written with "save as".
-
Oracle in Starting (9i)
Hi I delete a datafile of a tablespace manually (I dont need my database any more so delete a heavy datafile in a tablespace). No my database is not connecting. And giving the following errors. Command prompt ORA-01157 : cant identify / lock datafil
-
I can't find my lost bookmarks or add new ones
I can't find my lost bookmarks having upgraded to Firefox 3.6 and when I try to add a bookmark I get a message that the server is busy. I have tried all the options under help.
-
Before the 5.0 update, I was able to use my iPhone 4 to play music on my PC via my wireless network. I'd click Music, more, then my Shared Library would be there. I've looked all around the internet, checked every setting I can think of, changed ever