Decimal Places in Deal - FTR_CREATE.
Mates ,
I have a concern , while creating the deal through FTR_CREATE , where in the calculation of the interest is in decimals where as when i look in to the cash flow tab it shows it as rounded off .
For Eg. the interest amount is lets say 100.70 , system is showing the same as 101 . What should i do to show it as 100.70 in the cash flow tab .
looking forward from you .
Regards ,
Dewang
Hi
You need to create the rounding rules for this
Similar Messages
-
More DECIMAL places for MM price-Not Global
I have read the <u>many</u> postings on decimals. However, I have not seen the exact scenario I'm inquiring about.
I want to increase the decimal places from 2 to 4 for the cost of materials we purchase (i.e. supplier price), but I do NOT want to set this as a global aspect for the company when dealing with numbers/currency.
It's not just a simple matter of setting a different unit of measure, because let's say we order a reel of capacitors - the reel may come in qty of 1,000 or 2,500 (only one example). So, we really need to set price by (ea). The problem is that many of our parts price at .0014 (example) and in SAP that shows a cost or price [depending on where you're looking] of zero. Plus, the Purchasing agent sends a PO with incorrect price information.
<b>It would be very helpful if anyone could tell me how to increase the number of decimal places for specific fields as opposed to globally.</b>
Thanks you!!The right tool to do that is the pice unit. This is in the system for ecatly that purpose, to provide more precision in prices. It has nothing to do with unitz of measure that is used for logistical purposes.
If you have a price 0f 0.0014 each you can set a price unit of 1000 and will have a price of 1.40 for 1000. You still can have only 500 or even 1 on stock. the calculation done if you receive your 2500 will be 2500 * 1,40 / 1000 which is of course the same as 2500 * 0,0014
best regards, Udo -
Rounding to two decimal places in BPC/NW
Hello,
I am dealing with the task to round values to two decimal places. I have found some discussions in BPC-MS where the statement ROUND should work in logic. Unfortunately I am not able to make it work in the NW version.
Isn't there also a parameter in the appset or application administration which would cut the numbers only to two decimal places (this task would be also a possible solution for us).
Thanks for any help
JanHello Pravin,
the second import worked fine. I realized that the class has changed to ZCL_BPC_SL_ROUND.
I debugged the class and noticed that the parameter it_cv is not filled at all. Therefore the program ends before starting the rounding procedure. Here is the part of the code:
Take CV into account
clear l_success.
loop at it_cv into ls_cv.
clear l_val_string.
loop at ls_cv-member into l_member.
if sy-tabix eq 1.
l_val_string = l_member.
else.
concatenate l_val_string l_member into l_val_string separated by ','.
endif.
endloop.
if l_val_string ne space.
l_success = add_dim_restriction( i_param = l_val_string i_dimension = ls_cv-dimension i_clear = abap_true ).
if l_success eq abap_false.
concatenate 'Failed to successfully add Dimension' ls_cv-dimension into l_log_msg
separated by space.
cl_ujk_logger=>log( l_log_msg ).
cl_ujk_logger=>log( 'Exiting Round Method' ).
cl_ujk_logger=>empty_line( ).
raise exception type cx_uj_custom_logic
exporting messages = et_message.
exit.
endif.
endif.
endloop.
if l_success eq abap_false. exit. endif. - here the program exits and therefore doesn't do any rounding.
If I comment this part the system rounds correctly but runs on all records in the cube which degrades performance a lot.
Could you please advice further if it is possible to restrict the data region only to the submitted data?
Best regards
Jan -
How to restrict the decimal place of a floating point number?
Hi,
Here is my code:
public void TwoDecimal(double u){
String w = Double.toString(u);
int c = w.length();
System.out.println(c);
if (c <= 5)
double a = Double.parseDouble(w);
System.out.println(a);
else
System.out.println("Invalid input!");
}I want to show a floating point number which has 2 digits and 2 decimal places, e.g. 45.82, 29.67. This number is input by user and passed as a parameter.
For those case like the above sample floating point numbers, it can display the proper value of 'c'. e.g. 45.67 will display 5.
However, when I passed 99999, it will show 7; 9999 will return 6, not 5.
So, if the user does not input the '.', does it append 2 implicit chars to it? i.e. 99999.0 and 9999.0. So, that's why it returned 7 and 6 for the length of the string respectively.
How can I fix it?
and
Does it has better algorithm?
Pls advise.
gogoWhen dealing with a known precision, in your case hundredths, it is often a good idea to use an integer type and add in the decimals on printing only. This is often the case in banking systems. Almost all of them use integer types, (read long) in pennies to store monitary values. Ever seen someone type in a value for a credit card machine? For something like $20 they press.. "2" "0" "0" "0" The machine knows the lowest denomonation in a cent, so it knows where to put the decimal place. I suggest you do something like this. It also helps to avoid base 2 round off errors.
-Spinoza -
Pricelist Factor Decimal Places
HI Experts,
I am using 2007B,Pl04 and I need to increase the factor in pricelists to 4 decimal places.
I have an MRP price list based on which I need to create dealer pricelists which is a factor of .7384 of the MRP list.
Is there a way to do so ?
Regards,
AsapHi Asap,
Decimal places can only be increased in 2007 version. Make sure you don't want to decrease them later. In addition to the above answer, currency decimal setting under Financial setup may also be changed.
Thanks,
Gordon -
A double with 2 decimal places
I need to output a double that has 2 decimal places. The default is just one and I don't know the command to make it two. For example,i want an output of 37.5 to be displayed as 37.50. If you know the command, please tell me. Thanks!
Looks like you are trying to deal with money.
Firstly if you are dealing with money store everything as the lowest form of currency in your given area. eg as pence or cents and place it in a int or long. That way you dont get any rounding erros when you multiply up the value.
To put two decimal places on a number is easy just use a DecimalFormat from java.text
Like this
double myNumber = 3.1;
DecimalFormat decF = new DecimalFormat( "######0.00" );
String myFormattedNumber = decF.format( myNumber );
System.out.print( "My number is " + myFormattedNumber ); The #######0.00 in the DecimalFormat constructor call is a pattern that is used to format the number. The # indicate an optional number the 0 indicates a required number and if one is not provided a 0 will be included. -
Error while updating decimal places in general settings
Hii All
I have got an error while updating Decimal places in General Settings
Cannot update while another user is connected to the company i have checked, there is no other user logged in, i could add other settings but the problem is only with Decimal Places
Note : there are no postings yet, a fresh database for a new client
what could be the possible reason
thanks
RIYAZHiii All
As a forum rule, i have initially gone through with the existing threads and then i was force to post a thread,
would be helpfull if there is any other way..
Thanks
RIYAZ -
Decimal places in report painter
Hi experts. I have a financial report written in report painter. I want to show two decimal places on a single row. The rest of the report is in whole dollars, but this one row is a percentage, so I want to show decimal places. I know that you can format an entire column, but I can't figure out how to format a single row. Can anyone help?
Thanks
JanetYES U CAN
SAME AS ABOVE PROCEDURE
BUT SELECT ROW INSTEAD OF COLUMN
Edited by: Anil Kumar Potnuru on Feb 10, 2009 9:02 PM -
Can not change the number of decimal places in the normalization of result
dear all
i want to see the proportion of some data, for example, the income of May is 300, and the total income is 1000, i need to display it like 33.33% . so i set the
Calculate single values as normalization of result, and then it display 33.333%, i like to display only two number of decimal places, so i set the number of decimal places as 0.00, but i doesn't work, it still display three decimal numbers.
maybe you say i can use the percentage function like %CT %GT %RT, but i need to allow external access to my query, so the i can not use those functions.
can somebody helps me ? your advice is appreciated.hi,thanks for your advice, but that doesn't suit for my problem.
before i set the normalization of result, i can change the decimal values. After that i cann't.
In your thread, someone proposes use the T-code OY04. but this wouldn't help. As i change to other key figure, such as user quantity, when i set normalization of result, it still display 3 decimal values.
i think the point maybe lie in the normalization of result. please advise... thanks... -
Problems with decimal places and formatting
Hi , we are having problems with an add on running on different localization companies. Decimal places separatd by "," differ from other localizations. We dont know if this is a SQL collation setting or somethng related to code or requirements to run add ons on different servers and languages.
Any ideas??
ThanksHello
Follow up with this thread:
[Re: How to get the numeric value of DocTotal from UI API]
Regards,
J. -
Decimal Places in Item Cost must be 6 characters while in Journal Entry 2.
I have the following problem:
Accounting needs to see and work with 2 decimal places, but the item cost is needed in 6 decimals.
If I register a A/P Invoice and i go to the Journal Remark, the Journal Entry should be in 2 decimals. If i look for the Item Cost on the Wharehouse this cost should be in 6 decimals.
Is there a way to handle Accounting in 2 units and Cost in 6 Units
Thank You very muchHi Saul,
The request appears illogical, how can the accountant work with 2 decimal places & the item valuation is held with 6? The stock account with 2 decimals will never match the stock audit report with 6 decimals.
I'm afraid the SAP Business One core functionality does not cater for this need. There are no 'behind the scenes' journal entries. A JE is legally binding so you need to decide whether you wish to work with the most accurate calculations regarding item cost as possible (6 decimals) or accommodate the accountants & work with 2 decimals in the journals.
You might want to take the nature of the stock into consideration, if there are huge quantities at small individual prices 6 decimals might be better, if you use mainly standard cost &/or have no major cost fluctuations when using MAP/FIFO, 2 decimals might be sufficient.
All the best,
Kerstin -
Decimal places in standard input schedule templates
Hi Gurus
I have created some input schedules using standard template. User here will be entering some values in 2 decimal places (like 1.25) but when I enter any values in the cells, it automatically round off the values and displays values without any decimal places.
I have tried changing the formats in Format control panel by changing the DATA / DEFAULT 's PATTERN / ALL for ROWs but it did not help.
Please help how to resolve this.
Cheers
SwathiHi nilanjan,
Thanku, I resolved the issue using Format Range option with the below code
CRITERIA EVALUATE IN FORMAT USE PARAMETERS APPLY TO
INPUT ROW 1234,56 ALL -- DATA
Thanku -
DIsplaying WRBTR (AMOUNT FIELD)WITHOUT DECIMAL PLACES
Dear all,
I am facing a problem in displaying amount field in alv report. I have two currency keys (US dollar and Japan yen). if it is japan yen I should not have to show decimal places and if it is US dollar I should show decimal places.
How can I do it in a alv report if I have only one output amount field?
thanks
Ranjan.Hi chittaramjan,
1. use this kind of funda (just copy paste in new program)
Important things
a) one extra field in internal table
declared in the same exact fashion
waers LIKE tcurc-waers,
b) Populate this field
c) REST THE System will take care
(based upon country settings)
2.
REPORT abc.
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : BEGIN OF itab OCCURS 0,
f1 LIKE P0008-BET01,
waers LIKE tcurc-waers,
END OF itab.
START-OF-SELECTION.
itab-f1 = '-4.15'.
itab-waers = 'KRW'.
APPEND itab.
itab-f1 = '4.68'.
itab-waers = 'GBP'.
APPEND itab.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
OTHERS = 2.
regards,
amit m -
Key figure, number of decimal places are not showing in report output
Dear experts,
At cube level PO qty value is getting 0.010 where as in bex report output of PO qty showing as 0. I have chosen decimal places as 0.000 in key figure additional properties tab. In query designer also I have chosen no of decimal places as 0.000 in display propertiesu2026please help me out. How can I get 0.010 value in report o/p.
Thanks in advance.
Srivalli.Hi,
Try to run the query in RSRT. CHeck if you are getting the same output. Also make sure that in the reports all the filters are same as you have applied in the info -cube to see the data.
- Jaimin -
PO print preview displays incorrect setting in decimal places
Dear Experts
Please help me on the following condition.
I have a problem in print preview of a PO. It displays the incorrect setting for decimal place in currency.
It shows USD 1.404,00 whereby the amount should be USD 1,404.00
This only happens to a certain vendor that is doing PO for the first time from that country
Example:
I'm creating a PO for vendor 123. Vendor 123 is located in country A. No PO has been created for any
vendor in country A before. When I saved my PO, in print preview, the decimal setting is not correct.
But when I'm creating another PO, for vendor 234. Vendor 234 is located in country B. There have been
several POs created for vendors in country B before. When I saved my PO, in print preview, the decimal
setting is correct.
Both vendor 123 and vendor 234 is using currency of USD.
Is there any other setting with the vendor master in regard with the currency decimal setting for each
country for the vendor? Or something that I've missed out?
Diagnosis:
I've checked with the user profiles->default-> decimal notation. It displays 1,234,567.89 correctly
I've also run OY04, but the decimal setting is correct.
Thank you
Regards
Syukrithis has nothing to do with print preview, it is just basic country setting (OY01) how a quantity and value is written on a PO to a vendor is country xyz.
German uses to comma to seperate decimals, while USA uses the point to seperate decimals
this would be the German version 1.404,00, and this the US version:: 1,404.00
so if an American sends a PO to a German vendor, then the document will show 1.404,00 so that the German can understand that he wants 1404. (and not 1000 times less)
Maybe you are looking for
-
Jabber for Windows 9.0.2
Hi There, Jabber for Windows 9.0.2 seems to have been published on CCO but the documentation is rather light. Was this published by accident? Giles
-
Custom tag fails to under Tomcat 5.0.16
I have just upgraded to Tomcat 5.0.16 from 4.1.x. Any JSP page that contains a custom tag fails to build; error message: org.apache.jasper.JasperException: /jsp/CustomReport.jsp(62,20) Unknown attribute type (String) for attribute name. The tags work
-
ITtunes match freezes iphone 4s on ios6.
Hello, So far I've only found one other person who has the exact same problem and they can't fix it either. Apple flat out told me to my face the problem doesn't exist, so I'm not sure what to do. Whether I'm on cellular or WiFi, the music app on my
-
I have recently upgraded from 10.1.3.1 to 10.1.3.3. The application uses form based authentication. The login worked fine in 10.1.3.1 but in the new version I get the following error when submitting the login details: 500 Internal Server Error java.l
-
ERROR! CHECK AUTHORIZATION!
I keep getting a message that says Error! Check Authorization! when I try to transfer from My Digital Editions to my Nook Tablet. Any help would be appreciated.