Rounding Currency Value

Hello,
I would like to round the currency values like $123.20  to $123.00
and
$123.58 to $124.00
How can we do this in BI?
Thanks

Hi Roshan,
In the query designer in the KF properties set decimals to '0'. This will display 103.58 as 104 and 103.23 as 103.
Regards
Kumar

Similar Messages

  • Rounding off currency value

    Hi all,
           Is there a function module to round off the currency value to nearest 0.05 , ie. if the currency value is 10.63, it should be rounded off to 10.65 and when it is 10.68, it should be rounded off to 10.70?
          If yes, could you please let me know?
          Any help in this regard is appreciated.
    Regards,
    Partha.

    hi,
    try this out.here is the sample program.
    pl look into my modified program,
    i am assuming your requirement is like
    if the last digit in your value is < 5. it should be rounded to 5.
      like 10.23 should come to 10.25
    & if the last character value is > 5 , it should be rounded to next value with 0.
        10.67 should be 10.70
        10.98 should be 11.00.
    with this assumption, i developed this small code. let me know, if i am wrong.
    regards
    srikanth
    DATA : V_CURR TYPE VBAK-NETWR,
           V_CHAR(10) TYPE C.
    V_CURR = '10.67'.
    WRITE  V_CURR TO V_CHAR.
    CONDENSE V_CHAR NO-GAPS.
    DATA : V_STRLEN TYPE I.
    BREAK-POINT.
    V_STRLEN = STRLEN( V_CHAR ).
    IF V_STRLEN <> 0 .
      V_STRLEN = V_STRLEN - 1.
      IF V_CHAR+V_STRLEN < '5'.
        V_CHAR+V_STRLEN = '5'.
        V_CURR = V_CHAR.
      ELSE.
        IF V_CHAR+V_STRLEN = '6'.
          V_CURR = V_CURR + '0.04'.
        ELSEIF V_CHAR+V_STRLEN = '7'.
          V_CURR = V_CURR + '0.03'.
        ELSEIF V_CHAR+V_STRLEN = '8'.
          V_CURR = V_CURR + '0.02'.
        ELSEIF V_CHAR+V_STRLEN = '9'.
          V_CURR = V_CURR + '0.01'.
        ENDIF.
      ENDIF.
    ENDIF.
    write :/ v_curr,
             v_char.
    added modified code.
    Message was edited by: Srikanth Kidambi

  • 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,
    Baskaran

    Hi 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

  • 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

  • Rounding off value problem in sales order

    Hi All,
    This is related to a rounding off value problem in sales order.
    The problem is described by an example which is as follows -
    Selling Price of Material A = Rs. 176.76
    Excise charged = Rs. 21.80
    Total Price = Rs.176.76 + Rs.21.80 = Rs. 198.56
    On this total Trade Discount (ZDTD) having access sequence,is calculated  at the rate of 4% = Rs. 7.94
    But the condition base value after the discount is showing Rs.198.60 instead of Rs.198.56
    I want the system to reflect the value as Rs.198.56 intact and it should not round up to the nearest value i.e. Rs. 198.60
    Why is this happening? Is it possible to reflect the exact value? If yes what is needed to be done?
    The commercial round off is activated for the DIFF Condition Type.
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka Mitra

    Hi Ramesh,
    Thanks for your suggestion but the problem has been solved by me.
    Regards
    Priyanka Mitra

  • Need rounding off value for partial Goods receipt

    Hi,
    My requirement is that the PO value,PO tax value ,GR value and Invoice value(IR) should get rounded off.
    When I am using the PO value which is rounded off in PO, but at the time of posting partial goods receipt the value for the GR/IR clearing or the stock value is not getting rounded off for these G/ls.
    What should I do for this to get the rounded off values in GR.
    Regards,
    Goraksh

    Hi Goraksh,
    The problem is that the pricing (incl. the rule 17) is not normally called at the time of GR. As Jürgen wrote, the system just uses the "net value" field of the PO.
    I have however a "wild" idea. If the price in the PO comes from the info record or from a contract (and not changed manually there), then you can set the "pricing date category" = 5 there, meaning "GR date". This causes the pricing to be called again at the time of GR and your formula 17 will fire.
    The side effect of course is that the price that you had in the PO, printed and sent to the vendor will not be binding: if you change the PIR price before the GR, the GR will be posted to the new PIR price, despite the fact that the PO printout showed something else. So the question is if the price printed on the PO is indeed binding in your business case - in many business cases it is the current vendor price that matters for the billing by the vendor, not the one that you prined on the PO. For such business cases you should have had pricing date category 5 anyway...
    BR
    Raf

  • Urgent Regarding round off values in script

    Hi Gurus,
    I want to display round off values in total amount . Order conformation
    i wrote one suroutine but it is not working , it is going for dump.
    Eg:- total amount = 10004.49 it should display in 10004.
             total amount                 = 10004.51  it should display in 10005.
    Plz help.
    REPORT  ZVALUES.
    tables:komk.
    form round TABLEs INTAB  Structure ITCSY
                                         OUTTAB structure ITCSY.
    data: w_fkwrt type fkwrt,
             w_fkwr type fkwrt.
    read table intab with key name = 'KOMK-FKWRT'.
    if sy-subrc = 0.
    w_fkwrt = intab-value.
    w_fkwr = ceil( w_fkwrt ).
    outtab-value = w_fkwr.
    condense outtab-value.
    modify outtab transporting value.
    endif.
    endform.
    in layout i call this subroutine like this.
    /:DEFINE &KOMK-FKWRT1& := &KOMK-FKWRT&.
    /:PERFORM ROUND IN PROGRAM ZVALUES.
    /:USING &KOMK-FKWRT&.
    /:CHANGING &KOMK-FKWRT1&.
    /:ENDPERFORM.
    SU Final amount,,,,,,,,,,,,,,,,&KOMK-FKWRT(I13)&
    Thanks & Regards,
    Vamshi

    Use this FM
    CALL FUNCTION 'HR_IN_ROUND_AMT'
      EXPORTING
        amount        = p_amt
        rndoff        = '100'.
       RNDLMT        = 'N'
    IMPORTING
       RETAMT        =
       DLTAMT        =

  • Regarding rounding off value in pricing procedure

    hi fi professionals,
    i have an issue regarding pricing procedure, pls help me out, its urgent
    i have a condition type, zrou(rounding off value)
    the fanda is- when i am creating po- my net value is suppose- 19.90.
    so my client requirement is- 0.10
    so i have given 0.10, then total value is- 20.00
    but this value is not pickin up in migo- accounting document
    it is picking 19.90 only.
    so what is the configuraion needed in omsy for picking up the total value in accounting doc.
    regards,
    susanta

    Hi..
    You would need to maintain a account key in the pricing procudure which would calculate the balance to make the total a rounded value.
    In FI perspective, you need to assign a GL account for that..
    Cheers
    Raghu

  • 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
    ali

    Hi,
    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.

  • Event.value = Math.round (a.value * 5.00) / 100; Replace this with an input field for user to change

    I have a taxe calcul script in a field with a annulation check box like this:
    if (this.getField("CheckBoxHST").value=="Off") {
    // no tax
    event.value = 0;
    } else {
    // calculate the amount of tax to be paid
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 5.00) / 100;
    I like to able the user to change the percentage —>  (a.value * 5.00) with a simple text field — Say they enter 6% or any other percentage in there and the calcul become (a.value * 6.00) / 100;
    Not to sure how to acheive that....

    Work perfectly thanks...
    I feel so bad, everything work perfect, almost   — 
    — I just want when I check off (checkbox) the tax calculation to put whatever is in the tax percentage input box to zero and I can’t

  • 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

  • Rounding up values in Print Layout Designer

    The customer has a database field in print layout designer and this is bringing back a value such as 0.25.  They would like to create another field which shows this value rounded up to the nearest whole number, ie in the case of 0.25 they would like to see 1.
    They have created a formulae field and used the round function, however this rounds the value down to the nearest whole number as per the general rounding rule i.e. round it down if it is below .5 and up to the nearest whole number when it is above .5
    Is there anyway to achieve this using Print Layout Designer in SAP Business One 2007 A?

    Hi Samantha,
    Apologies for the delay.
    Yes, its possible to do this.  Firstly, you will need to use the fields from my earlier post.  However you will also need to add some more formula fields
    The first formula field will work out what the numbers are to the right of the decimal point:
    DecimalRight(Field_101)
    Field_101 in your case will be the field ID for the quantity field and the field ID for the above formula field will be Field_102.
    The second formula field will work out if the quantity is a whole number, here the field id will be Field_103:
    Field_102==' '
    The third formula field will work out if the quantity is not a whole number, here the field id will be Field_104:
    Field_102!=' '
    You can now use the Link To functionality to link the original quantity rounded field to Field_103 and you can link the quantity plus 0.5 rounded field to Field_104.
    Kind regards,
    Adrian

  • Rounding up values in the report. Ex. 10.2345 to 10, 11.7756 to 12.

    hello
    i have one problem. i want to round off the key figures in the report in BEx. like rounding up values Ex. 10.2345 to 10, 11.7756 to 12.  
    pls help. its urgent.

    Make the Decimal setting in teh Key Fig properties as mentioned in the above post. If this does not work try the following. 
    Hide ur actual column of the key figure K.F
    Create a Formula Key Figure.You need to use Mathematical and Boolean Operations .Create the following formula
    ( FRAC ( 'K.F' ) >= 0.5 ) * CEIL ( 'K.F' ) + ( FRAC ( 'K.F' ) < 0.5 ) * FLOOR ('K.F' )

