Indian Currency Format

Hi All,
I have set of 14 text fields, also i have a text view which displays the sum of values entered in 14 text fields.I am able to sum the values entered in the fields, but i need it to be displayed in this format "11,22,33,444". For now i am able to display in this format"112,233,444" How can this be done ?
Thanks and regards,
Ravikiran

Hi Madhumahesh ,
Please find the code  below,
View:
var oVENUE_BUDGET_TF = new sap.ui.commons.TextField(
  'EV_EC_VENUE_BUDGET', {
  width : "200px",
  value : "{EventModel>/VENUEBUDGETF}"
  }).addStyleClass('style0');
  oVENUE_BUDGET_TF.setValue(oNumberFormat.format()); // Set the formatted
  // value on the text
  // field
  oVENUE_BUDGET_TF.attachChange(function() {
  var Val = sap.ui.getCore().byId('EV_EC_VENUE_BUDGET').getValue();
  var Field = sap.ui.getCore().byId('EV_EC_VENUE_BUDGET');
  helpers.prototype.ValidateInteger(Val, Field);
  oController.textFieldNumberFormat1(Field);
Controller:
textFieldNumberFormat1 : function(Field) {
  var value = Field.getValue();
  var floatValue = parseFloat(value);
  var formatter = new Intl.NumberFormat('en-US');// , {
  // style : "currency",
  // currency : "INR"});
  Field.setValue(formatter.format(floatValue));
  console.log(Field);
Thanks,
Ravikiran

Similar Messages

  • Need to update the FSG currency format at form 999,999,999,99.99(default) to 99,99,99,999.99 (Indian)

    Hi All,
    I need to change the currency format in App's GL FSG report. It's by default comes 999,999,999,999,99.999 form this i need to change into Indian currency format (99,99,99,99,999.99).
    I tried to changed the format in column set but it doesn't changed.
    I am working in Apps R12 on RHEL5.5 64bit OS.
    Thanks in Advance.
    Regards
    Chander

    I'm not sure I understand the question. Are you saying you want the bold part of your path (currently hard-coded) to be in a variable instead? That would look something like this:
    $file_server = Read-Host "Enter the file server IP address"
    $guid = '{231A178D-DC6C-4186-9575-9C64F07DA5B5}'
    (Get-Content "C:\TEMP\GPO\source\5\$guid\gpreport.xml") |
    ForEach-Object { $_ -replace "99.999.999.999", "$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\gpreport.xml"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\Backup.xml") |
    ForEach-Object { $_ -replace "99.999.999.999", "$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\Backup.xml"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Documents & Settings\fdeploy1.ini") |
    ForEach-Object { $_ -replace "99.999.999.999", "$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Documents & Settings\fdeploy1.ini"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\Drives\drives.xml") |
    ForEach-Object { $_ -replace "\\99.999.999.999", "\\$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\Drives\drives.xml"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\files\files.xml") |
    ForEach-Object { $_ -replace "\\99.999.999.999", "\\$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\files\files.xml"

  • Set Currency Format in View V_T015z

    Respected Members,
    I want to convert the currency value in word and that to according to the country India.
    Now when i am using functional Module SPELL_AMOUNT the converted value coming in the words is showing million and thousands format.
    I want it show in crores and Lakhs.
    For that i came to know that i have to set the values in the view V_t015z .
    But problem is that i am not getting how to set the proper places proper values so that it starts working properly for indian currency amount.
    Please give me the proper entries for the indian currency in this View so that i can maintain it and get the proper conversion.
    Thanks a lot.

    Try changing the User data of WF-BATCH, Under "Defaults Tab" change the Decimal Notation to
    1,234,567.89
    It must work, in SBWP it will be taking your user settings - Decimal notation. Since all the background jobs are run via WF-BATCH it will take that value.
    Thnx,
    Sudhir.

  • Change Currency Format

    How to change currency format from US to Indian format?

    Check if the below link helps...
    Number/Currency Formating Problem
    ~Abhijit

  • In Scripts how to print the values in currence format

    Dear abap guru's,
    I am working on Purchase Order Script, copy from the standard script, after that wrote a one perform , in that added one new field to script, but value is printed like this formate : 1000.00, but i want to print 1,000.00 like this currence format. let me know the any solution
    thanks to all
    raj.

    Hi ,
    When you are populating the value in perform instead of assigning the value (using = ) pass it using WRITE TO.
    Like :  WRITE lw_total TO output-value.
    Declare lw_total as currency field.
    Regards,
    Rajitha.

  • Currency format in LAC

    Hi,
    We are working with LAC, and we have an issue.
    When we create an auction in SRM the currency format for the start price and the others is 1,234,567.89 (this is correct for us), but when we execute the applet (LAC) the format change 1.234.567,89
    The user in SRM has the correct format 1,234,567.89 then, Why in the applet the format is different????
    How can we change the format????
    We are working with EP then, we execute the transaction  bbp_auction since a Portal iview. Our single sign On between LAC and Portal was configurated, then we guess, we need to change the currency or number format in the Portal User, Is that correct?????
    What user do we need to change (currency format)????   SRM user????  Portal user???? LAC user????
    Thanks

    Hi Claudia,
    Check the following note :
    Note 666849 - Running LAC in non-US locales
    This may help you.
    Thanks,
    Pradeep.

  • Help needed to display character vaiable in currency format

    Hi Friends
    In a SAP Script I am passing a currency field to the subroutine as an i/p parameter and since it gets converted to character format in subroutine because of 'itcsy' , ihave deleted the trailing zeroes and decimal points from the field and performed calculations on the field, now i need to pass this char field back to SAP script but i need to display that field in currency format with commas and decimal points in the script...how do i do that???
    Thanks
    Vishal.

    Hi Vishal,
    When you pass the currency amount into the perform, no need to remove the trailing zeros and the decimal point.
    Only thing you need to remove is the comma seperator as it gives a runtime error during calculation.
    To convert it back to the format with comma, write the below command:
    WRITE v_Item_total currency '2' to v_item_char.
    CONDENSE v_item_char.
    Here v_item_total is a number which is converted to comma seperated number and passed to char variable.
    This char variable is then passed to the SCRIPT.
    regards,
    Gaurav.

  • How to use currency format set

    Hi All,
    I have to use currency format set to mask the amount values to their respective currencies ,
    i reviewed the Oracle XML Publisher Administration and Developer's Guide and followed all the steps mentioned there ,i m also quoting the same over here
    To define a Currency Format Set:
    1. Navigate to the Currencies page under the Administration tab. Select Create
    Currency Format Set.
    2. Enter a Name and a Code for the set. The Code is a unique identifier and cannot be
    changed later. Select Apply.
    3. The Currency Formats page will display for your newly created set.
    To add currency formats to the Currency Format Set:
    1. Select Add Currency Format to add a format to your set.
    2. Select a Currency Name from the list.
    Note: This list is generated from the FND currency table and
    should include all ISO currencies. Additional currencies can be
    added from the System Administrator responsibility.
    3. Enter the Format Mask you wish to use for this currency and select Apply.
    The Format Mask must be in the Oracle number format. The Oracle number format
    uses the components "9", "0", "D", and "G" to compose the format, for example:
    9G999D00 where
    9 represents a displayed number only if present in data
    G represents the group separator
    D represents the decimal separator
    0 represents an explicitly displayed number regardless of incoming data
    See Using the Oracle Format Mask, Oracle XML Publisher Report Designer's Guide for
    more information about these format mask components.
    After a currency format has been created, you can update or delete it from the Currency
    Formats page.
    i followed all the above step ,i need to use germany currency ,i have also used the format-currency command in my RTF template,but still its not working ,i used 9G999D00 for masking .
    Any hint would be very helpful ,thanks in advance .Please let me know if my question is not clear
    Thanks
    Pratap

    hi all
    Thanks ,this is resolved ,i just missed clearing cache ,after clearing the cache its working .
    thanks
    Pratap

  • Currency format combined with if else issue

    Hi all,
    Basically, I need to get the value from if else statement, then use currency format to format the currency according to their currency code.
    the following is my if else statement to show the A.PAY_PROMISE_AMT or A.PROMISE_AMT
    <?xdofx:if A.PAY_PROMISE_AMT <> 0 then
    A.PAY_PROMISE_AMT
    else
    A.PROMISE_AMT
    end if?>
    <?format-currency:value_*[this value I want to use is the value from the above if else statement];*currencycode; ‘false’?>
    could anyone help me to combine those two statement to get the result I want?
    Thanks in advance

    >
    I tried your solution, but I got some error.
    >
    some?
    try change
    <>to
    !=in my sample
    what if you try IF without xdofx?
    what will be result?
    say
    <?if:A.PAY_PROMISE_AMT!=0?> <?xdoxslt:set_variable($_XDOCTX, 'LVar', A.PAY_PROMISE_AMT)?> <?end if?>
    <?if:A.PAY_PROMISE_AMT=0?> <?xdoxslt:set_variable($_XDOCTX, 'LVar', A.PROMISE_AMT)?> <?end if?>
    <?format-currency: xdoxslt:get_variable($_XDOCTX, 'LVar');CURRENCY;'true'?>plz see
    Working with xdofx:if and xdoxslt variable error

  • Why the currency format in numbers is very limited into few countries???  I think this is a must have in next update of numbers ..

    I was doing a spread sheet for a business proposal to my colleague in Philippines, was very disappointed to know that the currency format in Numbers for Mac is very limited to few countries only...

    As Badunit suggests, in Numbers 2.3 you can turn on the preference that shows the full currency list.
    Put a value in a cell and then choose Philippine Peso.  Save the document.  Open the document in Numbers 3.0 (if that is what you are working with) and you will still have access to that currency.
    You might go to Numbers > Provide Numbers Feedback to let Apple know you need the option to use more currencies in Numbers 3.
    SG

  • Currency format problem while exporting as excel

    Hi
    I have to create a report for which the currency format should be $#,##0.00 and -$#,##0.00 for negative numbers.
    In the text form field of rtf template, I have selected number format and removed the portion ;($#,##0.00) from $#,##0.00;($#,##0.00).When I view the report as HTML the numbers are showing in proper format.($#,##0.00 or -$#,##0.00).But when the report is exported as excel ,the negative number format changes to ($#,##0.00) in red color.
    Can anyone tell me how avoid this problem?
    Thanks in advance
    Naveen

    I think this is an Excel issue - you can right mouse click in Excel the column header and "Format Cells&gt;Text"
    You could also append a ' character to your numbers in BI Answers ie: '6035784010491980 which should give you the correct format in Excel.
    eg. CONCAT( '''', CAST ( '6035784010491980 AS CHAR) )
    There is also an MS Office plug in available for OBIEE this may give you further options.

  • Invoice value in indian currency

    hi
    i have created a alv and the problem i have is that if i go for 21(export) the total invoice value(netwr) comes in foreign currency.
    my question is how to display it in indian currency.

    Use the Function module
    UNIT_CONVERSION_SIMPLE
    Regards,
    ravi

  • Need Function Module for convertion of  Foreign currency to Indian currency

    hi friends,
    i need function module for converting amount from
    Foreign currency to Indian currency
    thanks

    hi Venkat,
    Please use the function module CONVERT_TO_LOCAL_CURRENCY
    <b><u>Sample code:</u></b>
          call function 'CONVERT_TO_LOCAL_CURRENCY'
            exporting
              date             = p_alv_tab-begda
              foreign_amount   = p_alv_tab-kkost_p_person
              foreign_currency = p_alv_tab-kwaer                 " foreign currency
              local_currency   = l_ev_waer                           " Indian currency
            importing
              local_amount     = p_alv_tab-kkost_p_person
            exceptions
              no_rate_found    = 1
              overflow         = 2
              no_factors_found = 3
              no_spread_found  = 4
              others           = 5.
    Hope this helps,
    Sajan Joseph.

  • BInput Data mismatch with currency format

    i am working with fs10 transaction
    I want to sum up the balance amount with respect to all
    companycode and post SUM to the bseg table using Batch input.
    i defined sum variable as below and coded.
    data : sum like glt0-hsl01.  (currency format)
    After all SUM operation.
    I have done like this to diplay SUM in report first(to check SUM output)
    SUM = SUM * 100.
    write : sum decimals 0.
    >>>>Now in report output i get value '17,222-'
    if u see in  fs10 screen we are getting same value.
    but when i try to post in Batch input.
    i have done like this below.(before posting i have checked
    for negative value )
    if sum < 0.
    sum = sum *100.
    compute sum = abs( sum )
    now...
    perform open_group................
    perform bdc_field using 'bseg-wrbtr'  (currency format)
                                    sum.
    when i execute this BI i get error in Amount(Sum)value
    display screen. (saying something differs in length )
    how to match the field.
    ambichan.

    Hello,
    Go to the Domain of the Field BSEG-WRBTR, which is WERT7. There you see the Output length as 16. So you decalre a local variable in BDC which is of CHAR16 in length to hold the value of WRBTR.
    Hope this helps you.
    Regds, Murugesh AS

  • Print PO Price in Currency Format.

    Hi Everybody,
       I want Print PO Price in currency format in alv report how do i get all countries currency values.
       anybody tell me.
    thanks,
    s.muthu

    Hi Muthu
    We can do it using the fields in populating the field catalog. Explore the existing fields of the same.
    Another way to handle is declare the amt field as char and write the amt to this field using option CURRENCY. The the problem with this method arrives when you want to do totals and stuff.
    Below code can help you understand in writing a field to another with currency option.
    data: l_curr(20) type c,
          l_amd type kbetr value '3333.23'.
    write l_amd to l_curr currency 'USD'.
    write:/ l_curr.
    write l_amd to l_curr currency 'JPY'.
    write:/ l_curr.
    To know the currency of a country you can use table T005.
    Kind Regards
    Eswar

Maybe you are looking for

  • Duplicating pages in Acrobat X Pro

    I downloaded a PDF (employment application) and was filling it in with Acrobat.  I duplicated the page titled "Employment History" so I could add more items.  I saved the file, but when I reopened it later, found that both "Employment History" pages

  • Bank Reconcilation FF67

    How Bank Reconcilation is Done. I mean How Opening Balace is taken, How Closing Balace is taken and what is the funda at FF67. I have defined House Bank, and Accounts ID, for Deposit, Issue, bank Charges, Wiretransfer and made all setting for Manual

  • Authorization issue -pa40, pa30

    Hi all, I have got authorizations for SAP_ALL , but it says you are not authorised to view pa40, pa30 transactions, even i checked inegration s swiches,please reply me if you have solved got the same issue and how you solved it? Regards, Evani

  • How to create a pseudo 3D border like this?

    Hello Everybody, whats your suggestion of creating a border like the one of the blue circle at the picture below in Illustrator: This on is made in PS: Thanks for any advice!

  • I need to make quick reminder notes that pop up on dates I provide. How do I make iCal do just that?

    I want simply to have a calendar page and to jot down a quick reminder note. I want it to pop up on dates I provide. Please tell me how to use iCal at its most basic level.