Currency figure with 5 decimals
is it possible to load (from a flat file) currency figures with 5 decimal places? The figures come in various currencies and so need to be a CURR but for me it seems that all I can see is 2 decimals.
Is there a way to do this?
Will,
There are two options:
Option 1>Select Data-Type as FLTP rather than CURR on Type/unit tab of Key Figure creation.
This can only be set when you create a key-figure, you can't change it afterwards
Or
Option 2 >
Remdelling in BI7.0:
you can explore is through remodelling.
create a new key-figure and write a remodelling rule for replacing your old key-figure with new keyfigure.
You will have to manage the behaviour of how the data gets copied from old to new key-figure in customer exit.
Similar Messages
-
Custom Table Currency field with 5 decimals
Hello,
I have created a custom table and it has a field for 'US Plan Cost'. The users wanted it with 5 Decimals. I have created a custom domain and custom data element of DEC Type with 5 Decimals.
Domain: ZCOST: Data Type: DEC, No. of Characters: 11, Decimal Places: 5.
However When I am trying to create entries in the table though, it's giving me error: Input must be in the format _____,_____,_____,_____~._____
The entry that I am creating is: 1.23450.
I dont know what went wrong? Can anybody please help me?
Thanks Much.Are you doing this with SM30? or from a program? If a program, be sure your data value is precisely '1.23450'. It sounds like you're inputting something else...
Or, post code? -
Hi,
For pricing reason, I need to define 5 decimals in some currencies (USD, ARS, EUR and DEM). I was reading some information about it, and the solution I found is to create one Z currency for each estandar currency (USDN, EURN, AR5 and DEM5).
I am not sure about the problem this procedure can cause in the system. Suppose that the local currency is USD, so I will have the SD invoice in USDN. The document will be managed as a document in foreing currency. I wondering if I will also have rounding differences in the cIearing document, and for some report I will have to adapt the information.
Does anyone have implemented this solution?
Which problems can cause?
Any recomendation about that?
Thanks,
CeciliaHi,
check the following threads:
Currency in 5 decimal places.
Custom Table Currency field with 5 decimals
Any changes you going to made in OY04 is affecting cross clients.
It is NOT recommended that when postings have already been made, that a
change in the currency be done, as amounts posted can become invalid or
incorrect as a result which is most critical in production environment.
The decimal places setting in OY04 is limited to 5. It is not possible to set more decimal places in standard SAP.
Technial explanation is also described on note 434349, 137626 and 126857
Hope this was helpful for you.
Regards,
Cristiano -
Hi !
i need to manage prices with 3 decimals and not 2 only. So i think i will set customising (set decimal places for currencies) in order to change all currencies decimal defined on 2 decimals.
Is there a risk to change this customising ?
Thanks
Jakhi,
i do not think there will be any problem when change the currency decimals from 2 to 3.
however if there is problem then ucreate ANOTHER KEYFIGURE AND WITH THREE DECIMALS PLACES.AND USE IT
REGARDS -
Currency field with Decimals in ALV
Hi,
Im having a problem with display of currency field wityh decimals.
My currency field is declared as type dmbtr ( whis is currency field data element in standard).
I have some amount say 1589.00 which is Korean currency. But this Korean currency doesnt have any decimals.
(My source field is always 2 decimals irrecpective of curency. It will store as below,
if value 100 JPY--> TABLE STORE 100.00
200 SGD --.> 200.00
500 KRW --> 500.00
sO MY source field always maintained with 2 decimals)
In alv im using the currency field so that it displays the correct decimals.
wa_fcat-cfieldname = 'WAERS'.
wa_fcat-ctabname = 'IT_FINAL_ALV'.
wa_fcat-datatype = 'CURR'.
Now IN alv it displays 158,900 which is not correct.
My requirement is I have display this value as 1589 for Korean currency(as it doesnt have any decimals)
( I observed that the value is always stored with 2 decimals in database field)
if value 1589.00 and output currency is JPY(japan) IT HAS TO Display 1589.000.
Can anybody give any hint..?
Message was edited by:
agrud agrudplease try like this it should work..
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-do_sum = 'X'. "Display column total
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
reward points if it is usefull .....
Girish -
Currencies with no decimals in SAP R/3
What are the list of countries in R/3 which do not have decimals in their currencies?
I know SAP does not support for JPY.In the DB, SAP stores all amount values with 2 decimal places. But when SAP reads it, it interprets it based on the currency associated with the amount field.
Try the FM BAPI_CURRENCY_CONV_TO_EXTERNAL. Pass the amount obtained from DB and the currency. This will give you back the actual interpreted value.
Check the TCURX table for the currencies with other than 2 decimal places.
Hope this helps.
Thanks,
Balaji -
Display MENGE field with no decimals in smartfroms
Hi Experts,
I want to print MSEG-MENGE field with no decimals in smartforms , how do i declare this field,
I have also declared this field in global defination in quantity/currency field...
But i am unable to get the output..
I tried using &mseg-menge(13.0)& but i get an error in my program stating formating is wrong.
Thanks In Advance.
Ashwin.write a code to display menge value.
data: l_menge type i,
l_menge2 type string.
move: w_bseg-menge to l_menge.
move: l_menge to l_menge2.
condense l_menge2. -
Currency translation with user defined exchange rates in a BEx report
Hi guys,
our business department requests a new functionality in our BW system. They want to simulate a currency translation in a BEX report. But this currency translation should be so flexible, that the user can change the exchange rates directly in the report.
For example: The report should show a list of all our local company revenues. In the first column the plan revenues will be shown in the local currency (each company has its own local currency: USA->USD; Japan->YPN, Great Britain->GBP and so on). This revenues comes from a normal infoprovider, loaded via flat-file.
In the second column the user should be able to enter or change a plan currency rate. The entered exchange rates should be stored in BW for a next use. They won't maintain the rates directly in TCURR, because this rates are only for simulation use !
In the third column the translated Revenues in Euro currency has to be shown under the use of the exchange rates from the second column.
I investigated a lot of time in the SAP help and here in the SDN, but I didn't find any solution to realize this. Is there generally a possibility to make a currency translation with exchange rates out of the TCURR? Would it be an option to use the integrated planning function of BW? Or is this requirement to far away for an simple implementation in SAP BI ?
I hope, someone of you has also fixed a similar problem or has a good inspiration.
Thank you in advance.
Thomasthanks for the prompt reply!
Unfortunately, exchange rates are not a part of my cube. They are held in different tables, and referenced depending on what kind of exchange rates I need to be looking at (average rates, daily, planning etc.). The only way for me, at the moment, to know which rates have been used is to go to query global view, and look at the type of conversion, and then try to figure things out. Plus there can be a different key date used in the query, which makes things more complicated.
Anyway, it was worth asking
Thanks again. -
Retrieve hard currency figures from SKC1A
Hi,
I have an issue that has been bothering me for a while. I need to be able to get hard currency figures from SKC1A. I am using logical database SDF, with no variant of the selection screen. For functionality reasons, I have added the currency key field (CURTP) as a SELECT-OPTION to the selection screen. To get data from SKC1A I use
Get skc1a.
CHECK SELECT-OPTIONS.
In addition to this, I am trying to manipulate the SD_CURTP parameter that seems to control the currency key selection like this:
SD_CURTP = s_curtp. " s_curtp is the SELECT-OPTION value.
So my code looks like this:
SD_CURTP = s_curtp. " s_curtp is the SELECT-OPTION value.
Get skc1a.
CHECK SELECT-OPTIONS.
I have successfully managed to do the same manipulation with SD_STIDA previously (however, not in this program), so I do not understand why it should not work in the same way with SD_CURTP.
However, this seems to have no effect on the currency type that is returned from SKC1A. When I select local currency in the selection field (in our config that value is '10'), I get the correct figures, but when I select hard currency (40), I get only 0's. It seems to be that no records are returned from get Get statement into my internal table storing the result.
Does anyone have any bright ideas on how to get the hard currency figures from SKC1A?
Help is greatly appreciated!
Regards,
Thomas
Message was edited by: Thomas Kjelsrud
Message was edited by: Thomas KjelsrudHi Andreas.
You mean like this?
CALL FUNCTION 'READ_SKC1C'
EXPORTING
xbukrs = SD_BUKRS[]
xgjahr = sd_gjahr
xgsber =
xrtcur = s_curtp-low
xsaknr = SD_SAKNR[]
IMPORTING
XSKC1C = i_incoming "internal table to store result
EXCEPTIONS
KEY_INCOMPLETE = 1
NOT_AUTHORIZED = 2
NOT_FOUND = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Display Currency symbol with value in ALV Report
Hi Experts,
I need to display currency symbol with value in ALV Report like if currency type is dollar then $200.
Here I am using field catalog type slis_t_fieldcat_alv and suing field merge catalog FM: 'REUSE_ALV_FIELDCATALOG_MERGE'
I tried like this
IF <fs_fieldcat>-fieldname = 'STPRS'.
<fs_fieldcat>-seltext_s = 'Std Cost '.
<fs_fieldcat>-seltext_m = 'Std Cost'.
<fs_fieldcat>-seltext_l = 'Std Cost '
<fs_fieldcat>-tabname = 'MBEW'.
<fs_fieldcat>-ctabname = 'T001'.
<fs_fieldcat>-cfieldname ='WAERS'.
<fs_fieldcat>-datatype = 'CURR'.
ENDIF.
Please any one can suggest the solution for this.
Advance Thanks.
Regards,
Bala AchariHİ,
Check this link.
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=24379571
Take care.
Çağatay -
Combine two reports in query designer using key figure with sap exit
Hi experts,
i want to combine two reports in query designer using key figure with sap exit
in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
to calculate due and not due in two columns
in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
now i have requirement like this
not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
or
not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
thank youHi Dirk,
you perhaps know my requirement,
for the management to make used in one report,
we have in reporting finacials Ehp3.
Vendor Due Date Analysis - which show due, not due
Vendor Overdue Analysis - show only due and analysis in time grid frame
i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
krish... -
Add new key figure with characteristics in report painter
Hi expert,
I am create a new report painter in GRR2 under report group 8A2 (EC-PCA: Standard Reports) and i would like to create a report show on G/L amount with segment.
When i click on first column to assign "key figure with characteristics" i am not able to find characteristics "segment".
Please kindly advice how to create in new characteristics in report painter?
Thanks.
p/s : profit center number is same with segment number
regards,
ng chong chuanHi,
"segment" is not a characteristic of classical profit-center accounting (libraries 8A*). Its a New GL characteristic, thus create a report painter report for New GL library.
best regards, Christian -
In Report Builder 3.0, I have the following custom code entered:
Public Function SafeDivide(Numerator as String, Denominator as String) as String
Try
If Numerator = “” or Denominator = “” then
Return “-“
End if
If Numerator = “-“ or Denominator = “-“ then
Return “-“
End If
If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
Return “-“
End if
If IsNothing(Numerator) or IsNothing(Denominator) then
Return "-"
End if
Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
Catch
Return "-"
End Try
End Function
I call the custom code in the cell with the following equation:
=Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
I have the format for the cell set to 0.00%, but it’s not being followed.
I want the result to be formatted as a Percentage, but instead I get values like:
-78.9473684210
80
300
-100
I have the format for the cell set to 0.00%, but it’s not being followed.
How do I do use the custom code and format for a percentage with 2 decimals?Hi AngP,
After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
compared.
To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
BackgroundColor:
=iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Key figure with pre-calculated aggregation
Hello,
I have to model a key figure with a pre-calculated aggregation, that is, soruce flat files contain explicit values for months, quarters, halfyears and years. The key figure is a percentage (service quality) and the corresponding company department provides me with results for all aggregation levels.
I think that this case can be modeled with one InfoCube for each aggregation level and a Multicube but I have to create a high number of InfoCubes (aprox. 180).
I can get the formula that department uses, but it's possible on BW to change standard aggregation (SUM, MAX, MIN)?
Thanks in advance and regards,
Alberto Garcia.Hi Alberto,
One of the ways of doing it could be -
add another field (char) to your cube called at "value Type" & assign different values to it depending upon the time value.
say Monthly - value type 1
Querter - value type 2
& so on ...
keep filling the same key figure.
at the time of reporting restrict your key figure accordingly with the value type. ( say need only montly key figure value restrict value type to "1")
hope it helps.
VC -
Hello,
Please, Is it possible to create a VAT code with 4 decimals? (exe: 9,5234%)
And how can I customize it ?
Thanks,HI,
VAT code is allow only 3 decimals only.
currently there is no solution for 4 decimals as per standard design.
Sorry that we could not provide a more positive answer
Reg
Madhu M
Maybe you are looking for
-
Solaris 8 Container in Solaris 10 Zone
Hi All, one of our customers wants to run Solaris 8 with Oracle 8.1.7 in a BrandZ Zone. Does anybody have an idea about how stable Solaris 8 is in a Zone environment? Are there any known issues with Solaris 8 running in a Zone? Since Solaris 8 is End
-
Use secondary screen as in iMovie 09/export full quality
1. Is it possible to use a secondary screen to view the video preview of the video I'm working on a secondary screen, while viewing the time line and the rest of the tools on my laptops internal screen as you can in iMovie 09? 2. When exporting in fu
-
Adobe 'Photoshop Elements 10' and Mountain Lion
After Mountain Lion install which was without any error or problem, loading Photoshop Elements 10 results in crash of Photoshop after a second or two of apparent satisfactory program load. Other Adobe programs function properly. Is this a problem fo
-
Building Installer Crashes Developement System LV2014SP1
Dear Community I have again a major problem which can not be reproduced up to now. Hopefully somebody has an idea. I have a large project (including some LV classes, dll Calls (Hdf5), and Network shared Variables) which was fine since about one mont
-
311 mvt should not genearte Inspection lot in production
Hi, I have strange issue in QM: In quality When I am doing stock transfer with mvt 311, no Insp lots are getting generated, where as in Production When I am doing stock transfer with mvt 311, Insp lots are getting generated. I have checked Settings f