Maybe you are looking for

  • Error while releasing an activity from NWDS

    Hi, I am facing the below error while releasing an activity from NWDS - transport view. Internal error: the export of SC_CR com.xxx.xxx/xxx_SOFTWARE_COMPONENT#Track_D.118 failed. tcs returncode was 12 Check in and activate was successfull and in CMS,

  • Problem in creating New output types - Urgent

    hi all, Issue is that we had created a new plant(NSC) and for that plant, we had created new scripts for Indent and Sales Order. Means I have to create new output types for NSC Orders and Indents. What i did that I went to SPRO- IMG- Basic Functions-

  • Why is the TERMS and CONDITIONS safari link in the downloads tab under iTunes?

    Why is the TERMS and CONDITIONS safari link in the downloads tab under iTunes? Please remove it because its a useless place for it and its confusing for customers

  • How OSB AQ adapter dequeue from database AQ ?

    Hi, Could someone please tell me how OSB AQ adapter dequeues from database AQ ? Does it ask database frequently ? Or just hangs on database ? Or database AQ notifies OSB when something comes to AQ ? Regards, Cezary

  • How to install and update ARD from 3.3 to present

    I have a dillema as I have just come across my ARD 3.3 disc and serial number that I purchased a while back and did not get around to installing it.  Iv'e just put the disc into my mac and tried to install, but it says the version I am trying to inst