CS4 angry with decimal values
Hi,
I can't find the answer to my problem :
I'm on Indesign CS4 (french) and Windows XP. Constantly, without no (obvious) reason, the fields x, y, height and width (top left) suddenly doesn't take decimal values anymore.
It drives me crazy!
I work for a printer, I daily use Indesign so it's important.
Apparently, the problem disappear when i restart the soft.
I tried with point and decimal point,
I tried to change one number when the value is already a decimal,
I checked my keyboard (AZERTY),
but nothing at all….
Each time, the soft display "Valeur numerique incorrect" (Incorrect numeric value).
Did someone already had this problem ? An even more important, does anyone have a solution?
Hope you can help.
THX
Are you using the correct separator for the decimal (comma vs dot -- not sure which would be right for you), and are the files all French in origin (not sure tht matters).
Check the Language settings in Windows under regional settings, and diable the keyboard shortcut to switch languages if you have multiple languages installed. That screws things up all the time becasue the OS interprests one of the common ID shorcuts as a call to switch languages.
You might also want to trash your prefs. See Replace Your Preferences
Similar Messages
-
Write all digitall ports (Channels) with decimal value
Hi,
it is possible to write all digital port with a decimal value for a device with 96 channels in the same time?
I have a USB 6509 device and I want to write each bit whit value 1 in loop (for the first port I write 0,1,2,4,8,16, 32, 64 and 128) with line "Dev3/port0/line0:7", but if I want to write all the ports in the same time how to set the line and the "DAQmx write.vi"?
Thank you.
Solved!
Go to Solution.
Attachments:
Untitled 1.vi 13 KBYou can setup reading and writing in 8-bit ports with the 6509. So you could just write 128 to "Dev3/port0". If you want to write to all 12 ports, I recommend making a task that is multiple channels on the 6509 module, each channel in the task being a port. You can then use the Multiple Channel, Single Sample to write your values. Your values will need to be in an array of U8.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Purchase order with decimal values in held status.
Hello, i have a SC. The quantity is decimal for the line item.When it was approved, the PO got a 'held' status.How do i release the PO and what can i do in order to accept decimal values in my SC ?
Hello,
Are you sure this is not a workflow issue? If it is held, someone either placed it in hold status or something like that. Since, there was nothing to suspect an application error, I don't think the decimals is your issue. If you feel that it is, have you checked OSS.
More information would be helpful....
Regards, Dean. -
Hi
I need to store a very long decimal value. something like
0.123456789012 in to the SQL data base.
However after doing some calculations , my value is trim to
0.12345
float value = v1 v2v3;
v1 is long and v2 is a float and v3 is in double.
anyone noes y? I need the value to be in full lenght (as in all the numbers after the decimal point).
many thanks !
yanbut my SQL database is designed to store float
value.
I haf no control of the SQL database..Don't assume that float in the SQL database is the same as float in Java code.
SQL-Server 2000's float is the same as a Java double. Depending on the RDBMS you are using, the same words may have a different meaning between the RDBMS and Java -
Error with decimal value using DG4MSQL
Hello,
when i make an update on a numeric column [numeric(38,15)] of a database table residing on a MS-SQL-Server 2005 it works fine when the value has no decimal part:
declare
v_test1 number := 1;
begin
update CUSTOMER@DBL_MSSQL4 set "freenumber1" = v_test1;
commit;
end;
/But if i use a value with a decimal part it gets an error
declare
v_test1 number := 1.2;
begin
update CUSTOMER@DBL_MSSQL4 set "freenumber1" = v_test1;
commit;
end;
/Error message:
ORA-28500: Verbindung von ORACLE zu Fremdsystem gab diese Nachricht zurück:
[Oracle][ODBC SQL Server Driver]Ungültiger Zeichenwert für Konvertierungsangabe
ORA-02063: vorherige 2 lines von DBL_MSSQL4
ORA-06512: in Zeile 7And here is the trace:
Oracle Corporation --- MONTAG MRZ 08 2010 15:20:14.940
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MONTAG MRZ 08 2010 15:20:14.940
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
HOSGIP returned value of "RECOVER" for HS_FDS_RECOVERY_ACCOUNT
HOSGIP returned a value for HS_FDS_RECOVERY_PWD
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "FALSE"
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "DG4MSQL"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for MSSQL
Facility:hsa
Class:MSSQL, ClassVsn:11.1.0.6.0_0006, Instance:DG4MSQL
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2010/03/08-15:20:14
RC=-1 from HOSGIP for "PATH"
PATH from environment is "D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\IBM\Informix\Client-SDK\bin;C:\Programme\Microsoft SQL Server\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0"
Exiting hgolofn, rc=0 at 2010/03/08-15:20:14
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2010/03/08-15:20:14
Entered hgolgon at 2010/03/08-15:20:14
reco:0, name:testuju, tflag:0
Entered hgosuec at 2010/03/08-15:20:14
uencoding=UTF16
Entered shgosuec at 2010/03/08-15:20:14
Exiting shgosuec, rc=0 at 2010/03/08-15:20:14
shgosuec() returned rc=0
Exiting hgosuec, rc=0 at 2010/03/08-15:20:14
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using testuju as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/03/08-15:20:14
HS_FDS_CONNECT_INFO = "OBELIXUS//testuju"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/03/08-15:20:14
dsn:OBELIXUS//testuju, name:testuju
optn:
Entered shgogohn at 2010/03/08-15:20:14
ohn is 'OraGtw11g_home1'
Exiting shgogohn, rc=0 at 2010/03/08-15:20:14
Entered hgocont_OracleCsidToIANA at 2010/03/08-15:20:14
Returning 2252
Exiting hgocont_OracleCsidToIANA at 2010/03/08-15:20:15
##>Connect Parameters (len=211)<##
## DRIVER=Oracle 11g dg4msql-OraGtw11g_home1;
## SERVER=OBELIXUS;
## Database=testuju;
#! UID=testuju;
#! PWD=*
## AnsiNPW=Yes;
## QuotedId=Yes;
## IANAAppCodePage=2252;
## ArraySize=100;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2010/03/08-15:20:15
DriverName:HGmsss22.dll, DriverVer:05.20.0053 (b0041, u0024)
DBMS Name:Microsoft SQL Server, DBMS Version:09.00.3068
Exiting hgocont, rc=0 at 2010/03/08-15:20:15
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/03/08-15:20:15
Entered hgoulcp at 2010/03/08-15:20:15
Entered hgowlst at 2010/03/08-15:20:15
Exiting hgowlst, rc=1 at 2010/03/08-15:20:15
SQLGetInfo returns Y for SQL_PROCEDURES
Exiting hgoulcp, rc=0 at 2010/03/08-15:20:15
Entered hgouldt at 2010/03/08-15:20:15
Exiting hgouldt, rc=0 at 2010/03/08-15:20:15
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber1
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber2
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber3
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber4
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber5
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber6
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber7
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber8
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber9
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber10
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber11
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber12
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber13
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber14
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber15
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber16
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber17
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber18
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber19
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber20
91 DATE Y 16 16 0/ 0 0 0 0 freedate1
91 DATE Y 16 16 0/ 0 0 0 0 freedate2
91 DATE Y 16 16 0/ 0 0 0 0 freedate3
91 DATE Y 16 16 0/ 0 0 0 0 freedate4
91 DATE Y 16 16 0/ 0 0 0 0 freedate5
91 DATE Y 16 16 0/ 0 0 0 0 freedate6
91 DATE Y 16 16 0/ 0 0 0 0 freedate7
91 DATE Y 16 16 0/ 0 0 0 0 freedate8
91 DATE Y 16 16 0/ 0 0 0 0 freedate9
91 DATE Y 16 16 0/ 0 0 0 0 freedate10
91 DATE Y 16 16 0/ 0 0 0 0 freedate11
91 DATE Y 16 16 0/ 0 0 0 0 freedate12
91 DATE Y 16 16 0/ 0 0 0 0 freedate13
91 DATE Y 16 16 0/ 0 0 0 0 freedate14
91 DATE Y 16 16 0/ 0 0 0 0 freedate15
91 DATE Y 16 16 0/ 0 0 0 0 freedate16
91 DATE Y 16 16 0/ 0 0 0 0 freedate17
91 DATE Y 16 16 0/ 0 0 0 0 freedate18
91 DATE Y 16 16 0/ 0 0 0 0 freedate19
91 DATE Y 16 16 0/ 0 0 0 0 freedate20
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean1
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean2
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean3
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean4
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean5
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean6
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean7
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean8
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean9
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean10
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean11
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean12
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean13
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean14
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean15
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean16
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean17
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean18
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean19
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean20
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean21
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean22
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean23
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean24
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean25
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean26
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean27
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean28
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean29
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean30
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean31
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean32
12 VARCHAR Y 50 50 0/ 0 0 0 0 custtypekey
-4 LONGVARBINARY Y 0 0 0/ 0 0 0 20 logo
3 DECIMAL Y 3 3 1/ 0 0 0 0 Active
91 DATE N 16 16 0/ 0 0 0 0 CreateDate
12 VARCHAR Y 50 50 0/ 0 0 0 0 CreateUser
91 DATE N 16 16 0/ 0 0 0 0 UpdateDate
12 VARCHAR Y 50 50 0/ 0 0 0 0 UpdateUser
12 VARCHAR Y 50 50 0/ 0 0 0 0 Status
12 VARCHAR Y 50 50 0/ 0 0 0 0 WFInstanceId
12 VARCHAR Y 50 50 0/ 0 0 0 0 RightPk
3 DECIMAL Y 12 12 10/ 0 0 0 0 ClientNo
3 DECIMAL Y 3 3 1/ 0 0 0 0 MassData
3 DECIMAL Y 3 3 1/ 0 0 0 0 OfflineData
12 VARCHAR Y 50 50 0/ 0 0 0 0 PersonPk
Exiting hgodscr, rc=0 at 2010/03/08-15:20:16
Entered hgotcis at 2010/03/08-15:20:16
Calling SQLStatistics for CUSTOMER
Calling SQLColumns for testuju.CUSTOMER
Exiting hgotcis, rc=0 at 2010/03/08-15:20:16
Entered hgoclse, cursor id 1 at 2010/03/08-15:20:16
Exiting hgoclse, rc=0 at 2010/03/08-15:20:16
Entered hgodafr, cursor id 1 at 2010/03/08-15:20:16
Exiting hgodafr, rc=0 at 2010/03/08-15:20:16
Entered hgopars, cursor id 1 at 2010/03/08-15:20:16
type:0
SQL text from hgopars, id=1, len=39 ...
00: 41445055 22204554 54535543 52454D4F [UPDATE "CUSTOMER]
10: 45532022 66222054 6E656572 65626D75 [" SET "freenumbe]
20: 20223172 3D203F [r1" = ?]
Exiting hgopars, rc=0 at 2010/03/08-15:20:16
Entered hgoexec, cursor id 1 at 2010/03/08-15:20:16
octype=2
hgoexec, line 91: Printing hoada @ 02175BCC
MAX:1, ACTUAL:1, BRC:1, WHT=3
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 65 0 0/ 0 0 0 0 ?
Entered hgoprbv at 2010/03/08-15:20:16
hgoprbv, line 119: Printing hoada @ 02175BCC
MAX:1, ACTUAL:1, BRC:1, WHT=3
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 65 0 0/ 0 0 0 0 ?
Exiting hgoprbv, rc=0 at 2010/03/08-15:20:16
Entered hgopoer at 2010/03/08-15:20:16
hgopoer, line 159: got native error 0 and sqlstate 22018; message follows...
[Oracle][ODBC SQL Server Driver]Ungültiger Zeichenwert für Konvertierungsangabe
Exiting hgopoer, rc=0 at 2010/03/08-15:20:16
hgoexec, line 216: calling SQLExecute got sqlstate 22018
nrows:0
Exiting hgoexec, rc=28500 at 2010/03/08-15:20:16 with error ptr FILE:hgoexec.c LINE:216 ID:Executing SQL stmt
Entered hgocomm at 2010/03/08-15:24:22
keepinfo:0, tflag:1
00: 44555248 45522E42 53455247 44522E53 [HRUDB.REGRESS.RD]
10: 2E534D42 2E564544 4F2E5355 4C434152 [BMS.DEV.US.ORACL]
20: 4F432E45 65312E4D 33366465 322E6631 [E.COM.1eed631f.2]
30: 2E34332E 38363832 31 [.34.28681]
tbid (len 10) is ...
0: 00220002 00007009 0104 [.."..p....]
cmt(0):
Entered hgocpctx at 2010/03/08-15:24:22
Exiting hgocpctx, rc=0 at 2010/03/08-15:24:22
Exiting hgocomm, rc=0 at 2010/03/08-15:24:22
Entered hgolgof at 2010/03/08-15:24:22
tflag:1
Exiting hgolgof, rc=0 at 2010/03/08-15:24:22
Entered hgoexit at 2010/03/08-15:24:22
Exiting hgoexit, rc=0 at 2010/03/08-15:24:22The init file for the DG4MSQL look like this:
HS_FDS_CONNECT_INFO=OBELIXUS//testuju
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVERAny ideas what i have to change to be able to update numeric columns with values containing a deciomal part using DG4MSQL?
Many thanks in advance for any help.
Regards HartmutHello Mike,
here the results of the given select statements:
select * from NLS_DATABASE_PARAMETERS;
NLS_LANGUAGE AMERICAN
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8MSWIN1252
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_RDBMS_VERSION 10.2.0.4.0select * from NLS_INSTANCE_PARAMETERS ;
NLS_LANGUAGE GERMAN
NLS_TERRITORY GERMANY
NLS_SORT
NLS_DATE_LANGUAGE
NLS_DATE_FORMAT
NLS_CURRENCY
NLS_NUMERIC_CHARACTERS
NLS_ISO_CURRENCY
NLS_CALENDAR
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIME_TZ_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_DUAL_CURRENCY
NLS_COMP
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSEselect * from NLS_SESSION_PARAMETERS ;
NLS_LANGUAGE GERMAN
NLS_TERRITORY GERMANY
NLS_CURRENCY €
NLS_ISO_CURRENCY GERMANY
NLS_NUMERIC_CHARACTERS ,.
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT MM/DD/YYYY HH24:MI:SS
NLS_DATE_LANGUAGE GERMAN
NLS_SORT GERMAN
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR
NLS_DUAL_CURRENCY €
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSEThat was easy, but how and where to read the settings of the MS-SQL-Server?
All i can find is
Sprache Deutsch (Deutschland)
Standardsprache EnglischI have defined one more parameter in the ini<...>.ora file:
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252and now it works!
(With "HS_LANGUAGE=GERMAN_GERMANY.WE8MSWIN1252" is gives the same old error.)
Many thanks for your help!
Reagrds Hartmut -
Editable alv not update with decimal values
Friends.
i have editable alv, there is a editable field is with 3 decimal places.
my problem is when i changed there value as 15 its take 1.5 and if i change as 150 its take 15.
can you please help me to solve my problem?
thanks in advance!Hi Friend,
This Problem will be solved in below method.
Define Your filed type in currency.
Eg. vnumber TYPE CE1SAS1-KWABLK (kwablk is a currency field).
In FIELDCATALOG add currency.
Eg:
lw_fcat-fieldname = 'VNUMBER'.
lw_fcat-edit = 'X'.
lw_fcat-datatype = 'CURR'. -
Issue with Decimal Values in Bex Reporting
hello gurus,
I have extracted data from 2LIS_13_VDITM. In the ODS when I look at the Active data, column Billing Qty Sls Units - it shows "13,190 " and the Sales Unit is "KM".
ITEM SALES UNIT Billing Qty :Sales Unit
10 KM 13,190
20 KM 0,500
In R3 table VBRK also it stores in the above format.
But while reporting it rounds of the data as 13,000 and 1,000.
How can i get the actuals, in reporting also.
Pls advise. thanks in advance.Hi Eugene -Scaling it to 1 did not help.
Hi Roberto -> I had a look at the entries in T006 for KM (kilometers)and M(meters). this is what i got.
[Int. meas. unit] [Decimal.pl.rnd.] [Decimal places]
KM | 0 | 0
M | 2 | 0
And in SPRO in Src System and BW Sytem there is no mention of KM and meters.
Message was edited by: bw
Message was edited by: bw
Message was edited by: bw -
Download file with fields with decimal values.
Hi,
I need to download infotype records to a file.
I need a comma deleimited file.
I have got all the details from Infotype to my internal table 'IT_OUTPUT_OPR'
my code is as follows:
LOOP AT IT_OUTPUT_OPR.
CLEAR IT_FILE_OPR.
NUM = 0.
DO.
Get name of next structure field into <f>
ASSIGN COMPONENT SY-INDEX OF STRUCTURE IT_OUTPUT_OPR TO <F>.
IF SY-SUBRC <> 0. EXIT. ENDIF. " No more fields in structure
LEN = STRLEN( <F> ).
IT_FILE_OPR+NUM = <F>. " Write field to output table
NUM = NUM + LEN.
WRITE: ',' TO IT_FILE_OPR+NUM(DELIMIT_LEN).
NUM = NUM + DELIMIT_LEN.
ENDDO.
APPEND IT_FILE_OPR.
ENDLOOP.
my internal table contains 'decimal' fields too.
so I am getting the following runtim error: 'OBJECTS_NOT_CHARLIKE'
at the position:
LEN = STRLEN( <F> ).
Please could anyone tell me how could this issue be resolved?
any pointers in this regard would be helpful.
Thanks,
SaherTry something like following
LOOP AT IT_OUTPUT_OPR.
CLEAR IT_FILE_OPR.
NUM = 0.
DO.
* Get name of next structure field into <f>
ASSIGN COMPONENT SY-INDEX OF STRUCTURE IT_OUTPUT_OPR TO <F>.
IF SY-SUBRC <> 0. EXIT. ENDIF. " No more fields in structure
* LEN = STRLEN( <F> ). "DELETE
DESCRIBE FIELD <F> OUTPUT-LENGTH LEN. "INSERT
IT_FILE_OPR+NUM = <F>. " Write field to output table
NUM = NUM + LEN.
WRITE: ',' TO IT_FILE_OPR+NUM(DELIMIT_LEN).
NUM = NUM + DELIMIT_LEN.
ENDDO.
APPEND IT_FILE_OPR.
ENDLOOP. -
Writeback with 'NA' and decimal values
Hi All!!!
We are making some tests on the writeback with the BIBeans; we migrated a db from express to 10gR2 and converted it in
standard form and we try the writeback on this aw.
We found some problems when in the worksheet there are one or more 'NA' values to writeback.
In particular when we call the submitChanges method on the crosstab object (like in the BI sample) if there are one or more
'NA' values the submitChanges fails and return false.
We solve this problem implementing the cellSubmitting method and catching the cellSubmittingEvent; in this method we
substitute the values 'null' for the QDR with an "NA" string.
We also found that the decimal values (like 180.4) make the writeback to fail; we think it is due to the fact that the
writeback engine add a '.0' to all the values that we try to writeback so for decimal values we have two character '.'; we
solve this problem with a support's variable for converting the value to a string and pass it to the set data to the QDR to
writeback.
Is this the rigth way?
Is this a bug?
Following We report the code we implementing for this method
public void cellsSubmitting(CellsSubmittingEvent e)
String app;
ArrayList qdrCollection = (ArrayList)e.getQDROverrides();
if (qdrCollection != null)
int iSize = qdrCollection.size();
for (int i =0; i < iSize; i++)
QDRoverride qdrOverride = (QDRoverride)qdrCollection.get(i);
if(qdrOverride.getData()==null)
qdrOverride.setData("NA"); //for the problem with 'NA' values
else
app=qdrOverride.getData().toString(); //for the problem with decimal values
qdrOverride.setData(app);
Hi!
Daniele De FaveriThanks for your post, it is great solution and it's work for me. I'm supprised that those oversights are still in bibeans and nobody from Oracle havent answered your question.
Message was edited by:
Moks -
Decimal values for a field in ALV
Hi,
I created an ALV report.
It has a field which will display the calculated value as '103,839,389'. This should be dispalyed as '103,839,389.00' with decimal value, I mean with 2 decimal places, how can this be achieved?
Thanks,
Kumarhi check this..
use these in populating the fieldcat..
it_fieldcat-decimalsfieldname = fieldname
it_fieldcat-decimalstabname = tabname
it_fieldcat- decimals_out = 2.
regards,
venkat -
Decimal values not showing in PO output
In PO qty is created with decimal values ( 30.500 M)
when print the output it is coming as 31 m ( values is getting rounded off)
PO is created with ref to sales order , where as qty is EA
in SO . ( Qty EA is not affecting PO / PR)
Please advise on the PO configuration part to get the PO output with decimal values.
Thanks & regards
Rayif PO has the correct quantity with decimal places, then check the sapscript form.
Muralidhar -
Decimal Value for Percentage distribution on Account Assignement in SES
Dear Experts,
While creating service entry, the qty should be distributed on percentage basis for Account assignment with decimal value.
For Example
Say Service 100% done but value is 10,000..but there is distribution to different cost center say K, L , M, N
K - 21.25% - value 2125
L - 32.70% - value 3270
M - 28.93% - value 2893
N - 17.22% - value 1722
So i need to customize decimal values for Percentage distribution for Service entry sheet creation. Please advice me, if you know the solution for this
Regards
SaravananHi
In Transaction CUNI, as lot is a created Unit of measure wuth no dimensions select No Dimensions & continue
Now change the decimal places for the Unit from3 to 5.
In the service entry sheet you will be able to maintain the lot upto 5 decimals....
But there is again aproblem in that as the standard field Quantity MENGE has only 3 decimal places allowed, so agian you will encounter a problem.
So the best method to follow is advise the user to go for a 3 decimal reounding off the work.
Hope you understand the Problems that arise when decimal places are changed we need to take a lot of things into considertaion before going forward
Thanks & Regards
Kishore -
Webi Report ignores decimal values
Hi,
I have a report which takes data from a BI Infocube. I have BOE XI 3.1 installed on two systems. When I run this report on one system, the report works fine and numeric values are displayed along with decimal values ( ex 100.25). However the same report when executed in the other system ignores the decimal values (ex 100).
I check the preferred viewing locale in the preferences and it is set to default values in both the systems.
I have no clue what could have gone wrong.
Any inputs on this issue will be highly appreciated.
Regards,
Rahul MainkarYou are right. No Fix Pack is installed.
Probably the system, which is NOT truncating the decimal part has been installed on a Windows server where the local system account has EN-US regional settings. This should not be the case for the system which is truncating your numbers.
A work-around is to create a domain account which is member of the local administrators group on the BOBJ servers. You should log on once on each of your two servers using this account and adjust the Regional Setting (Start->Control Panel) to English-United States. Invoke the CCM utility and open the Properties window of your SIA and Tomcat. Enter the credentials of your new user in the "Run as" area and restart your services. This will solve your problem.
Regards,
Stratos -
Hello,
I am constantly working with time values of the format Minutes:Seconds.Tenths of Seconds. So usually the values look like 2:01.8. I need to average these values, find standard deviations, etc...
I'm having lots of trouble doing this in Numbers. Any advice?
HenryIn any spreadsheet I would suggest working with decimal value representations of the actual data for finding Deviations etc... just make a column that can be hidden after you've gotten your formulas figured out. Base your formulas on those numbers and convert back into your preferred format for the final answers.
Hope this gives you some ideas,
Jason -
Get width/height or layer bounds with decimals values
is it possible to retrieve size or bounds of objects with decimal values?
Thank youA shape layer or any other layer with a vector mask could have decimal pixel values if you only want the area defined by the mask.
But if the paths are curved it might be difficult to determine the extreme values.
The points’ coordinates are easy enough to determine but determining the most high, left etc. expansion of a curve seems difficult to me.
The only work-around that I know is calculating a number of points along the path and evaluating those.
Maybe you are looking for
-
Is it possible for double view in iCal?
It would be great if I could have my week view, and month view side by side. Or one on top of the other. I'm not talking about the month calender in the corner, I mean the full on moth view. Is this possible? Thanks
-
We can not clear all recents(30 recents call). When Tango show "No recents call". We touch other buttons and come back to Recents button again. It still show 30 recents call.
-
User Exit to update user status at VA01/VA02
Hi Expert Please help identify any User Exit to update User Status stored in tables (JSTO/JEST), at time of sales order (Business Object 2032) creation / change. Requirement is to set check mark on a specific user status in case of a material master
-
i love car racing games so i would like a car racing game for my macbook pro lion OS X 10 any suddestions??
-
Connecting iBook G3 as second monitor for iBook G4
I want to know if (and then how) I can connect my iBook G4 (running on OSX (10.4.5)) to an iBook G3, ultimately connecting the iBook G3 to a data projector, so that I can use presenter tools in PowerPoint. iBook G4, iBook G3 Mac OS X (10.4.5) iBook G