Formula Variable decimal digits precision

Hi All,
I am using a formual variable checked for cumulated and digits to be 0.00. But with report output displays, decimal places upto 7 digits.
When I uncheck cumulated, it displays properly with two decimal digits.
Can you please throw some light on how to bring 2 decimal digit precision with checked for cumulated ?
Thanks,
Sri Arun Prian

Hi Arun,
As suggested by Akhan,Click on the KF and go to the display of KF and make the Decimals as 0.00.
Rgds
SVU

Similar Messages

  • Formula Variable decimal Places

    Dear All,
    Is there any way i can remove decimal places from Formula Variable / Type Number / Ready for Input ?
    Plz help ASAP.
    Regards,
    SS

    Is that you don't want the user to enter any decimal values for this variable???
    Then best way is to create a Formula Key Figure of type Customer Exit. then you can writ the code in I_STEP =3 whoich will do the validation and throw an error message in case of deciaml values.

  • Decimal places in formula variable

    Hi all,
    I have a formula variable, for an integer (num of days), ready for input, that by default has 5 decimal places in the selection screen (g.e. 5,00000). It is possible, and if so, where can I change the number of decimal places to show in that variable?
    Please advice

    In my case the formula variable is properly displaying the value without any extra decimal places.
    I have done the following settings.
    Variable Entry - Mandatory
    Ready for Input
    Dimension indicator - Number
    Default value - 95.
    When i execute the report i can see just 95.
    Don't know why it is showing extra decimal places?

  • Decimal places for formula variable

    Hello,
    I have created a formula variable of type manual entry and type number. I'm multiplying it to an amount. The problem is that the user is unable to enter a decimal place value.
    eg:
    cannot enter 0.5 or 0.05. the query regards it as 5 (converts 0.5 or 0.05 to 5)
    when i enter 5.1, it converts it to 51
    when i enter 51.11, it converts it to 5.111
    when i enter 51.111, it keeps it the same and does not change it.
    Is there a setting that i need to change in the query or the fomula variable? I need the variable to accept decimal values with out changing the decimal places.
    Regards,
    Sameer

    This was an issue with the number format setting for the user.
    His setting was 1.000.000,00 and he was trying to enter it in this format: 1,000,000.00
    Hence I noticed the fictional change in decinal places.
    Should have caught it sooner.
    Regards,
    Sameer

  • 15 int digits and 3 decimal digits number problem in CR for VS 2005

    Post Author: condeagustin
    CA Forum: Crystal Reports
    HiIm using the Crystal Reports that comes with VS 2005 and I'm having a problem showing a number with 15 int digits and 3 decimal digits. In my tests, for example I have a formula that only has this line of code:  356125478123456.251I want the report to show  356,125,478,123,456.251 but it shows  356,125,478,123,456.000Why does CR puts 000 when it has to be a 251!!! WHY?!!!! I have tried to put the number as a string and I have tried a lot of functions like Round, Truncate, ToText, CDbl, etc and it's always the same result. In the format object of that formula the decimals are 1.000 and the rounding is 0.001. And the following is the weirdest part:If, instead of 356125478123456.251 I put 56125478123456.251, CR shows 56,125,478,123,456.300If then I put  6125478123456.251 CR shows 6,125,478,123,456.250And then if I put 125478123456.251 CR SUCCESFULLY shows 125,478,123,456.251 That is the way I want it but with 15 int digits. It looks like CR only works with a maximum of 12 int digits, more than that, the decimals don't work. How can I fix this? Please help me!Kind regards,Agustín Conde 

    Post Author: Ken Wong
    CA Forum: Crystal Reports
    Hi Agustin,
    Crystal Reports uses signed doubles as its datatype for numbers.  A signed double on a 32 bit machine is represented by 8 bytes.  1 sign bit, 11 exponent bit, and 52 bit for the mantissa. This roughly corresponds to 15 digits of total precision in decimal; ie. it does not matter where your dot is. You have 15 digits before and after the decimal point combined.
    This behavior is pretty standard.  You should see similar behavior in applications such as excel.
    Hope this helps,
    Ken

  • Problem with the Formula variable

    Dear All,
    There is a need to convert INR values to USD values. Since my source table in r/3 is not having currency value stored i cant use currency translation type to achieve the same.
    So i am using formula variable to determine the Exchange rate.
    I have created the CKF with the following calculation = INR values / 'ZEXC_RT'.
    Here zexc_rt is a formula variable which is a customer exit and of type Number.
    Now in cmod i am writing a code to determine the value for this formula variable. But the problem is with data type of formula variable and tcurr table UKURS (Exchange rate) field. I have defined formula variable as Number and my UKURS field is of decimal data type because of which the currency conversion is not taking place.
    Here is my code below . Kindly suggest how can i achieve this.
    My logic is :- Whenever the user runs the report take the system date and determine the previous month. Then go to tcurr table and get the exchange rate which matches with the previous month date.
    WHEN 'ZEXC_RT'.
    *   IF I_STEP=2.
        CLEAR L_S_RANGE.
        DATA:  v_date(10).
        DATA:  v_rate type C.
        DATA: z_date(8).
        concatenate sy-datum+0(4) sy-datum+4(2) '01' into v_Date.
        v_date = v_date - 1.
        concatenate v_date+0(4) v_date+4(2) '01' into v_date.
    select SINGLE UKURS into v_rate from tcurr where GDATU = V_date
    and KURST ='M'.
        l_s_range-low = v_rate.
        l_s_range-opt = 'EQ'.
        l_s_range-sign = 'I'.
        APPEND l_s_range TO e_t_range.

    Hi Anup,
    I am not able to get the exact problem.
    CKF is not working means it is giving the INR Values or it is giving some random value.
    Please check your code first by writing a text program in se38 if you are able to read the value correctly from TCURR.
    Domain UKURS has a conversion routine EXCRT. You may require to use it to get the correct value.
    Once you get the right value in the program, you can use the same logic in your formula variable and you should get the correct values.
    Let me know if it helps.
    Regards,
    Gaurav

  • Infoset and formula variable

    Hello Gurus
    I have couple of questions:
    1) Using an Infoset, I want to do the following - Start with a Cube and do a left outer join with another ODS and in the same infoset do a left outer join between the Cube and an InfoObject. Is this possible?
    2) I have a keyfigure which is an attribute of a InfoObject and hence it cannot be a navigational attribute. So to use that keyfigure in the query, we are using a formula variable and populating that keyfigure as a replacement path. However, the values for the keyfigure are being rounded off in the query. for e.g. if the value of the keyfigure in the master data attribute is 21.84, it is being displayed as 22.00. What setting could I be missing. I tried everything in the keyfigure setting?
    Any help is appreciated.
    Thanks,
    Rishi

    Ajay ,i would still repeat ,its 0FISCPER and not )posting period ,data model do not have posting period itself as infoobject
    also for Sam,
    it uses 0DATE and i use 0FISCPER so that link do not help ,moreover they use the dimension ID = DATE i cannot use that as am not counting the date fdiff or number of days here
    thanks
    can any one give me precise soln ,be great

  • Formula variable user exit.

    Hello experts;
    I will provide max points for help with this.
    In query designer can I access a key figure from another cube and use it in a formula?
    I cannot use multi-cube in this solution so I was looking into creating a formula variable using a user exit to access a key figure stored in a different cube.
    Ex:
    I have a Tracings cube with customer and material cost information.
    I need to calculate the cost per patient for Absorbent material.
    I can get the customer cost for Absorbent material but the number of patients is stored in a different cube called Census information.
    Since the Census information is not related to a material (only customer) I cannot get the number of patients together with the cost of the absorbent material. I was hoping to access the Census information (number of patients) from the query calculating the cost per patient.
    Thanks
    Den

    I really don't see how you can implement it using exit variable even if you can read data from other cube in exit. If you still want to explore it, refer the following thread - How to read data from an InfoCube in BI 7.0?
    Why can't you build a multiprovider - these kind of requirements are precisely the reason why multiprovider is there (when you need information present in multiple infoproviders in the same report)

  • Reducing decimal digits

    Hi Experts!!
    I have simple doubt.
    I have a variable having 4 digits after decimals..
    I want it to store it  in a variable with 2 decimal digits only.
    How can I do this without much numerical manipulation.
    Thanks in advance..
    Prabhas

    Hi,
    declare a variable
    data temp type p decimals 2.
    temp = variable "(ur var with 4 deci places).
    write temp.
    rounding ll also be done automatically
    Cheers,
    Will.

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Error in creating Formula Variable

    Hi All:
    I'm having problems in creating formula variable. Trying to create FV on a characteristic using replacement path with attribute value , but the wierd part is it's not giving me any attributes it's just blank. Any help would be appreciated....
    Thanks,
    Manasa.

    Right click on the FM, create -> Characteristic -> attribute value -> but the attribute are not showing up.  This happens if the attribute is of key figure type. I was able to do this in another system (ASIA DEV) but now trying in Europe Dev.

  • Formula variable in Report painter

    Hi
    Normally when ever you create a formula varibale for year or period system will
    check the period and year from current system year and period(S001 and S002)
    I am looking for a solution where i can create variable which is independent of
    current year and period.
    Lets Say if i give 2006 and period 7(of 2006)system has to give results
    in the predefined columns like 2006 of period 7 and 2005 of period 7 and 2004 of period 7 and 2003 of period 7(I have 4 columns)
    Can any one tell me how to create this using the formual variable,which will allow
    me to select in the input screen any period and year and display the results  as per my own requirement.
    Thanks
    Lily

    Hi Ramachandra
    Sorry for late reply
    As per your reply,i am not still clear,can i put in more clear my question again
    Selection screen 
    Year-2006
    Period-6
    I have 5 columns ,can you specify me the formula for 5 columns in your reply.
    Column1- (it has to display 2nd  quarter of 2006)
    Column2-(it has to display 1nd  quarter of 2006)
    Column3-(it has to display 4nd  quarter of 2005)
    Column4-(it has to display 3nd  quarter of 2005)
    Column5-(it has to display 2nd  quarter of 2005)
    Pls specify me FYEAR and Period from and period to which formula variable i need
    to use,how many variables i need to create for this purpose.
    Keep in view that selction screen i can give 2006,or 2005 or 2007,but system has to display 5 quarters back data in in 5 columns.
    This is urgent,can you pls help.
    Thanks
    Lily

  • If condition in Formula variable

    Hi forum,
    Can anybody please help me write the formula below in formula variable.
    *If A >=0
    then
    result = (A/B100365)
    Else
    result = (A/B100365-1)
    Thanks in advance for the efforts.
    Regards,

    (A>=0)(A/B100365)+(A/B100365-1)
    do a formula check.
    Khaja

  • Default Value in Formula Variable - Inconsistent behaviour

    Hi,
    I am facing a very strange issue in a formula variable.
    I had created three formula variables with default values and the user (Power user who has the Bex access) was able to change the default value themselves for two of these variables.
    Now he wants to change all the three, so I have tried to check the issue and changed all the three for testing purpose.
    Now, he is unable to change any of them!!! Sad, now I cant even say that "You dont have the Auth to do so"
    Any clue? Anyone has faced similar issue.
    Any thoughts are highy welcome! Suddenly users wants to get this one URGENTLY, usually he used to access the report once in month. Now he wants to use the same once in half an hour
    We are on BI 7.0 with SP 24
    Any thoughts PLS
    Regards

    hi,
       probably you can refer to SAP Note 1413030 - SAPBWNews NW 7.x BW Add-On Frontend Patch 1300 - GUI 7.10 or maybe  SAP Note 1294382 - SAPBINews NW7.0  BI Add-On Frontend SP900 - GUI 7.1 that might help you in sorting out your problem, plus you can buy more time from the user as well
    regards
    laksh

  • Prompts issue and Formula variables.

    Hi,
    1. I have a variable in Bex report as Creation date, but when it comes to webi the default prompts comes as creation date(From) and Creation Date(To). Is there anyway to modify or delete these default prompts.
    2. In one Bex report , i have a formula variable purchase order, based on this only the report output(as a condition) is displayed.I think that the conditions are not transferred from bex to webi, because the webi output is standard for all values of the purchase order. Is there any way to delete the default purchase order prompt

    Hi
    Answer to Q1.
    There would be a Filters specified to prompts DATA as creation date(From) and Creation Date(To). You have to change the filter condition as REQIRED.
    Answer to Q2
    FORMULA variable is not transfer to WEBI. You have to define a NEW FORMULA in the WEBI Query Designer.
    Hope its a use ful info..
    Regards

Maybe you are looking for

  • JSP Deployment:Tomcat:Oracle Prepared Statement error

    I'm deploying my BC4J JSP application to Linux/Tomcat 4.0.1. The html and basic jsp (Query form display) work but whenever I try to hit the database (i.e. display a browse or execute a query), I get the following in the Browser window: Application Er

  • Can I address to the "Smith" family if I have a first name in the field

    Hi I am trying to make some labels for christmas cards. If I have a file: first name: Peter last name: Smith Can I address the label to say: The Smith Family? with address book? Thanks, Anne Z

  • Build essbase cube using Sql query.....

    Hi Team, Can we build dimensions as well as load data into essbase cubes using sql query generated from cognos cube. If so , please guide me the procedure

  • I updated my Apple ID, but need to update my icloud ID?

    How doe I update my ICloud account ID? I had to change internet providers, and was able to change my main Apple ID, but not my ICloud ID.

  • Carrier Update

    Along with iOS 4.0 2 downloaded and installed a new Rogers Carrier. Since then I have had poor cell phone reception and I have not been able to detect or connect to Wi-Fi networks even manually. Is there any way to retrieve my old carrier? I now have