ODI 10g: NUMBER column becomes NUMBER(22,0) on reverse

ODI Version: 10.1.3.6.3
Database Version: Oracle 10g (also seen in XE)
In the database, one of the columns in the table is defined as "num_val NUMBER". It has been defined this way to accomodate for decimals also. However, when I reverse this to my ODI model using the "Selective Reverse" the column gets created as "num_val NUMBER(22, 0)" due to which the decimals have got truncated.
I would like to know if this is an ODI bug (if yes, please point me to the patch) or the developer is expected to manually look and correct this in the ODI model ?
In Oracle database, defining a number column without precision & scale would designate maximum precision & scale to the column. I would expect that ODI should be aware of this during model reverse and create the column with maximum range as it exists in the Oracle database.
Edited by: museshad on Feb 7, 2011 12:28 PM

Hi,
Good to know ur problem is solved.
Yes as i said, RDBMS reversing can be carried out by Standard method but in some cases ODI and JDBC drivers compatibility doesn't pull certain tables/views/data types etc and MOS declare it as a BUG.
So in those cases its suggested/advised to use RKM mode of reversing as a "work around" option.
But in general real time scenario RKM, is dedicated to reverse the meta data of adapters applications say Hyperion, essbase,planning, HFM etc and standard for any ANSI SQL/RDBMS applications.
Makes sense?
Thanks,
Guru

