Setting currency format
Hi all,
I want to set curreny format in commas instead of decimals. Any idea where and how to do it across users.
Regards,
Sudipto.
do this way ..
You can use :
Write <CURRENCYFILED> USING CURRENCY 'USD'.
This will convert the decimal points to Commas.
REgards,
Santosh
Similar Messages
-
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. -
Help with a Spry Data Set currency format
Hi there,
Wondering if anyone out there can lend me a hand please. Our
programmer is away on holidays and i have been dumped a website to
construct and i am lost as to how to format a spry xml data feed.
I have successfully imported the XML
http://www.fortitudedesign.com/xml_test/Helpgetthistowork.html
from a simple XML -
<?xml version="1.0" encoding="iso-8859-1"?>
<ig:getStockResponse xmlns:ig="
http://xml.iguana2.com/2001/08/dtd">
<stock>
<liveness>DELAYED</liveness>
<code>TLS</code>
<exchange>ASX</exchange>
<stockDesc>
<name>Telstra Corporation Limited FPO</name>
<desc>TELSTRA FPO</desc>
<descAbbrev>ORDINARY</descAbbrev>
<descShort>FPO</descShort>
<isin>AU000000TLS</isin>
<issuerCode>TLS</issuerCode>
<sectorCode></sectorCode>
<totalIssue>12,443,074,357</totalIssue>
<firstActive>30-Oct-1997</firstActive>
<lastActive></lastActive>
<firstQuoted>27-Oct-1998</firstQuoted>
<suspensionStart></suspensionStart>
<quoteBases>
<quoteBasis>SH</quoteBasis>
<quoteBasis>XD</quoteBasis>
</quoteBases>
</stockDesc>
<stockQuote>
<buy>415</buy>
<sell>416</sell>
<first>423</first>
<high>423</high>
<low>414</low>
<last>415</last>
<oap>417</oap>
<oapExDiv>417</oapExDiv>
<prevClose>417</prevClose>
<mktPrice>415</mktPrice>
<change>-2</change>
<pctChange>-0.5%</pctChange>
<volume>24,641,689</volume>
<turnover>$103,378,674.95</turnover>
<totalTrades>2667</totalTrades>
<lastQuoted>17-Sep-2008 14:37:42</lastQuoted>
<lastTraded>17-Sep-2008 14:37:33</lastTraded>
<lastChanged>17-Sep-2008 14:37:42</lastChanged>
</stockQuote>
</stock>
</ig:getStockResponse>
Now what i need help in is formatting the prices so that they
appear as dollar format please. ( the XML reads
<buy>415</buy> so i would need this to appear as 4.15 )
Can anyone out there help point me in the right direction for
this pretty please.
muchly appreciated
virode,Declare the cursor using
cursor jerome_cur is select to_date(period_name, 'month yyyy') period_name from idcc_periods where period_name = 'february 2005';
Fetch into a date datatype and use date functions
DECLARE
cursor jerome_cur is select to_date(period_name, 'month yyyy') period_name from idcc_periods where period_name = 'february 2005'
v_period DATE;
v_d1 DATE;
BEGIN
open jerome_cur ;
fetch jerome_cur INTO v_period;
close jerome_cur ;
v_d1 := add_months(v_period,1);
END;
null -
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
Prataphi all
Thanks ,this is resolved ,i just missed clearing cache ,after clearing the cache its working .
thanks
Pratap -
Problem with currency format setting
hello experts,
i have one currency filed FDES-WRSHB = 25706515.32.
i want this field to be converted into currency format which user have selected.
for ex if user setting for currency in SU01 is 1,23,456.89 then this currency should be converted to 25,706,515.32.
or if default setting is 1.23.456,78 then it should be converted to 25.706.515,32.
please tell me how to achieve this... any FM available?
or tell me how to read these user default setting so i can explicitly convert currency format.
-Shweta
Edited by: shweta chavan on Feb 6, 2009 7:19 AMHi Shweta,
I had the same issue,we dont need to do anything,the display will come automatically in the User format(specified in SU01/SU3).We dont need to use any FM or any coding.
If u chanegd any settings in SU01/SU3 u need to re-login to see the changes,for example the setting were like 1.23.456,78 and u changed to 1,23,456.89 then it will not reflected immediately.U need to log-off and log-in again to see the changes.
Hope this helps.
Thanks & Regards,
Rock. -
Migrating a Currency Format Set?
Hi - I have set up a currency format set in my development instance and it's working great. Would anyone know how to migrate this to other instances? I can't seem to find documentation on it.
Thanks
CCHas anyone else tried setting up a Currency Format Set? If so, did you set it in each instance manually? Any input would be great.
-
Set currency 3 digit decimal format
Dear SAP Experts,
Currently we have multiple SAP clients running in multi countries in one platform and shared SAP cross-table
Now we have situation that one new country will have 3 digit decimal currency format OMR (150.876). At the moment if
change decimal currency setup in table V_CURX then we can face issue with other clients.
Case1 - I understand if no document posted currency in OMR is any of the client no issue I assume.
Case2 - If there is any document posted with currency OMR in any of the client which shared cross client table then we might
get serious implications.
Is there any way that we can handle case 2
Thanks & regards,
Prashant RaneHi
If i observe your post, you said that its a new country
Is it for new country for your client or for all clients
If it is new for all clients you can change it in follwoing path
SAP NetWeaver
General Settings
Currencies
Set Decimal Places for Currencies
Reg
Vishnu -
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
ChanderI'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" -
Hi All,
I am a functional consulatnt and had created a wokflow its working fine the only exception being that the mail is trigerring with a wrong currency format.
Like i have set my system settings under SU3 to the 2nd radio button but still the format is shown as 3.065,29 USD.
In SBWP i can see the text as 3,065.29 USD but when it is going to the outlook its comming up with 3.065,29 USD.
We are working in 4.6C.
ASAP help is really appreciated.
Thank You.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. -
How to set currency template in CT04
I'd like to ask a question about how to set currency template in CT04
Coz i have a material classification --- cost
i'd go to CT04 to create ...set data type is CURR Currency Format
but i don't know how to set the template if i want to show like this
<b>HKD 99,999,999.99</b>
coz if i didn't set any template , it will automatically ...show 99,999,999.99 HKD
THXHello,
In the transaction CJ02 on the "Basic data" tab you have a field Proj. currency which you can change.
Regards
Marek -
Smartforms Currency format wrongly printing
Hi All,
I'm facing a problem with printing the amount field on Smartform.
I also tried it display in Document currency format eg.,
In the document amount displayed like 1,234.56 (in a standard transaction)
When printing on the form it displayed like 1.234,56
I also checked my user settings in SU3 it is like 1,234.56 format only.
When i checked it in Debug mode the Amount is showling 1,234.56 correctly.. till it reaches to form end but while displaying it changing the format.
Any suggestion ? please help.
Thanks in advance.
-KiranHello,
If you print an invoice, the print program RLB_INVOICE usually reads the country of the customer.
This is the reason why the decimal notation is not correct.
See please the T-code OY01 also.
This is the standard customising of SD. A customer from country e.g. OMAN (OM)
gets number like 332.500,00 and a customer from GB gets 332,500.00.
If you really need to modify the decimal format, you can add the command SET COUNTRY 'EN' in
your Smartforms. So the effect of a change of the decimal format is a cosmetic one only.
Via debug you can change the value of the field IT_HD_GEN-DLV_LAND to EN.
Check the following code part in include RLB_INVOICE_FORM01 sample code:
get delivery land
PERFORM GET_DLV-LAND USING CS_BIL_INVOICE-HD_GEN
CHANGING CS_DLV-LAND.
CS_DLV-LAND = OM.
Regards,
David -
I have a currency column need to display the data 4000000.00 as $4,000,000.00
ie;basically need to have a comma in the format.
is there a function which can do this instead of setting the format at the SQLplus prompt?
Thanksselect to_char(4000000, '$999,999,999.00') from dual;
-
Currency format and Right Align not working for messagetext in HGrid
Hi
We are dynamically enabling MessageTextinput inside HGrid region, it is Number type and when we set readonly to True it become left align, and currency format also not working, I tried the below various options but nothing is working.
Option : 1
OAMessageTextInputBean attribute = (OAMessageTextInputBean)webBean.findChildRecursive("Attribute"+i);
attribute.setCurrencyCode("USD");
Option :2
OAWebBean amountDueBean2 = webBean.findChildRecursive("Attribute"+i);
oracle.cabo.ui.validate.Formatter formatter2 = new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
amountDueBean2.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter2);
etc options we tried
amountDueBean2.setAttributeValue(CURRENCY_CODE,formatter2);
amountDueBean2.setAttributeValue(OAWebBeanConstants.CURRENCY_CODE,"USD" );
Please help on this issue.
We are using Jdeveloper 10.1.3.3.0.3
TiA
BabuAnatoli,
Hello!
I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
Thanks,
Janel -
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,
RavikiranHi 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 -
WD Table - Currency Format Pattern
Hi,
is it possible to set the format pattern of a field with the wd built in type decimal to something like 'xxxxx.xx' (fragtion 2 in all cases)?
The type itself is defined in the abap dictionary as currency, but in a wd table the field is diplayed wrong.
Samples:
Value 10.15 -> WD 10.15
Value 10.10 -> WD 10.1
Value 10.00 -> WD 10
I want:
Value 10.15 -> WD 10.15
Value 10.10 -> WD 10.10
Value 10.00 -> WD 10.00
Regard
SebastianSebastian-
First change the data type of your attribute from number to string. Then create this method in the others section of your controller or in a utility class:
private String formatCurrency(double amount)
NumberFormat numberFormatter = NumberFormat.getCurrencyInstance();
DecimalFormat decimalFormatter = (DecimalFormat)numberFormatter;
decimalFormatter.setMinimumFractionDigits(2);
decimalFormatter.setMaximumFractionDigits(2);
decimalFormatter.setDecimalSeparatorAlwaysShown(true);
String pattern = "$###,###.00";
decimalFormatter.applyPattern(pattern);
return decimalFormatter.format(amount);
Use this to format any number to a currency. In this example I have converted to USD format - you could change this to suit your requirement.
For example:
100 ---> $100.00
1000.5 ---> $1,000.50
1234567890 --->$1,234,567,890.00
Cheers-
Atul
Maybe you are looking for
-
How do I set duration on stills in final cut pro as I can in iMovie by just typing seconds?
How can I set time (seconds) on stills (in final cut pro) as I can in iMovie, just by writing the time after having clickd on the still?
-
Oracle VM - Sparc - Provisioning Disk across blades
We are a large VMWare shop as well, and in the VMWare world -- the engineers get a large LUN presented to their VMWare cluster, and the provision disk as needed to each of their VMs. I want to know if the same thing can be done with our LDOM stack. C
-
Why can't Creative Cloud update my Illustrator and PS?
I keep trying to update my CC Illustrator and PhotoShop, but when the progress bar gets towards the end it pops up a red warning Update Failed. This has been going on ever since I got on Creative Cloud and downloaded these Apps. Is there problems a
-
I am working in lab environment using GNS3 router 2691 and X-lite SIP phone. Please share the proper configuration for the same.
-
Hay alguna forma de buscar elementos con colores que no esten en la paleta de muestras? Tengo un documento que debería ser a 2 tintas directas, pero hay algo que està en quatricomia que no logro localizar. Alguna solución? En Freehand està la opcion