Consolidating Decimal/Numeric type parameters in GP

Hi guys,
Need some pointers here. I'm calling a webservice CO to populate my Adobe form in GP on initiation. That works fine. But, some how or rather, i can't seem to consolidate any of the 'decimal/numeric' type parameters. The 'group' functionality is just greyed out. Eg. 'insurance' parameter in the WS is type 'decimal' (from ECC) and i've created a decimal type field in Adobe form too. HOwever, i can't seem to consolidate those type of parameters. Any reasons why? Thanks

Hi,
Just an update on this. The fields in the WebService are actaully of type 'CURR' (ABAP type). How do i map this in GP? Thanks

Similar Messages

  • SQL Loader and numeric types

    I'm using SQL Loader to import data from a file, but I'm having trouble with numeric types.
    I'm trying to import an amount into a table. The amount field in the table is of type NUMBER(11,2).
    I suppose that Double is the correct type to use in the ctl-file definition. How do I use this type?
    I've tried to use:
    AMOUNT DOUBLE TERMINATED BY ";" NULLIF BELOP=BLANKS,
    but the I get an error message because I'm using terminated by
    I've also tried using:
    BELOP DOUBLE NULLIF BELOP=BLANKS,
    but then it isn't able to find the delimiter.
    I've tried to search the net for examples using Double, but I haven't found anything of current interest yet.
    So, my question is:
    1. Is Double the correct type to use in this case?
    2. How do I use Double?

    I hardly ever specify a data type in a SQL*Loader control file; I just let Oracle handle it. If it is not the correct datatype for the column Oracle will reject it anyway. The main exception is DATE columns, but even then only because most flat files don't have dates in the default format so the data type specifcation is essentially just a format mask.
    Regards,
    Steve Rooney

  • Problem with numeric types in Abap Proxy

    Hello,
    We are having problems with some abap proxy calls. When a numeric type is filled with 0 the node it´s automatically removed and no value it's recived in XI. The only way I have found to avoid this problem it's to define the field with type string or change the cardinality to 1..1 instead of 0..1. It's there any way to maintain the type and the cardinality?? Maybe with a pattern??
    Regards,
    Alberto Pla.

    Hi Alberto
    I had this problem, and I decided to use xsd:string instead of xsd:integer. This will solve the issue.
    Anyway.. check this note:
    [Note 1242795 - Mapping of XSD default values by ABAP Proxy Generation|https://service.sap.com/sap/support/notes/1242795]
    Regards
    Francesco

  • Custom refnum - what is the underlying numeric type of refnums and how do I comply with the subtype

    Specific refnum I am planning using is based on the byte stream file refnum - and will be passed in and out of a DLL via code interface nodes - would it be U32 or I32 underlying type or something else?
    I am basing the sub-type concept on the following online reference:
    http://labviewwiki.org/Refnum
    Is the above correct and how are the 8 bit values encoded into the refnum numeric type (MSB's or other?)

    Steve_Mowbray wrote:
    Thanks for prompt and clear response
    - labview file manager functions can be used to access the file OR the file descriptor can be passed to my own custom code functions (I hope)
    That last one is undocumented and may not work on all LabVIEW platforms. It is true for older 32 bit versions of LabVIEW but may change at any time at NIs discretion since they never documented that nor guaranteed that it might work that way.
    Also on Windows there are several different file descriptors possible. First you have the WinAPI HANDLE, then the C runtime "int fd" and FILE datatypes. All of them are not the same, but the LabVIEW File did in the past map to the HANDLE. 

  • QoQ unsupported numeric type??

    Hi,
    Has anyone successfully used CF_Select from Masrizal? I
    bought the code only
    to find that it's not working with dynamic options.
    Would appreciate suggestions on how to get this to work. TIA
    THis error is coming from this code in the Tag.
    <cfquery dbtype="query" name="qryTemp">
    select * from qryTemp
    order by parent
    </cfquery>
    Error Executing Database Query.
    Query Of Queries runtime error.
    Query Of Queries runtime error.
    Unsupported Numeric type conversion in Query of Queries.
    My Code:
    <cfquery name="getPA" datasource="bibs2">
    select PraticeArea, PraticeAreaID from bibs_tblPraticeArea
    where DeleteFlag = 0 order by PraticeArea
    </cfquery>
    <cfquery name="getBibs" datasource="bibs2">
    Select *
    from bibs_tblBibliographies
    where DeleteFlag = 0
    Order by DateModified Desc
    </cfquery>
    <table border="0">
    <form name="test" action="example.cfm" method="post">
    <tr><td>Pratice Area</td>
    <td>
    <cf_select name="PraticeArea" formname="test"
    passthrough="style='background-color:##000000;
    color:##ffffff;'">
    <cf_option value="">Select Pratice
    Area</cf_option>
    <cfoutput query="getpa">
    <cf_option
    value="#PraticeAreaID#">#PraticeArea#</cf_option>
    </cfoutput>
    </cf_select>
    </td>
    </tr>
    <tr><td>Bibs</td>
    <td>
    <cf_select name="BiBs" parent="PraticeArea"
    formname="test"
    passthrough="style='background-color:##000000;
    color:##ffffff;'">
    <cf_option value="" parent="">Select
    Bib</cf_option>
    <cfoutput query="getBibs">
    <cf_option value="#BIBSID#"
    parent="#PraticeArea#">#Title#</cf_option>
    </cfoutput>
    </cf_select>
    </td>
    </tr>
    <tr>
    <td>
    <br>
    <input name="Submit" type="Submit">
    </td>
    </tr>
    </form>
    <!--- view posted form --->
    <cfif isdefined("form.Submit")>
    <tr>
    <td >
    <hr>
    <cfoutput>
    You have selected this:<br>
    <cfloop collection="#form#" item="key">
    <cfif key neq "fieldnames" and key neq "submit">
    #Key#: #evaluate("form.#key#")#<br>
    </cfif>
    </cfloop>
    </cfoutput>
    </td>
    </tr>
    </cfif>
    </table>

    Solution: #jsstringformat()#
    Example:
    <cf_select name="PraticeArea" formname="test"
    passthrough="style='background-color:##000000;
    color:##ffffff;'">
    <cf_option value="">Select Pratice
    Area</cf_option>
    <cfoutput query="getpa">
    <cf_option
    value="#jsstringformati(PraticeAreaID)#">#PraticeArea#</cf_option>
    </cfoutput>
    </cf_select>
    <cf_select name="BiBs" parent="PraticeArea"
    formname="test"
    passthrough="style='background-color:##000000;
    color:##ffffff;'">
    <cf_option value="" parent="">Select
    Bib</cf_option>
    <cfoutput query="getBibs">
    <cf_option value="#jsstringformat(BIBSID)#"
    parent="#jsstringformat(PraticeArea)#">#Title#</cf_option>
    </cfoutput>
    </cf_select>
    thanks for all the respond!
    "is" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Has anyone successfully used CF_Select from Masrizal? I
    bought the code
    only
    > to find that it's not working with dynamic options.
    > Would appreciate suggestions on how to get this to work.
    TIA
    >
    > THis error is coming from this code in the Tag.
    >
    > <cfquery dbtype="query" name="qryTemp">
    > select * from qryTemp
    > order by parent
    > </cfquery>
    > Error Executing Database Query.
    >
    > Query Of Queries runtime error.
    > Query Of Queries runtime error.
    > Unsupported Numeric type conversion in Query of Queries.
    >
    >
    >
    >
    >
    >
    >
    > My Code:
    > <cfquery name="getPA" datasource="bibs2">
    > select PraticeArea, PraticeAreaID from
    bibs_tblPraticeArea
    > where DeleteFlag = 0 order by PraticeArea
    > </cfquery>
    >
    > <cfquery name="getBibs" datasource="bibs2">
    > Select *
    > from bibs_tblBibliographies
    > where DeleteFlag = 0
    > Order by DateModified Desc
    > </cfquery>
    >
    >
    > <table border="0">
    > <form name="test" action="example.cfm"
    method="post">
    > <tr><td>Pratice Area</td>
    > <td>
    > <cf_select name="PraticeArea" formname="test"
    > passthrough="style='background-color:##000000;
    color:##ffffff;'">
    > <cf_option value="">Select Pratice
    Area</cf_option>
    > <cfoutput query="getpa">
    > <cf_option
    value="#PraticeAreaID#">#PraticeArea#</cf_option>
    > </cfoutput>
    > </cf_select>
    > </td>
    > </tr>
    >
    > <tr><td>Bibs</td>
    > <td>
    > <cf_select name="BiBs" parent="PraticeArea"
    formname="test"
    > passthrough="style='background-color:##000000;
    color:##ffffff;'">
    > <cf_option value="" parent="">Select
    Bib</cf_option>
    > <cfoutput query="getBibs">
    > <cf_option value="#BIBSID#"
    > parent="#PraticeArea#">#Title#</cf_option>
    > </cfoutput>
    > </cf_select>
    > </td>
    > </tr>
    >
    > <tr>
    > <td>
    > <br>
    > <input name="Submit" type="Submit">
    > </td>
    > </tr>
    > </form>
    >
    > <!--- view posted form --->
    > <cfif isdefined("form.Submit")>
    > <tr>
    > <td >
    > <hr>
    > <cfoutput>
    > You have selected this:<br>
    > <cfloop collection="#form#" item="key">
    > <cfif key neq "fieldnames" and key neq "submit">
    > #Key#: #evaluate("form.#key#")#<br>
    > </cfif>
    > </cfloop>
    > </cfoutput>
    > </td>
    > </tr>
    > </cfif>
    > </table>
    >
    >
    >
    >
    >
    >

  • Dynamically Find out the Integer and Decimal Data Type of a Column

    Table: test (INTE number, DECI number(7,2))
    Try to dynamically determine the column type.
    Using select data_type from user_tab_columns. It only returns NUMBER which does not indicate if the column is an integer or decimal data type.
    Is there a way to dynamically determine if a column is integer or decimal type?
    Thanks

    First of all your column INTE stores not just integers but any franctional numbers too:
    SQL> create table test(INTE number, DECI number(7,2))
      2  /
    Table created.
    SQL> insert
      2    into test
      3    values(
      4           10.99,
      5           10.99
      6          )
      7  /
    1 row created.
    SQL> select  *
      2    from  test
      3  /
          INTE       DECI
         10.99      10.99
    SQL>If you want to declare column as integer you use either NUMBER(n) or INTEGER. And, as others already pointed out, you can check DATA_PRECISION & DATA_SCALE in data dictionary view USER/ALL/DBA_TAB_COLUMNS.
    SY.

  • Too many type parameters for interface

    In JDev 11.1.1.0.0, I do a compile and I get 65 files with errors saying
    Error: too many type parameters for interface java.util.Map<java.lang.String, java.lang.Class<?>>
    but the class doesn't use the Map object.
    Other files get it for the Set object.
    Note that no line number was given as part of the error message.
    I installed the JDev 11.1.1.0.0 base from the zip file.
    What's wrong?

    Hi,
    And you do a compile on what exactly, Please post one of the erroneous class' code using the code within bracket tag so that we can help you.
    Regards,
    ~ Simon

  • When CP met numeric type

    Hi ,
    I have a numeric type , such as numeric 24 , when I set the value to it, for example '9236', it will convert to
    '00000000000000000000009236' automatically.
    This will cause a problem. If I use CP for this ,
    for example there is a number '122341234219236' , if I use CP, the return value should be true, but now it is false.
    How can I deal with this problem?
    Best regards,
    Blake Le

    Hi
    Use FM conversion_exit_alpha_output, it will remove the 0's...pass the value field to this fm and in output pass another variable..use that variable..
    Regards,
    Vishwa.

  • Getting "unable to convert type -15 to a numeric type"

    I see below error... i have checked the data types. it all looks good.
    (Wrapped) unable to convert type -15 to a numeric type) unable to convert type -15 to a numeric type
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:36)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeRequest(PartitionedCache.CDB:88)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.run(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:11)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:662)
    at <process boundary>
    at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:57)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3306)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2603)
    at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:358)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:1)
    at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
    at com.tangosol.coherence.component.net.message.SimpleResponse.read(SimpleResponse.CDB:6)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:42)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:662)
    at <process boundary>
    at (unknown function)(AbstractPofRequest.cpp:189)
    at coherence::lang::TypedHandle<coherence::net::messaging::Response>coherence::component::net::extend::AbstractPofRequest::Status::getResponse()
    at coherence::lang::TypedHandle<coherence::net::messaging::Response>coherence::component::net::extend::AbstractPofRequest::Status::waitForResponse(long long)
    at coherence::lang::TypedHolder<coherence::lang::Object>coherence::component::net::extend::PofChannel::request(coherence::lang::TypedHandle<coherence::net::messaging::Request
    ,long long)at coherence::lang::TypedHolder<coherence::lang::Object>coherence::component::net::extend::PofChannel::request(coherence::lang::TypedHandle<coherence::net::messaging::Request
    )at __1cJcoherenceJcomponentDnetGextendQRemoteNamedCacheLBinaryCacheGinvoke6Mn0AElangLTypedHandle4Ckn0GGObject___n0GLTypedHandle4n0AEutilMInvocableMapOEntryProcessor____n0GLTy
    pedHolder4n0H____
    at __1cJcoherenceEutilUConverterCollectionsVConverterInvocableMapGinvoke6Mn0AElangLTypedHandle4Ckn0EG
    Edited by: LSV on Oct 5, 2012 1:11 AM

    The gateway can't convert datatypes. You need to cast the source column to numeric and then use the view.

  • Obtaining Generics type parameters using reflection

    I have been trying to obtain the type parameters of a method using reflection. This is what I have done:
    getGenericTypeParameters(aMethod.getTypeParameters());
    private static String getGenericTypeParameters(TypeVariable genericParameters[])
           String returnName = new String();
                   if(genericParameters.length > 0)
                           returnName += "< ";
                           for(int i=0; i<genericParameters.length; i++)
                                   if(i > 0) returnName += ", ";
                                   returnName += genericParameters.getName();
    returnName += " >";
    return returnName;
    } This doesn't take care of the cases when the method is of the form  public static <T, V extends T> boolean isIn(T x, V[] y)
    and the type parameters I get using the method I've written is <T, V>
    Is there any workaround or a better way of doing it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Have you consulted Angelika Langer's [Java Generics FAQs|http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html]?

  • Eliminating type parameters used only for superclass information?

    I have a class called BaseObject. I have another class called Reference. A
    BaseObject has one canonical Reference that can be gotten and set. A Reference
    is capable of pointing at a BaseObject subclass of a particular type and can
    return the Class of that BaseObject subclass.
    I'd like to genericize these classes so that if you create a reference and
    assign it to an object, their types should line up. That is, a Reference that
    points to a Banana should not be able to be assigned as a canonical reference to
    a Cherry.
    My goal is to express these type constraints once somewhere. I cannot seem to
    achieve my goal.
    Pass one, which looks OK at the outset:
      public class BaseObject<T extends BaseObject> {
        public Reference<T> getReference() {
        public void setReference(final Reference<T> reference) {
      public class Reference<T extends BaseObject> {
        public Class<T> getObjectType() {
      }But that would mean that every subclass of BaseObject<T> would need to be
    declared with a type parameter as well to permit further subclassing, right?
    Like so:
      public class Fruit<T extends Fruit> extends BaseObject<T> {
        // Note: T is not used in this class except to "pass it up" to BaseObject
      public class Banana<T extends Banana> extends Fruit<T> {
        // Note: T is not used in this class except to "pass it up" to Fruit
        // Callers will have to say: new Banana<Banana>();
      }That seems WEIRD to me. Is there any way to...to...hide the genericization of
    the fundamental classes--BaseObject and Reference--without forcing the type
    parameters to be propagated all the way down the subclass stack?
    In other words, assuming a hierarchy of Object<--Fruit<--Banana, is there any
    way to have Fruit and Banana not mention type parameters at all?
    Thanks,
    Laird

    I'm up a creek here, aren't I?I think so. It's been a while since I complained
    about the lack of 'self-types' in Java. 'Self-type'
    actually means something different in other languages
    (Scala for example) so just be aware of that.AH! Yes! That's exactly what I'm talking about. OK, knowing that I'm screwed helps a lot, actually. It lets me know where I can and cannot apply generics to solve problems.
    I would envision:
    class BaseObject<self>
    // OR
    class BaseObject<T extends self>The idea would be that self is what ever the
    'current' class is. So if you used the first one,
    the type of the class that extended BaseObject would
    be assumed to be the parameteric type. The second
    one would require that the parameter (if present at
    time of variable of declaration is instantiation) be
    at least as specific as the current extenstion of
    BaseObject.Yes, exactly. This would be wildly helpful. Oh well.
    Back to 1.4 syntax.
    Cheers,
    Laird

  • Generic method invocations with explicit type parameters

    If I interpret the JSR14 public draft spec (June 23, 2003) section 5.6 correctly the following method invocations with explicit type parameters should compile: package generics;
    public class G121 {
      void f() {
        this.<String>f2();
        <String>f2(); // compilation error
        <String>f3(); // compilation error
      <T> void f2() {
      static <T> void f3() {
    }but the class does not compile: jc -J-showversion generics\G121.javajava version "1.5.0-beta"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
    Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
    generics\G121.java:6: illegal start of expression
        <String>f2(); // compilation error
                ^
    generics\G121.java:8: illegal start of expression
        <String>f3(); // compilation error
                ^
    2 errors
    >A bug or do I miss something?

    I get this error:
    LineCount.java:104: cannot find symbol
    symbol : method <java.io.File>sort(java.util.List<java.io.File>)
    location: class java.util.Collections
    Collections.<File>sort( list );
    ^
    1 errorYou don't need the explicit type argument there, but anyway...
    If you look at the docs for Collections.sort(List<T> list) you'll see it is declared as:
    static <T extends Comparable<? super T>> void Collections.sort(List<T> list) Unfortunately, although File implements Comparable, it doesn't actually implement Comparable<File> or even Comparable<Object>, so I guess it can't satisfy the bound.
    You can get it to compile by removing the explicit type argument and casting to the raw type List, but that's not very nice.
    This seems like an oversight to me - File already has both int compareTo(Object o) and int compareTo(File pathname) so I don't see why it can't implement Comparable<File>. This isn't the only such case in the API though, so maybe I'm missing something.
    Mark

  • DataNavigator: numeric type cast

    I have a simple data form of jTextField1, jTextField2 and TextField3.
         jTextField1's document = nBCachedRowSet1: id (integer, primary key)
         jTextField2's document = nBCachedRowSet1: name (string type)
         jTextField3's document = nBCachedRowSet1: price (numeric type)
    I'm using DataNavigator to manipulate all records.
    The problem occured when I edit jTextField2 (name) and update it.
    The error message is ...
    ERROR: Unable to identify an operator '=' for types 'numeric' and 'double precision'
    You will have to retype this query using an explicit cast
    java.sql.SQLException: acceptChanges Failed
    at sun.jdbc.rowset.CachedRowSet.acceptChanges(CachedRowSet.java:791)
    at org.netbeans.lib.sql.NBCachedRowSet.acceptChangesInternal(NBCachedRowSet.java:712)
    This message told me to cast NUMERIC type BUT I have no idea.
    HOW to cast
    WHERE to code
    WHAT type to cast to ?

    private void initComponents() {
    connectionSource1 = new org.netbeans.lib.sql.ConnectionSource();
    try {
    nBCachedRowSet1 = new org.netbeans.lib.sql.NBCachedRowSet();
    } catch (java.sql.SQLException e1) {
    e1.printStackTrace();
    dataNavigator1 = new org.netbeans.lib.sql.DataNavigator();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTable1 = new javax.swing.JTable();
    connectionSource1.setDatabase("jdbc:postgresql://localhost/drugstore004");
    connectionSource1.setDriver("org.postgresql.Driver");
    connectionSource1.setPassword("028a061f882763ad48ddbc977f45e2eca7c8cc685ab9", true);
    connectionSource1.setUsername("Sup");
    nBCachedRowSet1.setCommand("select * from trade");
    nBCachedRowSet1.setConnectionSource(connectionSource1);
    try {
    nBCachedRowSet1.setTableName("trade");
    } catch (java.sql.SQLException e1) {
    e1.printStackTrace();
    nBCachedRowSet1.addInsertRowListener(new org.netbeans.lib.sql.InsertRowListener() {
    public void rowInserted(javax.sql.RowSetEvent evt) {
    nBCachedRowSet1RowInserted(evt);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    exitForm(evt);
    dataNavigator1.setRowSet(nBCachedRowSet1);
    getContentPane().add(dataNavigator1, java.awt.BorderLayout.NORTH);
    jTable1.setModel(new org.netbeans.lib.sql.models.TableModel(nBCachedRowSet1, new org.netbeans.lib.sql.models.TableModel.Column[] {
    new org.netbeans.lib.sql.models.TableModel.Column("id", "Id", false),
    new org.netbeans.lib.sql.models.TableModel.Column("name", "Name", true),
    new org.netbeans.lib.sql.models.TableModel.Column("admin", "Admin", true),
    new org.netbeans.lib.sql.models.TableModel.Column("formular", "Formular", true),
    new org.netbeans.lib.sql.models.TableModel.Column("company", "Company", true),
    new org.netbeans.lib.sql.models.TableModel.Column("price", "Price", true),
    new org.netbeans.lib.sql.models.TableModel.Column("addiction", "Addiction", true),
    new org.netbeans.lib.sql.models.TableModel.Column("minimum", "Minimum", true),
    new org.netbeans.lib.sql.models.TableModel.Column("min_unit", "Min unit", true),
    new org.netbeans.lib.sql.models.TableModel.Column("unit_size", "Unit size", true),
    new org.netbeans.lib.sql.models.TableModel.Column("measure_unit", "Measure unit", true),
    new org.netbeans.lib.sql.models.TableModel.Column("form", "Form", true),
    new org.netbeans.lib.sql.models.TableModel.Column("shape", "Shape", true),
    new org.netbeans.lib.sql.models.TableModel.Column("life_span", "Life span", true),
    new org.netbeans.lib.sql.models.TableModel.Column("priority", "Priority", true),
    new org.netbeans.lib.sql.models.TableModel.Column("picture", "Picture", true),
    new org.netbeans.lib.sql.models.TableModel.Column("register", "Register", true),
    new org.netbeans.lib.sql.models.TableModel.Column("barcode", "Barcode", true),
    new org.netbeans.lib.sql.models.TableModel.Column("verifydate", "Verifydate", true),
    new org.netbeans.lib.sql.models.TableModel.Column("remark_ds", "Remark ds", true),
    new org.netbeans.lib.sql.models.TableModel.Column("remark_mk", "Remark mk", true),
    new org.netbeans.lib.sql.models.TableModel.Column("remark_db", "Remark db", true)
    jTable1.setSelectionModel(new org.netbeans.lib.sql.models.SQLListSelectionModel (nBCachedRowSet1));
    jScrollPane1.setViewportView(jTable1);
    getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);
    pack();
    All code are created by "JDBC Application Wizard" (Sun One Studio 4 Community Edition).
    This is table "trade" structure (PostGreSQL)
    drugstore004=# \d trade
    Table "trade"
    Column | Type | Modifiers
    id | integer | not null default nextval('"trade_id_seq"'::text)
    name | character varying(255) | not null
    admin | integer | not null default 1
    formular | integer | not null default 1
    company | integer | not null default 1
    price | numeric(7,2) |
    addiction | smallint |
    minimum | smallint |
    min_unit | integer | not null default 1
    unit_size | smallint |
    measure_unit | integer | not null default 1
    form | integer | not null default 1
    shape | integer | not null default 1
    life_span | smallint |
    priority | integer | not null default 1
    picture | character varying(100) |
    register | character varying(50) |
    barcode | character varying(50) |
    verifydate | date |
    remark_ds | character varying(255) |
    remark_mk | character varying(255) |
    remark_db | character varying(255) |
    Primary key: trade_pkey
    Unique keys: trade_name_key
    Triggers: RI_ConstraintTrigger_113874,
    RI_ConstraintTrigger_113880,
    RI_ConstraintTrigger_113886,
    RI_ConstraintTrigger_113892,
    RI_ConstraintTrigger_113898,
    RI_ConstraintTrigger_113904,
    RI_ConstraintTrigger_113910,
    RI_ConstraintTrigger_113921,
    RI_ConstraintTrigger_113923,
    RI_ConstraintTrigger_113942,
    RI_ConstraintTrigger_113944,
    RI_ConstraintTrigger_113957,
    RI_ConstraintTrigger_113959,
    RI_ConstraintTrigger_113966,
    RI_ConstraintTrigger_113968
    drugstore004=#
    When I edit column "name" (some record where column "price" is null), their is not error.
    But when I edit column "name" where "price" have some price data in it, .... the same error as shown above has come.
    (No Trigger involved in this test because I just add some characters in column "name")
    Some code should be add in "RowChanged" to do some type casting for column "price" but....how?

  • Typing type parameters

    Apparently you can't type type parameters as such:
    public <COLLECTION_TYPE extends Collection, FROM, TO> COLLECTION_TYPE<TO> convert(COLLECTION_TYPE<FROM> from, Class<COLLECTION_TYPE> clazz);Why is this not allowed?

    me.in wrote:
    Apparently you can't type type parameters as such:
    public <COLLECTION_TYPE extends Collection, FROM, TO> COLLECTION_TYPE<TO> convert(COLLECTION_TYPE<FROM> from, Class<COLLECTION_TYPE> clazz);Why is this not allowed?Because type parameters in Java have to represent concrete types, not "type families".
    You're trying to mimick "template template parameters" from C++, right?
    BTW, the corresponding declaration in C++ would look like this, IIRC:
    template<template <typename> class COLLECTION_TYPE, typename FROM, typename TO> COLLECTION_TYPE<TO> convert(COLLECTION_TYPE<FROM> from, Class<COLLECTION_TYPE<TO>> clazz);

  • Decimal data type multiplied by quantity data type

    Hi all,
    i have a requirement where i have to multiply 3 fields, and get that result into fourth field.
    example:
    data: f1 type dec,    [Data type - Decimal; length 7]
            f2 type dec,    [Data type - Decimal; length 7]
            f3 type quan.  [Data type - Quantity; length 17]
    data: f4 type ??
    f4 = f1 * f2 * f3.
    what will the data type of field f4?
    Will field f4 be of decimal type. If yes, then what is the declaration syntax of f4.
    can i declare it as:
    data: f4 type dec.
    When i do this, i get an error saying type DEC is unknown.
    NOTE: For your information.I AM IMPLEMENTING THIS IN A  method inside a BADI.
    Points will be rewarded.
    Thanks in advance.

    Hi
    U need to use a reference to a dictionary field (like MSEG-MENGE) because there isn't an abap type to be used, the data type are only these:
    C     Character     
    N     Numeric string 
    D     Date        (YYYYMMDD)
    T     Time:            HHMMSS) 
    X     Byte (hexadecimal)         
    I      Integer                    
    P     Packed number       
    F     Floating point number
    STRING  String         Variable empty string
    If there isn't a dictionary field good for you, u can only use the type P.
    So or:
    DATA F4 TYPE MSEG-MENGE. (this field has 3 decimals)
    or
    DATA F4(16) TYPE P DECIMALS 2.
    Max

Maybe you are looking for

  • How do I create a JMF streaming server with QuickTime Web Client?

    Can anyone give me some pointers on how to create a JMF streaming server and user can type in a rtsp URL on the web browser and be able to view the streaming video in QuickTime player? thanks

  • How to handle a redirect on a Lotus notes DB

    Hi everyone, I have a problem, I am connectin to a lotus notes database to download a file (using URLConnection) ...gbp.nsf/agWebLAL?OpenAgent&UNID=A9D19EDE65447DF5C1256F2000465E87 The thing is lotus notes doesn't give the filename, it redirects me t

  • Intro banner slide show gallery

    I'm trying to find a banner slide show or tutor to build in flash a banner similar to the one on this page http://www.greggavedon.com/ . I have searched on google and can only seem to find tutor or programs that are sinlge image banner rotators. Can

  • Firefox 18 crashes upon opening Facebook every time

    I just updated to 18.0 yesterday. Since then, Facebook will crash FF upon login without fail. I can get to the main page (where I'd log in) but as soon as my home page starts to load, Firefox is unresponsive. I haven't noticed any issue with any othe

  • Opendocument - hyperlink in webi

    HI, Can we can create links between report elements by defining a report element as an "input control" that filters the values in other report elements. For example, if you have a report containing two tables, can we can filter the values in one tabl