Decimal points in quantity more than 3 digits
Hi
I know that decimal point in quantity cannot be longer than 3 digitis - it's structure of field/ table but we have this requirement from pharma company and it's a kind of general requirement of pharma, life science, etc so I wonder how do we handle this technically beside change from Kg to gram. My collegue said her x-collegue said cannot it with modify table or add field to table which not clear to me.
Anyone has experience on this, pls share
Thanks & Regards,
Chanchana
Hi,
Qty will be measured bu UOM which will be defined at CUNI.There you may change the decimal places for the unit.Please check.
Other wise create a unit Gram and provide the conversion KG = 1000gm.
Regards,
Similar Messages
-
How can I to Update all colum with more than 3 digits
Hi
How can I to update a tabel in all column where values have more than 3 digits in decimal point , eg:
10.35789882232 wil be 10.358
11.4523455 will be 11.452
Using Round (number, 3), How can I to know What columns have more than 3 digits in decimal ?Always wonder about why someone would ask.
XYZ@TTST> select 1/3*3 from dual;
1/3*3
1
XYZ@TTST> set numw 50
XYZ@TTST> select 1/3*3 from dual;
1/3*3
.9999999999999999999999999999999999999999
Remember, Oracle has to convert numbers to its internal format, and not all numbers convert back and forth cleanly. So the display may make things look different than they are.
There are legitimate reasons to round existing data (like, they should have been rounded before insertion), but there are also illegitimate reasons, like confusing display with storage.
See http://laurentschneider.com/wordpress/2009/03/11.html#comments -
How do you get the integer of a number with more than 10 digits
I can't seem to be able to get the integer of a number with more than 10 digits.
ex:
integer(12345678901.3) returns -539222987 when it should really return 12345678901
Thanks for the help
(I'm on director 11 at the moment)You can write a Parent script to represent Big Integers. I wrote some code to get you started. It consist of two classes - "BigInt" and "Digit". At this point you can only add two "BigInts" and print out the value with a toString() function. Note that you pass a String to the "BigInt" constructor.
In the message window you could enter something like:
x = script("BigInt").new("999999999999")
y = script("BigInt").new("100000000000000000004")
z = x.add(y)
put z.toString()
And the output window will show:
-- "100000001000000000003"
Here are the two Parent scripts / Classes
-- Digit
property val
property next
on new me, anInt
val = anInt
next = 0
return me
end new
-- BigInt
property Num
property StringRep
on new me, aString
Num = script("Digit").new(Integer(aString.char[aString.length]))
curNum = Num
repeat with pos = aString.length - 1 down to 1
curNum.next = script("Digit").new(Integer(aString.char[pos]))
curNum = curNum.next
end repeat
return me
end new
on add me , Num2
curNum = Num
curNum2 = Num2.Num
result = curNum.val + curNum2.val
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
sum = script("Digit").new(result)
curSum = sum
curNum = curNum.next
curNum2 = curNum2.next
repeat while curNum.ObjectP AND curNum2.ObjectP
result = curNum.val + curNum2.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum = curNum.next
curNum2 = curNum2.next
end repeat
repeat while curNum.ObjectP
result = curNum.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum = curNum.next
end repeat
repeat while curNum2.ObjectP
result = curNum2.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum2 = curNum2.next
end repeat
StringRep = ""
me.makeString(sum)
return me.script.new(StringRep)
end add
on toString me
StringRep = ""
me.makeString(Num)
return StringRep
end toString
on makeString me, digit
if not digit then
return
end if
me.makeString(digit.next)
put String(digit.val) after StringRep
end makeString -
Hi,
Is there any solution to allow me key in more than 13 digits (without decimal place) for the amount in one transaction? (FTR_CREATE)
Thanks,
YangHi, Yang
My colleagues came across that problem recently. I advised them to split the transaction and create several transaction instead thereby avoinding using more than 13 digits.
Another way that came to my mind is to create a new currency with excnage rate (say) 1:1000 . And create the transaction using this currency.
Can't say that both solutions are perfect but I am afraid these are only ones.
Konstantin. -
HELP! TextField "NUMERIC" dont let me enter more than 9 digits
Hi there,
Firstly: I 've search for this question, and I ve found an old post very similar to it.
(here is it: [http://forums.sun.com/thread.jspa?messageID=10706126] )
But, unfortunately, the aswerings did not satisfy me...
The problem is:
I have a TextField that should receive a Credit Card number, meaning, it has to have 15 or 16 numbers.
If I set it as "NUMERIC", when I run the app on my real cellphone (a SonyEricsson w810i), it dont let me enter more than 9 digits. Stringe thing here is: but on emulator, I could...
txtCardNo = new TextField("Card Number", null, 16, TextField.NUMERIC);Instead, if I set it as "ANY", user can type up to 16 numbers, but the problem is that field will accept ANY character, and I dont want that way: I want that this field input acts accepting only numbers.
How could I fix it?
Shall I use a function to mask this field? If yes, how?
Or this could be a problem of JVM implementation on this particular cell phone?
Please, send me any examples and/or links.
Thanks very much.
=Marcello=
PS1: I am quite newbie on Java things...
PS2: I am working on this using NetBeans 6.5.1 and Sun Java(TM) Wireless Toolkit 2.5.2 for CLDCYuo can set an ItemStateListener to the Form containing the TextField, and validate the user input in itemStateChanged(...). In case of invalid input, I would show an Alert with an appropriate message, and blank out the content of the TextField (or set it to a default value, as appropriate).
db -
Restrict the user to put more than 22 digits
hi Friends,
i am using jdeveloper 11.1.1.6.0.
using below code for price , i want to restrict the user to give more than 22 digits.
if user will put more than 22 digits , system won't allow to write the digits.
<af:inputText value="#{rate.Price}" id="it2"
autoSubmit="true"
disabled="#{pageFlowScope.PriceBean.updatesAllowed ne 'Y'}"
rendered="#{rate.RateType eq 'F'}">
<af:convertNumber type="number"
maxIntegerDigits="22" maxFractionDigits="12" groupingUsed="false"/>
</af:inputText>
but it is not working.
any useful comments .
Edited by: 964331 on Mar 22, 2013 4:06 AMHi,
use maximumLength="22"
<af:inputText value="#{rate.Price}" id="it2" maximumLength="22"
autoSubmit="true"
disabled="#{pageFlowScope.PriceBean.updatesAllowed ne 'Y'}"
rendered="#{rate.RateType eq 'F'}">
<af:convertNumber type="number"
maxIntegerDigits="22" maxFractionDigits="12" groupingUsed="false"/>
</af:inputText>
in your inputtext
Regards,
Vikas
Edited by: 812903 on Mar 25, 2013 12:32 AM
Edited by: 812903 on Mar 25, 2013 12:32 AM
Edited by: 812903 on Mar 25, 2013 12:58 AM
Edited by: 812903 on Mar 25, 2013 12:58 AM -
Please allow more than 13 digits in the financial report calculation
Dear SAP development team,
I would like to suggest the financial report programming code or query or what else that is used to generate the financial reports (TB;P&L;BS) could allow the calculation of debit or credit more than 9223372036854. It made me laugh that it is not allowed.
Why I said so ? Here are the reasons:
1. The report data is not stored on a specific table
2. If the report has calculated debit or credit greater than 9223372036854 while report processing is taking place, the report should still be appears but the amount of debit or credit that greater than 9223372036854, please put the zero on the debit or credit.
I expect that we could still use the report either money overflow happened.
JohnHi, Yang
My colleagues came across that problem recently. I advised them to split the transaction and create several transaction instead thereby avoinding using more than 13 digits.
Another way that came to my mind is to create a new currency with excnage rate (say) 1:1000 . And create the transaction using this currency.
Can't say that both solutions are perfect but I am afraid these are only ones.
Konstantin. -
Transfer order craeted with a quantity -- more than delivery quantity
Transfer order created with a quantity more than the delivery quantity. I have tested in several ways but didn't get the root cause for it.
Any possible ways available to create a TO like this????????Hi Aktar,
You have not mentioned the type of TO. Where did you get this scenario. was TO created Manually or Automatically? please confirm.
Anyway incase of manual creation of TO, User keyin quantity enters morethan delivery quantity, then there is a chance of excess picking compared to delivery quantity. but this is only possible if the sufficient SKUs are available at this time.
please let me know.....
Regards
Venkat -
Withdrawal quantity more than Committed Quantity
Hi Gurus,
I am facing 1 problem with Withdrawal quantity for 1 component for Production order.
I have a Production Order of 430 Quantity .
When I check components , it is showing Committed Quantity as 435 while withdrawal Quantity as 439.
We have activated backflush.
Can anyone tell me why Withdrawal quantity more than Committed Quantity and order quantity?
--DenishHi,
Commited quantity is the quantity which, according to the availability check, is available.
Wwithdrawal quantity is the quantity that has already been issued.
Probably, you issued this component more than you planned, however you have done this issue with backflush of production confirmation. Therefore, issue is still on planned issue and withdrawal quantity exceeds your planned quantity, and commited quantity is less than withdrawal quantity.
Regards.
Onat -
Datagrid doesn't display numbers with more than 19 digits
With patch 1 the SQL Developer datagrid should display numbers with more than 10 digits. But the limit seems to be 19 digits now. Number20 and Number21 fields are not displayed on my machine.
WinXP Prof. 2002 SP2
SQL Developer 1.0.0.14.67
Personal Oracle Database 10g Release 10.2.0.2.0 - Production with options Partitioning, Spatial and OLAPI saw this as well and am working on fixing it.
-kris -
Enhance key to more than 32 digits for hierarchy master data?
Dear All,
We face a big issue on master data customization on BW 3.5.
Is there a way to custo a master data with more than 32 digits in key when a hierarchy is necessary ?
Thanks in advance for your help.
CT.In the 3 tabs of a DTP, I see nothing with something like "duplicate object". Could you give me the name of this fonction that you see plz ?
Instead, I see a tab in the datasource with something like that (Delivery of Duplicate Data Recs).
But I can't change it :(.
Edited by: Shamane Citadin on Jun 11, 2008 6:03 PM -
SAP sales return system should not accept quantity more than open quantity
Dear All
During sales return user is able to enter the quantity more than open quantity and system is allowing for that enter
Plz tell me how to restrict this
Regards
ArunNo need of exit for this.
Go to VTAF, select the item category for the combination of order type and billing type and maintain "+" for the field "Pos./neg. quantity"
Also go to OVAH and change message class V4 no 229 to E will work.
Now try to create a return order and increase the quantity. Sytem will not allow to do so but if you create a new line item, then system will also for which, you can go for exit already suggested.
thanks
G. Lakshmipathi -
541 quantity more than PO quantity
Dear Freiends,
For subcontracting PO we can send (541) components more than the quantity maintained in Purchase order. How to restrict this ? We donu2019t want to send material more than Purchase order component quantity.
Pl send your views
Regards,
PoonamAnalyse your process.
If you dont want to send more than needed for one PO, why do your shipping guys then send more?
Dont you use ME2O as starting point for your supply to the subcontractor.?
The movement to a subcontractor is not PO related, and I doupt that it can be made PO related with the given intruction by kunal ingale, as SAP has stated in an OSS note, that it is not possible (but try it, I am intrested on your findings).
It makes sense that it is not PO related. if you are doing ongoing subcontract business, then you probably like to optimize your freight rates, so you may send raw materials just once a month to your subcontractor, and not always partial truck loads that are more expensive. -
Currency amount more than 15 digits
Hi all,
Please suggest how do I enter amounts (Indian Currency)greater than or equal to 15 digits + decimal places in F-02 transaction.It seems to be allowing only 11 digits before decimal point.
Is there a way...
thanks in advance2) alternatives:
1)convert your amount in a "hard currency" like or $
2) split your amount per abap-report and post it with rfbibl00
A.
Message was edited by:
Andreas Mann -
Confirmed quantity more than the ordered quantity in sales order.
Hi All,
We have a situation wherein the confirmed quantity is more than the ordered quantity.
a.) SO was created for qty1.Two schedule lines were proposed as stock was not available.
b.) When stock came in and most probablly, when the rescheduling job calling tcode V_V2 was run, both the schedule lines were confirmed.
c.) As a result, further processing is not done by system as confirmed quantity is more than ordered quantity.
Also we noticed that double schedule line was confirmed for a another order even without the rescheduling job is run.
Can you please suggest as to why this is scenario is occuring and how we can avoid the reoccurence? Thanks in advance!!
Regards,
Jeevan PenumatsaHi Jeevan Penumatsa
Welcome to SDN forum
Generally two schedule lines will take place if stock is not available in your plant or if open orders are there for that material also. So check the stock in MMBE
.If there are any backorders then it might be getting added in the created sales order and then you might be getting in two schedule lines
Regards
Srinath
Maybe you are looking for
-
IPod Updater 2006-06-28 killed 2GB Nano and a 30GB Video iPod
Both were bought in december 2005, I was impressed as they both have worked totally perfect until Monday, plugged fully charged hardley used 30GB Video into front USB on a G5 1.6, iTunes booted and a box appeared saying iPod needed update, so I click
-
Photos from Photo Booth to Folder gone
I exported the photos from photo booth to a folder on the desktop and then deleted the photos off photo booth and now its gone from the folder also. but for some reason its not on the trash bin. is there a way i can get those photos back?
-
Dynamic add column in Bex report
Hi all, we have input parameter is month wise. For example if i have input 12.2011 - 03.2012 Output: 12.2011--01.2012--02.2012-----04.2012 50kg - 70--90-- 54 Like above dynamically have to change column based on month input parameter. Ple
-
How to determine highest profit group center
Hi, Is there any bapi or fm or database table that can show all profit center group a profit center belong?
-
Hi I want to change one field in BADI(CACL_CHARACTER_INPUT) with name T16FB-KZFAE (Changability indicator for Purchasing Docs). I have implemented one of the BADI method as below : method IF_EX_CACL_CHARACTER_INPUT~SET_CHARACTER_INPUT. if sy-tcode eq