Similar Messages

  • Excise Invoice Number column in T code FAGLL03

    Hi All,
    In the standard SAP Report (T code FAGLL03) G/L Account Line Item Display,client wants Excise Invoice Number column.
    We have brought the Billing Document Number for G/L account reconcilation.
    Please help me out for the above.
    Regards,
    Hemant Patil

    Hi Alpesh,
    Thanks for your reply.
    I will try the same.
    Regards,
    Hemant Patil

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • In XML Output the values of Number column tags are not displayed properly

    Hi,
    Our Client have been using AR Invoice Print Program for a long time and it is heavily customized. Also they are using an old version of the RDF. So we have taken the latest version of the RDF (RAXINV.rdf) for Oracle Apps 11.5.10.2 by raising a SR and implement Client's old RAXINV.rdf into it.
    All was ok, but when we are running the program, the XML Output did not generate properly. For the Q_INVOICE query (G_ORDER_BY, G_INVOICE and G_INV_TERM group), the value of some of the scaler number columns are not appeared properly. The tags are coming correctly, but the value is appearing as '*', instead of the correct value. We have checked in the RDF Level (By putting srw.message and check in the log file) that those columns are having proper value. So there is no issue with the RDF.
    But because of the above mentioned problem, the some of the PDF output field values also is not generated correctly.
    I think that because of the lexical parameters which was implementing the Q_INVOICE query (&COMMON_QUERY) this issue is coming. Because the issue is only in the Q_INVOICE query group (G_ORDER_BY, G_INVOICE and in G_INV_TERM group) not in any other query group.
    There is no problem with the scaler character columns. The issue is only with the number columns.
    Also we have checked that if we hardcode the value of the number columns in the above mentioned lexical parameter, this problem doesn't appear.
    If we put TO_CHAR function to those number columns in the lexical parameter (COMMON_QUERY), then this issue get solved. But we can't do it because of performance issue and also Client won't approve it.
    Please help.
    With Thanks and Regards

    I don't know how to read the code you pasted or I would have checked this myself.
    Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
    I made a method inside my local class to add the names:
            call method set_colname
              EXPORTING iv_tab = alv_tab
                        iv_colid = 'xxxx'  "fieldname from the table
                        iv_stxt = text-t54
                        iv_mtxt = text-t55
                        iv_ltxt = text-t55.
    METHOD set_colname .
      data:
              alv_cols type REF TO cl_salv_columns_table,
              alv_col type REF TO cl_salv_column.
      TRY .
    *... Change fieldnames
            call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
            call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
            IF iv_stxt <> ''.
              CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
            ENDIF.
            IF iv_mtxt <> ''.
              CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
            ENDIF.
            IF iv_ltxt <> ''.
              CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
            ENDIF.
       CATCH cx_salv_not_found.
      ENDTRY.
    ENDMETHOD. "set_colname

  • Serial Number Column in BI Report

    Hi,
    Can we add 'Serial Number Column' in BI report?
    Regards,
    Anoop Sahu

    Thanks for your response.
    I am not sure if I was clear before. I actully want to add a new column which will give sequential number to rows - 1, 2, 3, 4.... If the user changes drill down, it should automaticlly repopulate as 1, 2, 3, 4. I do not have any infoobject called 'Serial Number' in my cube.
    Regards,
    Anoop Sahu

  • Dynamically set number-columns-spanned

    Hi all,
    I have a cross tab which has a dynamic number of columns. Each column has a header "Location" (which is determined by the data), but the table also has a master header "Volume" which should span all of the locations. How can I acheive this?
    I currently have:
    <xsl:attribute xdofo:ctx="block" name="number-columns-spanned">2</xsl:attribute> Volumne
    But this is obviously static.
    Many Thanks
    Andy

    Hi lmd2,
    Attached is a quick example of one way to do what you are asking. This is only a general example, and there may be a bettter implementation depending on the architecture of your application.  The link here also has information on setting the number of sockets for a specific sequence file. Hope this helps.
    Regards,
    Ebele O.
    National Instruments
    Attachments:
    ParallelModel.seq ‏455 KB

  • Db function returning three db number columns...

    Hi ,
    Is it possible a db function to return three number columns fetched from a table...??
    If for example , there is a db function such as...:
    function x
    return number
    is
    begin
    select number_col_1 , number_col_2 , number_col_3
    into var1 , var2 , var3
    from table_a
    where <a_condition>;
    return <the_three_columns_selected>;
    end;
    so as in a select statement should write:
    select a , b , x from a_table
    many thanks ,
    Simon

    Alternatively you can return a SQL collection:
    SQL> create or replace function x (empno integer)
      2     return sys.dbms_debug_vc2coll
      3  is
      4     var1   emp.job%type;
      5     var2   emp.sal%type;
      6     var3   emp.deptno%type;
      7  begin
      8     select job, sal, deptno
      9       into var1, var2, var3
    10       from emp
    11      where empno = x.empno;
    12
    13     return sys.dbms_debug_vc2coll (var1, var2, var3);
    14  end;
    15  /
    Function created.
    SQL>
    SQL> select empno, ename, x(empno) x from emp
      2   where empno in (7788,7900)
      3  /
         EMPNO ENAME      X
          7788 SCOTT      DBMS_DEBUG_VC2COLL('ANALYST', '3000', '20')
          7900 JAMES      DBMS_DEBUG_VC2COLL('CLERK', '950', '30')

  • FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of ar

    Hi All
    I am tying to submit the concurrent request through buttom, when i press the button.. the request is submitting but showing the error"FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of argument in call"
    What are the paramerter i submited in SRS window( normal submition not throu button) is are equall submition throw button.... And in procedure also i am using errbuf and retcode...
    Can any one help regarding the issue where i am doing the mistake...
    PROCEDURE Einvoice(ERRBUF OUT VARCHAR2,RETCODE OUT VARCHAR2,P_INVOICE_TYPE RA_CUST_TRX_TYPES_all.type%TYPE,
    P_INVOICE_FROM RA_CUSTOMER_TRX_PARTIAL_V.TRX_NUMBER%TYPE,
    P_INVOICE_TO RA_CUSTOMER_TRX_PARTIAL_V.TRX_NUMBER%TYPE,
    P_CUSTOMER_ID RA_CUSTOMER_TRX_PARTIAL_V.SOLD_TO_CUSTOMER_ID%TYPE,
    P_DOCUMENT_NUM NUMBER,
    P_reprint_flag VARCHAR2
    In the button trigger
    FND_REQUEST.SUBMIT_REQUEST('GETSAR'
    ,'EINVOICE'
    ,NULL ,NULL ,FALSE
    ,:main_b.invoice_type
    ,to_number(:main_b.From_Invoice_number)
    ,to_number(:main_b.to_invoice_number)
    ,:main_b.customer_id
    ,to_number(:main_b.document_no_from)
    ,:main_b.reprint_flag
    ,'') up to 100 parameters
    We need to change any datatypes in procedure ?????????????

    Duplicate post.
    "FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of
    "FDPSTP failed due to ORA-06550: line1 ,column:"   Wrong number of types of

  • Like operator issue with on Number column

    Hi,
    Query with like operator for Example: " where RATE LIKE ('%2%')"
    the result of the query returns rows which contains "2" as part of field value along with few rows which are updated recently, but do not contain 2 in that row.
    In the table data type of COLUMN is Number, no precision.
    Pls let me know if any one knows about this.
    --satya.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Can you please post the result of the query you are using?
    Regards

  • Select query to select a column named NUMBER

    Hi all,
    I have a table which is having a COLUMN NAME as NUMBER whose DATA TYPE is VARCHAR2(90 BYTE).
    How should I select the column named NUMBER.
    I am trying the sql query through SQL Developer.
    I tried with following options.
    1) select NUMBER from table_name
    2) select [NUMBER] from table_name
    3) select "NUMBER" from table_name
    4) select [table_name.NUMBER] from table_name
    But i did'nt succeed through the above queries. all the above queries are giving error.
    So, please help me in this regard to query the column named NUMBER (which is a reserved word in Oracle)

    Hi,
    create table x3(
      "number" varchar2(200)
    insert into x3 values(2);
    insert into x3 values(2);
    insert into x3 values(1);
    select * from x3
    where "number" = '1'
    This gives me output properly. But when i tried creating a column just with name "NUMBER"... got below error. Your 2nd query looks ok. What error do you get there?
    Error report:
    SQL Error: ORA-00904: : invalid identifier
    00904. 00000 -  "%s: invalid identifier"
    *Cause:   
    *Action:

  • Java Type mapping of NUMBER columns

    I'm using JDBC Oracle driver 10.2.0.4, with java 1.5 and Oracle 10.2.0.4.
    Reading a field of NUMBER(6) JDBC driver map it to java.lang.Integer, if I extend this column to NUMBER(9) Jdbc map it to java.lang.Long.
    When can I find a detailed documentation of Number mapping, i found some documentation for general field mapping but is not exhaustive about NUMBER fields and this behavior is not documented.
    Thanks
    Carlo

    That is all database/driver specific. So you have figure it out using what is in the Oracle java classes. There is no generic jdbc solution. If you are lucky the Oracle docs for the driver might document something useful.
    If it was me I would just wrap another proc around it and have that strip the fields out for me and return it as a regular result set.

  • We can't add a decimal number column with the create table forms

    In the version 4, we can't add a decimal number column with the create table forms.

    In the GUI, I found the following column (I translate from french to english): PK, Name, Data_type, lenght, not null, default, comments.
    In the lenght field, if I enter 9,3 to have a NUMBER(9,3), I have a message saying that the number must be an integer.

  • Project Serial Number column in Project Server 2013 (PWA)

    Hi All,
    Whenever any new projects are created on Project Server 2013, they are arranged automatically by Alphabetical order. So i would like to know or need support through which i can create serial number column in Project Center so that projects are aligned. as
    per numbers.
    Kindly help..

    Hi,
    It is actually 2 questions. 
    First you want to create a unique ID for projects? Here is an excellent
    blog about this subject.
    Then you want to sort projects along a number? It could be a custom number field or the unique ID above. You just have to go to the server settings, manage views and go to the "sort by" section and select your number field.
    Note that the field used to sort the project center view must be in the view to be used as a sorting criteria.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • QBE Error when query by String for Number column

    Hi,
    I have a table with Number column.
    The column structure is like below:
    <af:column>
    <af:inputText>
    <f:validator .../>
    <af:converNumber ..../>
    </af:inputtext>
    </af:column>
    QBE is enabled for this column.
    It works fine when query by Number value, such as '123'. But when I query by string like 'asd', it will return an error.
    Anyone met this problem?

    Hi Arun,
    I am using Jdev 11.1.1.7.0.
    In my case,
    I have a application table, from where user can create new row inline. Some fields in the row have type Long or Number. We are also using <af:converNumber ..../> inside <af:inputText> to do format.
    I do have a query panel above the table. But we want the user can also filter the records using QBE. Other columns are working fine, except the columns with type 'Number' or 'Long'.
    I checked the incident log, below are some useful information:
    Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number
    Caused by: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT ... FROM ... WHERE ... AND ( ( (MeaRulesEO.DEFAULT_MEA_PERIOD = :vc_temp_1 ) ) )
    It seems 'MeaRulesEO.DEFAULT_MEA_PERIOD = :vc_temp_1' causes the error. Jdev assumes every input from QBE header as number. If String is entered, Jdev will return error.
    I also checked that if the table is read-only, this problem does not exist.
    Please help on this. Thank you.

  • OWB Dataprofiling - Unique Key Analysis on non-number columns

    Does anyone know an easy way to enable unique key analysis on non-Number columns (OWB 10.2.0.3).
    It seems that the profiler by default disables the
    'Use in relationsship discovery' when the documented datatype is non-Number.
    Is this a setting which can be configured for OWB, or is there a smart way to set this property for all columns?
    thks in advance

    Hi don't think there is a way to to automatically switch this on/off, a small script can be created to set the option on/off for all columns in the table.
    Cheers
    David

Maybe you are looking for