Rounding off Miro Values
Hi ,
I having problem in VAT round off during MIRO. We have created PO +VAT. VAT amount has been rounded off. After GRN, we
are trying to post the Invoice in MIRO, the VAT amount shows with Decimal
We are using ZTAXIN , in the tax pricing proceedure i have made requirement 13 & call type 16 for VAT condition type.
If i am doing 13 and 16 then vat is not calculating in PO
I want the decimal should be rounded to the nearest cost.
Hi,
What I understand that you want to roundoff the amount during invoice posting. If my understanding is correct then please set tolerance limit for BD. While posting invoice fill the Invoice Amount (Basic Data) as 100 instead of 100.13
Now 0.13 will be posted to GL account maintained in OBYC-DIF
Similar Messages
-
Regarding round off the value in adf table
HI All,
My Requirement:
i have to round off the value after decimal in adf column before saving to data base.
Excample : 1234.67 = 1235
34567.89=34568
34567.34= 34567
i am using jdeveloper 11.1.1.3.0
Please can you give code using converter or any other strategy.
Thanks & Regards,
Madhu1. First of all you asked for rounding off, taking the integer part is not rounding off.
2. As per the documentation
integerOnly boolean Yes Flag specifying whether only the integer part of the value will be formatted and parsed. Default value is false.if i can understand correctly pertains to formatting only.
3. You can create a custom faces converter and add it to faces config.xml http://docs.oracle.com/javaee/1.4/tutorial/doc/JSFDevelop4.html . So that you do not have to write it in code.
4. If only integer is to be allowed why don't you change the data type to long or int instead of number -
User exit for rounding off result value
Hi Gurus,
Is there any user exit available or std. functionality by which we can round off the result value. My client wants if the value is 192.5 or 191.8 then this value should be rounded off to 195. That means rounding in multiples 0f 5. Is there any exit available?
Regards
AmitIf in QM just specify the correct number of decimals for the characteristic, in your case 0. In config under plant settings you can set up the results recording settings to allow you to record one additional decimal then specified by the characteristic. The result is rounded to 0 decimals when displayed.
FYI - there should be no reason to have to use user exits to round off decimals in QM.
Craig
I didn't read the initial posting correctly. To round the whole number portion by 5 you will have to provide that logic yourself via the user exits already posted.
Craig
Edited by: Craig Snyder on Jan 13, 2010 2:56 PM -
hi all
i have created a quotation, and in quotation output i want the total value to be rounded of to nearest rupee how i have to do it?
regards
ragDear Tarun,
You can maintain DIFF Rounding off condition type in your pricing procedure to do the rounding off the total quotation value.
The DIFF condition type you need to keep after total value and assign account key to that.
Maintain Requirement as 13 Rounding as perT001R
CalType as 16 Rounding the total
BasType as 4 Net Value Plus Tax for that DIFF condition type in your quotation pricing procedure.
I hope this will help you,
Regards,
Murali.
Edited by: Murali Mohan.Tallapaneni on Dec 6, 2008 10:26 AM -
hai to all
could please tell me hoe to round off the NETWR or NETPR value according to our needs,,, if any function module available
please,,,Hi,
REPORT ZEXAMPLE.
TABLES T001R.
DATA V_AMTOUT LIKE BSEG-WSKTO.
PARAMETERS P_AMTIN LIKE BSEG-WSKTO.
WRITE:/ 'Original amount:', P_AMTIN,
/ 'Company', 15 'Currency', 35 'Amount'.
ULINE.
LOOP AT T001R.
CALL FUNCTION 'ROUND_AMOUNT'
EXPORTING
AMOUNT_IN = P_AMTIN
COMPANY = T001R-BUKRS
CURRENCY = T001R-WAERS
IMPORTING
AMOUNT_OUT = V_AMTOUT.
WRITE:/ T001R-BUKRS, 15 T001R-WAERS, 25 V_AMTOUT.
ENDLOOP.
Regards,
Sudhakar. -
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 -
Hi,
I need to Round off the value in MIRO. Example, we have Rs.1000/- as the price and tax as Rs.12.36/-, system should round off this 12.36 to Rs.13 and display the tax amount as Rs.13.
Is this possible in Standards?
If so , where do we need to make the settings?
Please help.
Thanks.Hi,
Please refer the below links..
MIRO-Rounding off
Rounding in MIRO
Rounding off MIRO for decimal
Thanks. -
Depreciation Amount for Asset taking in Round-Off Value and not in Decimals
Gurus,
When I run the Depreciation, the System is calculating amount in Round-off and not in decimals
Whereas I have knowledge that It shud calculate in decimals or to the exact amount whatever it comes, but the system is automatically rounding -off the value to the nearest ruppee
So please inform about what has gone wrong in my case.!!
Regards,
Nimish Agarwal
New DelhiDear:
Go to OAYO and do the do the necessary configuration there. Field Arithmetic Rounding
Using this indicator you specify that rounding should take place according to the rule: tenths up to and including 4 are rounded downward to the next whole number, starting with 5 they are rounded upward to the next whole number.
This refers to the decimal places of a currency.
Example: 4.49 is rounded to 4
4.50 is rounded to 5
Check the other
Regards -
Hi
I want to pick up decimals only in packed value.
Example
data: I_TOTAL LIKE J_1ITAXVAR-J_1ITAXAM1.
round off bellow value to my conditions.
if value is 1994.50 and bellow .50. i want to change 1994.
if value is 1994.51 and above .51 then only change to 1995
which function module works like as above my conditions.
or send to the detail code
Please send me as early as possible.
Regards,
Harihi Hari,
Use ROUND FM to achieve this ...
data : orig_amt type p decimals 10 value '0.29846',
round_amt type p decimals 4.
call function 'ROUND'
exporting
decimals = 4
input = orig_amt
sign = '-'
importing
output = round_amt
exceptions
input_invalid = 1
overflow = 2
type_invalid = 3
others = 4.
write : round_am.
Regards,
Santosh -
Dear Experts,
At my client site when the end user is posting invoices the total invoice value differs by a very small value ( As per there legacy system they were rounding of it Eg. As per there legacy system the invoice value is 190576 and as per SAP it is 19575.800 or 19576.400) the want it to get rounded off ie. If the value of the decimals 19575.800 it should be rounded of and should show 19576 and the 0.200 sholuld go to some other account or If the value is 19576.200 it should reduce by by 0.400 and the entry of -0.400 should also go to the G/L for round off. Is there any provisons in SAP for such postings?? can any body help me ?
Regars
Mehul
Edited by: Mehul P. Shah on Jul 5, 2009 6:47 AMIn OMR6 Pl.set Tolerance limit
If you want to round off the Values in the amount field at the time of invoice posting in MIRO.
There will be a small difference amount positive or neagtive in the Balance field.
System does not automatically round off the values. It is manuall rounding only.
Maintain the Tolerance key DIF for the Compnay code . Mainatin the Toleransace values says + or - 0.50 USD in OMR6. & selec the Check limit boxes -
Hi Guys,
See I want round off HECess in PO and J1IEX.
So I have maintained Rounding Rule for that Condition type and also I maintained item level excise duty round off Indicator for Procurement in Company code settings in Basic Settings.Even after this aslo EHcess is not getting Round off.
Can any expert Pls look into this and give me a Solution.Whether I have to do any settings or I have to apply any notes.
Thanks in advance
With Regards
H.Sathish KumarIn OMR6 Pl.set Tolerance limit
If you want to round off the Values in the amount field at the time of invoice posting in MIRO.
There will be a small difference amount positive or neagtive in the Balance field.
System does not automatically round off the values. It is manuall rounding only.
Maintain the Tolerance key DIF for the Compnay code . Mainatin the Toleransace values says + or - 0.50 USD in OMR6. & selec the Check limit boxes -
Rounding of a value to 2 decimal points.
Hi all,
I need to round off a value to 2 decimals.
For example:
A value 13.6789 should be rounded of to 13.67 and not 13.68Hi,
Thats Truncation not rounding, for data types P and F we cannot have sub field access,
so we cannot use offset, it leads to error results
and if we use
data : var type p decimals 2 they will be rounded hence
So, pass it to a character variable
and use write satement edition
example
data : var(7) type p decimals 4 value '13.6789 ' .
write / var.
data : var1(8) type c.
move var to var1.
write /(5) var1.
regards
prasanth -
Dear All,
I have done following setting for net value of rounding off .
OB90 Company code XXX INR 100
Condition type DIFF assigned rqt 13
*+Cal type+* 16
Basy Type 4.
But still system is not doing round off net value.
Regards
SainathDear Sainath,
Use T-Code V/06 & Select Condition type - DIFF.
Under Control Data 1 There is a box for Rounding Rule. Select option A, B or Blank depending on your requirement.
Alternatively, if you dont have Condition type (means it is a Sub-Total) then insert 17 in AltCTy column.
Hope this helps...
Give points if useful...
Thanks,
Jignesh Mehta -
Hello All,
I am having problems with rounding-off float values i.e. i want to convert a float point value to integer, but dont just want to drop off the decimal part, infact I want to round it off. For example, the value 28.6 should be converted to 29. How can i do this?
PLease reply as soon as possibleHi,
http://java.sun.com/j2se/1.3/docs/api/java/lang/Math.html#round(float)
BTW-I don't think this is an Advanced Language Topics...
Good luck,
ANeto -
Unplanned delivery cost picking rounding off value in sap miro
Dear Experts,
I have configured unplanned delivery costs to be posted to separate GL account. I have set the default tax code also. In OBYC i have set the frieght and transportation GL account against UPF transaction key. Now even though the user is not entering any value in unplanned delivery cost field, system is automatically taking the rounding off values(manually entered by user to match the vendor invoice) from MIRO line item and is posting to the freight account.
Query -2 - while reversing the already posted MIRO document in MR8M the rounding of value which has been taken automatically in unplanned delivery cost is showing in the error message as :
"Balance is not equal to zero: 0.35- inr"
please refer below screen shot for the error message
Please suggest.
Regards
Chinmayaplease read my blog it explains how to close a question, just replying "closed" does not do really this job
How to close a discussion and why
Maybe you are looking for
-
Crystal Report Viewer (flash based) is displaying partial of the flash interface. It is working well on Firefox 3.6.7 and below but not in Firefox 3.6.8. It is also working well on Internet Explorer and Chrome and Safari. Please check if you can advi
-
After iTunes 11.1 (126) Update - (iTunes) permissions won't repair?
After the new iTunes 11.1 (126) update, not only was I disappointed that COVER-FLOW hadn't been reinstated (we knew that), I had the the little inconvenience of the wrong tracks playing when a specific track, or album, had been selected. For example,
-
Problem in printing OCR B font.
Hello All, We are trying to print text in the font OCR B , we are gettting the correct output in the spool request but the print output is not exactly matching the spool output. The text which is printed in font OCR B is getting shrinked in size in t
-
hi, i have a JComboBox that has 3 items, when user choose one of them, how can i get it as a string to store into database. thanks a lot..
-
Apple Support "Could not duplicate issue."
I recently was having problems with the touchscreen of my 16GB wifi-only iPad and immediately sent in a call to apple support to try and resolve the problem. My problem was that the iPad would not respond to touch input on a portion about ½"-1" wide