A structure with mutiple data types or array of array
I want to read some soft of a table from a text file and want to store in a structure (not in database) for future use. I want the structure to have rows and columns when I need to reach. Colums should store multiple data types (int and/or string). I have examined Collections that only store one data type and only one dimension. I need a structure that holds multiple datatypes and at least 2 dimension. In short I need array of array? Any example or suggestion?
Here is the colection part. But I cound not get it finished. Stuck at getting data from collection.. How could I read from the collection
public static Long ReadFromFile() {
List liste = new ArrayList();
try {
FileReader file = new FileReader ("abc.txt");
BufferedReader buffer = new BufferedReader (file);
String line = "";
int i = 0;
while ((line = buffer.readLine())!= null) {
if (i>0) {
DataS kontrol = new DataS();
String [] temp = null;
temp = line.split("\t");
for (int j=0; j< temp.length; j++) {
if (j== 0 && StrUtil.ValidNumber(temp[0])>0 ) {
kontrol.set_C_id(temp[0]);
} else if (j== 1) {
kontrol.set_C_enabled(temp[1]);
} else if (j== 2) {
kontrol.set_C_table(temp[2]);
} else if (j== 3) {
kontrol.set_C_field(temp[3]);
} else if (j== 4) {
kontrol.set_C_xmlobjectname(temp[4]);
} else if (j== 5) {
kontrol.set_C_xmlsubobjectname(temp[5]);
} else if (j== 6 && StrUtil.ValidNumber(temp[6])>0 ) {
kontrol.set_C_controltype(temp[6]);
} else if (j== 7) {
kontrol.set_C_datatype(temp[7]);
} else if (j== 8 && StrUtil.ValidNumber(temp[8])>0 ) {
kontrol.set_C_datalength(temp[8]);
} else if (j== 9 && StrUtil.ValidNumber(temp[9])>0 ) {
kontrol.set_C_dl(temp[9]);
} else if (j== 10) {
kontrol.set_C_conditionop(temp[10]);
} else if (j== 11) {
kontrol.set_C_conditionval(temp[11]);
liste.add(kontrol);
i++;
buffer.close();
catch (IOException e) {
return Long.valueOf(-1);
/*For reading test*/
try{
DataS stored_kontrol = new DataS();
Iterator itr = liste.iterator();
int i = 0 ;
while(itr.hasNext()) {
//Object obj = itr.getClass();
// Here were I stuck... How can I read from collection which is filled with object
} catch (Exception e) {
return Long.valueOf(-1);
return Long.valueOf(1);
}
Similar Messages
-
Define variable with void data type.
Hi,
I would like to define a variable and a structure with void data type.
How could I define it?
regards.HI SijinK,
Thanks for the reply.
I want to call some "dll" in the TestStand. In this "dll", function requires some variable of void data type as input.
e.g. dll - Test.dll
Function - short int Func_a (void var_a, long var_b, void *var_c, custom_struc *var_d)
I want to call this function in the TestStand. Using "C/C++ Dll" adapter module and "Action" step type, I will call this dll and its function.
For passing values to this function, I need to define some variable with respective data type.
Please let me know how could I do this.
Regards. -
How to use the JE database with other data types than byte arrays?
Hi! I searched the javadoc of Berkley DB JE, for a way to introduce entry (but I need also retrieve) data with other type than byte arrays, e.g. String, or anything else, as int may be, etc.
Still, I didn't find any such way, because the main (only?!) method to entry data into an open database - according what I found in javadoc - is:
"public OperationStatus put(Transaction txn, DatabaseEntry key, DatabaseEntry data) throws DatabaseException"
and both this and the corresponding method for retrieves, are based on the same DatabaseEntry type, which allow only entry data on byte[] support.
What if I need to use Strings or int, or even char? I must do a special conversion from these types, to byte[], to use the database?
Thank you!On the doc page (this is also in the download package),
http://download.oracle.com/docs/cd/E17277_02/html/index.html
see:
Getting Started Guide
Java Collections Tutorial
Direct Persistence Layer (DPL)
All of these describe how to use data types other than byte arrays.
--mark -
How to insert data in a column with uniqueidefier data type
Guys,
I need insert data in a column with uniqueidefier data type, when i am trying to that getting error.
error message says: "Conversion failed when converting from a character string to uniqueidentifier."
I have data in table a col1,col2,col3,col4 - col3,col4 has datatype as varchar and i am updating table b columns col1,col2 with table a col3 and col4.
Please guide how to do it.Hi,
Not any String can be convert to uniqueidentifier.
1. you have to make sure u use a value which is fir to be uniqueidentifier
2. Use convert or cast in the insert query in order to convert the string into uniqueidentifier
insert X ... convert(uniqueidentifier, 'string which fit to be convert to uniqueidentifier')
Please post DDL+DML for more specific help
DDL = Data Definition Language. In our case that is, CREATE TABLE statements for your tables and other definitions that are needed to understand your tables structure and there for let us to test and reproduce the problem in our server. Without DDL no one
can execute any query.
How to get DDL: Right click on the table in Object Explorer and select script table as CREATE. Post these create table scripts here.
DML = data manipulation language is a family of queries used for manipulating the data it self like: inserting, deleting and updating data. In our case we need some sample data in order to check the query and get result, so we need some indert query for
sample data.
If you post a "create query" for the tables and "insert query" with some sample, then we could help you without Assuming/Guessing. There is a reason that DDL is generally asked for and expected when discussing query problems - it helps
to identify issues, clarify terminology and prevent incorrect assumptions. Sample data also provides a common point of reference for the discussion. A script that can be used to illustrate or reproduce the issue you have, will encourage others to help.
[Personal Site] [Blog] [Facebook] -
Call a method with complex data type from a DLL file
Hi,
I have a win32 API with a dll file, and I am trying to call some methods from it in the labview. To do this, I used the import library wizard, and everything is working as expected. The only problem which I have is with a method with complex data type as return type (a vector). According to this link, import library wizard can not import methods with complex data type.
The name of this method is this: const std::vector< BlackfinInterfaces::Count > Counts ()
where Count is a structure defined as below:
struct Count
Count() : countTime(0) {}
std::vector<unsigned long> countLines;
time_t countTime;
It seems that I should manually use the Call Library Function Node. How can I configure parameters for the above method?You cannot configure Call Library Function Node to call this function. LabVIEW has no way to pass a C++ class such as vector to a DLL.
-
JDBC insert with XMLTYPE data type
Hi,
SOAP to JDBC scenario. Oracle 11G as a receiver.
Requirement is to insert whole xml payload message in one of Oracle table fields as a xml string. Target oracle DB table column is defined with XMLTYPE data type, it has capacity to hold xml data more than 4GB. I am using graphical mapping with direct INSERT statement.
When I try to insert xml payload with smaller size transaction goes through. However when the xml payload size increases it is giving following error in JDBC receiver communication channel monitoring.
Could not execute statement for table/stored proc. "TABLE_NAME" (structure "StructName") due to java.sql.SQLException: ORA-01704: string literal too long
Here is insert statement as in communication channel monitoring. (Note: XML payload with bold characters is truncated)
INSERT INTO TABLE_NAME (REQ_ID, OUTAGE_OBJ, TIMESTAMP, PROCESSED_FLAG) VALUES (VAL1, <?xml version="1.0" encoding="UTF-8"?>............</>, TO_DATE(2010-11-15 10:21:52,YYYY-MM-DD HH24:MI:SS), N)
Any suggestions to handle this requirement?
Thank you in advance.
Anand More.Hi Anand,
The problem here is definitely the length of the SQL query. i.e "INSERT INTO ......... VALUES......."
This is what i got when i searched for this ORACLE error code:
ORA-01704: string literal too long
Cause: The string literal is longer than 4000 characters.
Action: Use a string literal of at most 4000 characters. Longer values may only be entered using bind variables.
Please ask a ORACLE DB expert on how to handle this Also i am not sure how can we handle Bind Varibales in SAP PI.
I hope this helps.
Regards, Gaurav. -
Problem with bool data type in overloading
Please find the following error.
I did following typedef:
typedef bool Boolean;
typedef signed int Sint32;
Problem description:
This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an constructor argument. First, it is overloading the constructor with �bool� data type and when it comes the turn of �signed integer� to overload constructor, the compiler is giving an error �cannot be overloaded�. The error �redefinition� is also due to bool data type.
Could please let me know, whether i need to add ant compiler option on Sun CC
ERROR in g++:-
( /usr/local/bin/g++ -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_GNU -DPEGASUS_OS_SOLARIS -DPEGASUS_HAVE_TEMPLATE_SPECIALIZATION -DEXPAND_TEMPLATES -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -Wno-non-template-friend -DTEST_VAI -D__EXTERN_C__ -Dregister= -D_POSIX_PTHREAD_SEMANTICS -Wno-deprecated -DAUTOPASS_DISABLED -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/p2.08.00/TESTsrc" -I/TESTBUILD/pegasus/src -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/Array.h:74,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:40,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: redefinition of `class Pegasus::Array<Pegasus::Boolean>'
/TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: previous definition of `class Pegasus::Array<Pegasus::Boolean>'
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/MessageLoader.h:42,
from /TESTBUILD/pegasus/src/Pegasus/Common/Exception.h:44,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:41,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/Formatter.h:114: error: `Pegasus::Formatter::Arg::Arg(Pegasus::Sint32)' and `Pegasus::Formatter::Arg::Arg(Pegasus::Boolean)' cannot be overloaded
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/CIMProperty.h:40,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMObject.h:42,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:41,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:92: error: `Pegasus::CIMValue::CIMValue(Pegasus::Sint32)' and `Pegasus::CIMValue::CIMValue(Pegasus::Boolean)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:147: error: `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' and `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:291: error: `void Pegasus::CIMValue::set(Pegasus::Sint32)' and `void Pegasus::CIMValue::set(Pegasus::Boolean)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:323: error: `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' and `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:377: error: `void Pegasus::CIMValue::get(Pegasus::Sint32&) const' and `void Pegasus::CIMValue::get(Pegasus::Boolean&) const' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:409: error: `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' and `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' cannot be overloaded
*** Error code 1
make: Fatal error: Command failed for target `/TESTBUILD/v2.08.00/TESTsrc/TESTBase.or'
Same ERROR in Sun CC:-
palace /TESTBUILD/p2.08.00/TESTobj-> make -ef Make_SolarisVAICC TESTVAIrun
( /sun-share/SUNWspro/bin/CC -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_CC -features=bool -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DTEST_VAI -DEXPAND_TEMPLATES -D__EXTERN_C__ -DPEGASUS_INTERNALONLY -DPEGASUS_OS_SOLARIS -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -Dregister= -D_POSIX_PTHREAD_SEMANTICS -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/v2.08.00/TESTsrc" -I"/Pegasus/pegasus-2.5/src" -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
"/Pegasus/pegasus-2.5/src/Pegasus/Common/ArrayInter.h", line 47: Error: Multiple declaration for Pegasus::Array<int>.
"/Pegasus/pegasus-2.5/src/Pegasus/Common/Formatter.h", line 103: Error: Multiple declaration for Pegasus::Formatter::Arg::Arg(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 90: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 145: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(const Pegasus::Array<int>&).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 289: Error: Multiple declaration for Pegasus::CIMValue::set(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 321: Error: Multiple declaration for Pegasus::CIMValue::set(const Pegasus::Array<int>&).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 375: Error: Multiple declaration for Pegasus::CIMValue::get(int&) const.
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 407: Error: Multiple declaration for Pegasus::CIMValue::get(Pegasus::Array<int>&) const.
Thank and Regards,
DileepIn Sun C++, type bool is not equivalent to signed int. I don't think g++ makes it equivalent either.
Please show an example of source code that is causing the problem. -
File Adapter NFS: Doubt with th Data Type corresponding to the XML
Hi All!!
On my scenario, a file is caught from the server and its information is passed to a proxy.
My doubt is how must be the XML format and the Data Type to the data be correctly retrieved?
The XML I have designed is the next:
Is correct? If yes, How must be defined its Data Type?
Thanks and regards,
Manuel Míguez.Hi!
I will try to elaborate my question.
I have the next XML Data on the Server:
<?xml version='1.0' encoding='UTF-8'?>
<DT_File_Req>
<NumeroDocumento>2/0211/M015010010N</NumeroDocumento>
<Tipo>ZEP</Tipo>
<Version>000</Version>
<Parcial>00</Parcial>
<Descripciones>
<Item>
<Idioma>ES</Idioma>
<DescripcionCorta>Prueba descripcion corta</DescripcionCorta>
<DescripcionLarga>Prueba descripcion larga swfiwjeflijwelifjlwejlkfdsjfelsdjflkjdslkfjsjdoifjposdjfojsdkjfslkdjfwehjfjdslfkjsdlfhswfsdfl</DescripcionLarga>
</Item>
<Item>
<Idioma>FR</Idioma>
<DescripcionCorta>Prueba descripcion corta en frances</DescripcionCorta>
<DescripcionLarga>Prueba descripcion larga en frances ejlkfdsjfelsdjflkjdslkfjsjdoifjposdjfojsdkjfslkdjfwehjfjdslfkjsdlfhswfsdfl</DescripcionLarga>
</Item>
</Descripciones>
<Caracteristicas>
<Item>
<Nombre>Fecha Inicio Plano</Nombre>
<Valor>12032008</Valor>
</Item>
<Item>
<Nombre>Fecha Fin Plano</Nombre>
<Valor>20032008</Valor>
</Item>
</Caracteristicas>
</DT_File_Req>
This XML is polled by XI.
I have created the next Data Dype corresponding with structure of the XML (I hope will be understable):
DT_File_Req
Numero Documento STRING
Tipo STRING
Parcial STRING
Descripciones
Item 1..n
Idioma STRING
DescripcionCorta STRING
DescripcionLarga STRING
Caracteristicas
Item 1..n
Nombre STRING
Valor STRING
My question is if this XML structure and this Data Type are compatible. I get on SXMB_MONI an error on the Mapping and I guess that the error is produced because the XML Format is not correct.
Thanks and regards,
Manuel. -
DBMS_LOB.SUBSTR with NCLOB data type
Hi ,
When I am trying to extract part of the string from Comments column(NCLOB datatype) am facing issue.
ORA-06502:PL/SQL Numeric or value error :Character string buffer too small
select dbms_lob.substr(a.COMMENTS, 4000, 1),
from VW_DETAILS a
where a.id = 6210872
DBMS_LOB.SUBSTR with NCLOB data type
Table structure :
Column_name Data_type
Comments NCLOB
ID NUMBER
Regards,
VenkatDBMS_LOB.SUBSTR parameter amount for CLOB/NCLOB indicates number of characters to substring, not bytes. And 4000 multi-byte characters (since you are using NCLOB) is greater than 4000 bytes which is absolute limit for VARCHAR2 in SQL.
SY. -
Same Input name with different data type cause the reflection exception
I have a proxy contains couple RFCs. Two RFCs contain an argument named IN_COMPANY_CODE with data type of ZTRE_FX_BUKRSTable. Another RFC contains the same argument name of IN_COMPANY_CODE but hold different data type (String). All RFCs are in the same proxy. Complie and build the application with no issue.
But when I ran the RFC, it generates the reflection exception below:
Method SAPProxy1.Z_F_Tre_R_Pre_Trade_Fx can not be reflected. --> There was an error reflecting 'In_Company_Code'. > The XML element named 'IN_5fCOMPANY_--5fCODE' from namespace '' references distinct types System.String and MSTRFOREX.ZTRE_FX_BUKRSTable. Use XML attributes to specify another XML name or namespace for the element or types.
I realize the conflict introduced by the same name with difference data type. But I would like to know if this is fixable as a bug or if there is any best practice and/or some manual intervention to make it work.Please install fix from OSS note 506603. After this, right-click .sapwsdl file and select "Run custom tool".
-
Check box with Boolean data type is not behaving properly
Hi,
I create a sample application with one entity driven view object with two attributes. One is of String data type [Value will be Y/N] and another (transient) attribute with Boolean data type. I planned to bind this boolean data type attribute to UI. I overridded the view row impl class and included setting of boolean attribute inside the setter of String attribute. Also in the getter of boolean attribute, added code to check the string attribute and return true/false based on that. Everything is working fine in application module tester. But when i test the same in view controller project in a page, it is not working. Always Check box component is not checked eventhough when i explicitly check it.
[NOTE: I have given the control hint of Boolean attribute as check_box. Also i don't want selected/unselected entries in the page def file. That's why followed this approach]
Have i missed out anything? Why this behaviour.
Thanks in advance.
Raguramanwhat is the value that is going in when u check it.. did u debug it.. is the viewRowimps setter and getter getting called.. and is it having the right value set and got.. and ur sure that ur using selectBooleanCheckBox..
ur binding the checkbox to the transient value right?? -
Error ORA-01426: numeric overflow when Creating table with double data type
Hi,
I am using ODP.NET to create a table with data from SQL to Oracle. The problem is with double data type fields that is equivalent to FLOAT(49) in Oracle. My syntax is:
CREATE TABLE SCOTT.ALLTYPES
F1 NUMBER(10),
F10 DATE,
F2 NUMBER(10),
F3 NUMBER(5),
F4 NUMBER(3),
F5 FLOAT(23),
F6 FLOAT(49),
F7 NUMBER (38,5),
F8 NVARCHAR2(500),
F9 NVARCHAR2(500)
Th error is with field F6 but I am not sure what is the correct type equivalent to double in SQL.
I woul appreciate if anyone can help me with this problem.
SunnyDoes this simple test work for you?
In database:
create table float_test
f1 float(49)
);C# code:
using System;
using System.Data;
using System.Text;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace FloatTest
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
// connect to local db using o/s authenticated account
OracleConnection con = new OracleConnection("User Id=/");
con.Open();
// will hold the value to insert
StringBuilder sbValue = new StringBuilder();
// create a string of 49 number 9's
for (int i = 0; i < 49; i++)
sbValue.Append("9");
// command object to perform the insert
OracleCommand cmd = con.CreateCommand();
cmd.CommandText = "insert into float_test values (:1)";
// bind variable for the value to be inserted
OracleParameter p_value = new OracleParameter();
p_value.OracleDbType = OracleDbType.Double;
p_value.Value = Convert.ToDouble(sbValue.ToString());
// add parameter to collection
cmd.Parameters.Add(p_value);
// execute the insert operation
cmd.ExecuteNonQuery();
// clean up
p_value.Dispose();
cmd.Dispose();
con.Dispose();
}SQL*Plus after executing above code:
SQL> select * from float_test;
F1
1.0000E+49
1 row selected.- Mark -
Ho to Comapre with Number Data Type
hi
My reqt is to do validation in ValidateEntity Method.
How to compare the with Number Data type:
For ex: Number a = gatAbc();
If(a>10)
throw new oaExcption...
But while comapring i got compiler Error
Error(218,17): method >(oracle.jbo.domain.Number, int) not found in class abc.oracle.apps.per.irc.pqr.schema.server.XxabcEOImpl
So plz tell me how to compare the integer value with Number data type
ThanxCheck with float. It will work definitely.
float number = Float.parseFloat(HrsPerDay); //HrsPerDay is a String and I am converting it to float
if(( number <= 0) || (number >= 21))
throw new OAAttrValException(OAAttrValException.TYP_VIEW_OBJECT,
"xxCopyResourceVO1",
rowi.getKey(),
"NoOfCopies",
rowi.getAttribute("NoOfCopies"),
"PA",
"xx_xx_COPY_POSITIVE_NUM");
}Here in this code i am also checking that the Hours cannot be less then 0 and greater than 20.
Thanks
--Anil -
Problem with packed data type variable?
Hi all,
I have a problem while doing calculations with packed data type variables . As they are saving in the format '0,00'. so unable to do calulations because of ',' .
To convert these fields into str and replacing ',' with '.' is very time consuming because i have many packed data type variables.
Can you please provide any other alternative for over coming this problem? Is there any option while defining these variables?
Thanks,
Vamshi.Hi VAMSHI KRISHNA,
First check out SU01 Tcode (if u don't have permission then u can ask BASIS to do it)
Enter User Name
Execute
Goto Defaults Tab
Check Out Decimal Notation here... set it 1,234,567.89
SAVE it
Log Off once and again login with the same user id and check the result...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
Creating Web service for PL/SQL Procedure with Complex Data Types
I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?
Hello,
When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
You can find more information in the:
- Developing Web Services that Expose Database Resources
chapter of the Web Service Developer's guide.
Regards
Tugdual Grall
Maybe you are looking for
-
Hi, after numerous problems with "Mavericks" I have ditched it and returned to "Mountain Lion" however, whilst I have been able to rescue "pages", "numbers" etc, I am unable to return to the "mountain lion" version of iphoto. Can anyone offer any sug
-
Any updated to iOS 7.1 with a 5s; how did it go?
Hi all, I have been waiting and watching to see if there have been any issues with updating to iOS 7.1 with an iPhone 5s. In the past, I have gotten burned with updating my iPad to a newer iOS namely poorer battery life, etc. Our iPhones are only two
-
The error when connecting to itunes store
Hi, I am using itunes on Macbook pro. Last week, when I activated my iphone, there was an unknown error (-2096) occurred. How can I fix this error? many thanks!
-
I have addt 1.0.0 for CS3, is it possible to use this in CS4? I cant find anyway to upgrade it although this site says there is an upgrade. When i try to load this with CS4, it tells me i need CS3. I have a new machine and bought a new copy of CS4
-
I recently bought an iPhone 6 Plus and the RAM always seams to be full. This is still try with a restarted phone without any running apps. Say I just restarted my phone, open the reddit-app and browse around. I find a picture I like and open the page