Wrong datatypes in DC Dictionary table

Hi all,
I have create a DC Dictionary project and then create a table with columns like follows:
column name:       BuildInType:       length:
ID                 long
NAME               string             64
I deployed it and opened the SQL Studio for checking. I got the follow table definition:
NAME           DATATYPE
ID             Fixed
NAME           Long
Whats wrong here? Do I forgot something else?
Thx for help!
Stefan

AHH, i got it.
The column NAME must have a length, so I redeployed the project and it works.

Similar Messages

  • Data dictionary table where the structure of table is stored ???

    hi
    does anyone have idea where the structure of created table is stored in data dictionary.
    I have idea like where constraints are stored,indexes are stored etc. But I am looking if there is any data dictionary table which has this information too..
    Like
    create table tablename (colname datatype ..........
    Regards
    JC

    check built in dictionary view called dictionary or dict
    SQL> desc dict
    Name                                      Null?    Type
    TABLE_NAME                                         VARCHAR2(30)
    COMMENTS                                           VARCHAR2(4000)
    SQL> Explore it or SQL Reference and you'll find necessary info.
    Gints Plivna
    http://www.gplivna.eu

  • How can i fetch numeriic records from data dictionary table

    hi friends..
    let assume one data dictionary table ztable which contain
    fields like 1. key datatype c length 2
                  2. data datatype c length 10
    which contain data like
    aa      varehouse
    bb      material
    cc      sales
    01      one
    02      two
    03      three
    from these i want to fetch only 01, 02 and 03 records...
    i.e i want all the records that is in numbers only in key field of ztable
    can you guide me how to get tis?

    select * into table itab
    from ztable
    where key eq '01'
    or key eq '02'
    or key eq '03'.
    declare itab of the type same as ur ztable..
    the above select query will giv u required records..
    Edited by: Rudra Prasanna Mohapatra on Jul 14, 2008 11:13 AM

  • How to find out the aligning Data dictionary table for a structure.

    Hi
    As the table controls are associated with strucures, the data input goes to the data dictionary table aligned to that structure. Is there any way we can find out the table related to that particular structure ?
    Thanks,
    Dhareppa

    Hi,
    The structure and its fields may be associated with multiple database tables.
    You can try by where-used list of the structure/field and then you can look and determine the table by hit and try method.
    Also as suggested above you can try get the SQL trace and then ypu can look for table associated behind the structure/fields I believe this is the best way to find the DB table.
    Thanks,
    Ravi

  • Help required in creation of Dictionary table dynamically

    Hello All,
    I have created DDIC table created dynamically.
    But what i require is! the dictionary table which i have created should be under the package name as given by the customer.
    I have seen in FM DDIF_TABL_PUT  the parameter dd02v-APPLCLASS is the write parameter to create the table under the required package. This field is of length char 4 only.
    Normally the package name will be greater than char4 and also it happend in my case that the package name is more than char4.
    Now i am unable to create the table dynamically under the specified pacakage of the customer
    How can i solve this problem?
    Can any one help me in this issue?
    Regards,
    Gupta

    Hi Lakshman,
    Thank you for your reply,
    I have used the FM which you have mentioned but i didn't work. I mean when i see the attributes of the table, package is still empty.
    Can you help me to solve the problem.
      CALL FUNCTION 'TR_TADIR_INTERFACE'
        EXPORTING
    *     WI_DELETE_TADIR_ENTRY                = ' '
    *     WI_REMOVE_REPAIR_FLAG                = ' '
    *     WI_SET_REPAIR_FLAG                   = ' '
    *     WI_TEST_MODUS                        = 'X'
          wi_tadir_pgmid                       = 'R3TR'
          wi_tadir_object                      = 'TABL'
          wi_tadir_obj_name                    = lv_objname
    *     WI_TADIR_KORRNUM                     = ' '
    *     WI_TADIR_SRCSYSTEM                   = ' '
    *     WI_TADIR_AUTHOR                      = ' '
         wi_tadir_devclass                    = 'ZV/HF/PLANNING'
    *     WI_TADIR_MASTERLANG                  = ' '
    *     WI_TADIR_CPROJECT                    = ' '
    *     WI_TADIR_VERSID                      = ' '
    *     WI_REMOVE_GENFLAG                    = ' '
    *     WI_SET_GENFLAG                       = ' '
    *     WI_READ_ONLY                         = ' '
    *     IV_SET_EDTFLAG                       = ' '
    *   IMPORTING
    *     NEW_GTADIR_ENTRY                     =
    *     NEW_TADIR_ENTRY                      =
       EXCEPTIONS
         tadir_entry_not_existing             = 1
         tadir_entry_ill_type                 = 2
         no_systemname                        = 3
         no_systemtype                        = 4
         original_system_conflict             = 5
         object_reserved_for_devclass         = 6
         object_exists_global                 = 7
         object_exists_local                  = 8
         object_is_distributed                = 9
         obj_specification_not_unique         = 10
         no_authorization_to_delete           = 11
         devclass_not_existing                = 12
         simultanious_set_remove_repair       = 13
         order_missing                        = 14
         no_modification_of_head_syst         = 15
         pgmid_object_not_allowed             = 16
         masterlanguage_not_specified         = 17
         devclass_not_specified               = 18
         specify_owner_unique                 = 19
         loc_priv_objs_no_repair              = 20
         gtadir_not_reached                   = 21
         object_locked_for_order              = 22
         change_of_class_not_allowed          = 23
         no_change_from_sap_to_tmp            = 24
         OTHERS                               = 25
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Regards,
    Lisa
    Edited by: Lisa Roy on Apr 9, 2008 11:37 AM

  • JPA - TroubleShooting - Error in Datatypes used in Creating Tables

    h1. JPA - TroubleShooting - Error in Datatypes used in Creating Tables
    h2. Error Description
    The error appears when JPA is trying to automatically
    generate tables from Entities. It uses types it shouldn't because they aren't
    supported by the Database Engine. If you examine the createDDL.jdbc file you
    are going to find not supported data types. You could run the statements that
    are listed there directly to your Database Engine and find out that they don`t
    run generating syntax errors like the error posted below.
    h3. Query example (statement)
    CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50), SEQ_COUNT NUMBER(19))h3. PostgreSQL Error whent trying to execute the statment
    CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50),
    SEQ_COUNT NUMBER(19))": org.postgresql.util.PSQLException: ERROR: syntax
    error near "("
    h3. MSSQL 2000 Error when trying to execute the statement:
    [CREATE - 0 row(s), 0.578 secs] [Error Code: 2715, SQL State: HY000] [Microsoft][SQLServer 2000 Driver for
    JDBC][SQLServer]Column or parameter #1: Cannot find data type NUMBER
    h3. FireBird Error when trying to execute the statment
    Dynamic SQL Error
    SQL error code = -104
    Token unknown - line 1, char 62
    Statement: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50),
    SEQ_COUNT NUMBER(19))
    h2. TroubleShooting
    Looks like it wants "NUMERIC", not "NUMBER".
    [http://www.postgresql.org/docs/8.1/interactive/datatype.html#DATATYPE-NUMERIC]
    I had this problem using Firebird. I found out it had to do
    with the database jdbc driver. I tried using a different database engine, like
    Microsoft SQL Server 2000 with the corresponding driver and it worked as it
    should. I suspect the JDBC driver has to supply in some way the datatypes it
    supports to JPA TopLink Library.
    Edited by: juanemc2 on Apr 1, 2008 7:39 AM

    In Hibernate you can supply the "dialect" to use for SQL generation. I assume TopLink to have a similar functionality.
    This is not a generic JPA issue, but rather something with the specific implementation you're using.
    Or rather it is a generic SQL issue, caused by different database engines using slightly (or not so slightly) different SQL syntax which causes problems when generating SQL automatically.

  • How to store variable length of data in data dictionary table

    hi friends
        i want to store variable length of text in one of field of table which is created in data dictionary.
        i tried it by declaring table field type as string,
    include that table using table statement and try to insert data in abap program . but it gives error something
    "cannot use table having deep structure " i don't remember it exactly.
          can you help me how to insert variable length of data in text data dictionary table.

    Hi,
        define field with type LRAW in your table to store
        string more than 255 characters.
          LRAW                                                                               
    Uninterpreted byte string of arbitrary length, but with a minimum                   
          length of 256. Fields of this type must be located at the end of                    
          tables and must be preceded by a length field of type INT2. LRAW                    
          fields cannot be used in the WHERE condition. LRAW is functional from               
          Release 3.0.                                                                        
    Regards
    amole

  • Icons in data dictionary table

    how do i get icons in a data dictionary table.
    i make this:
      DATA: BEGIN OF ls_structure,
            list TYPE TABLE OF dictionarytable,
            END OF ls_structure.
      DATA: wa_list LIKE LINE OF ls_structure-list.
      LOOP AT ls_structure-list INTO wa_list.
        wa_list-zdate = wa_list-datatime(8).
        wa_list-ztime = wa_list-datatime+8.
        wa_list-zlights = '@5C@'.
        INSERT dictionarytable FROM wa_list.
      ENDLOOP.
    my dictionary table has a field with zlight which is type icon_d.
    but when i look in the table the column is empty..........

    Hi,
    I wrote a sample code for your reference:
    include <icon>.
    tables zicon.
    zicon-id = '111111'.
    zicon-icon = icon_checked  .
    insert into zicon values zicon.
    for icon, I also used the type icon_d.
    Hope it helps.
    Regards,
    Chris Gu
    Edited by: Gu Chris on Nov 20, 2008 3:33 AM

  • Collection of stats prior to 10g upgrade for dictionary tables

    Collection of stats prior to 10g upgrade for dictionary tables is required? I thought if you are upgrading from 9i to 10g the stats in 9i become stale in 10g.
    I read a document that says you need to collect stats prior to upgrade and import them once your upgrade is done. Can someone guide me?

    I don't know where did you get these? There's some optimizer improvement and new feature in 10g. Collecting stats before upgrade and import later is unheard of.
    I suggest you check this article
    Choosing An Optimal Stats Gathering Strategy
    http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/
    and the white paper mentioned,
    White Paper entitled Upgrading from Oracle Database 9i to 10g: What to expect from the Optimizer.

  • Problems with Java Dictionary Tables

    Hi Experts,
    I have some problems with the Java Dictionary tables that I have created for my
    application. There are around 15 dictionary tables, each one of them having
    several hundred records, added in due course.
    As much as I understand these tables (created using the dictionary perspective)
    are stored in the default schema of the J2EE engine where the dictionary project
    is deployed and there is no direct way to insert records into these tables, we have
    to separately write methods to insert, update and delete records.
    I've already done this. Now the problem is that i have moved my project DC from
    development to testing. Now here the tables are existing, but not the data that i
    inserted during development.
    NOW, the main question: IS THERE ANY WAY IN WHICH I CAN TRANSFER
    THE CONTENTS OF THESE JAVA DICTIONARY TABLES??
    I have tried solutions like creating a DBLINK between the databases, but it is
    tedious, and unpredictable in behaviour. Also Please do not advise to first
    download them to excel and then upload using jxlapi, etc.
    Thanx in Advance.
    Alka.

    Hi Alka,
    The dblink is a good solution, but just a bit slow. You can also use a SQL Loader, first export the data from the source table in a text file (i.e. using a tool like TOAD), then sql loader loads the data in the destination table. This is more fast.
    Hope this help,
    Vito

  • Dictionary table showing history of parameter changes ... fact or fiction?

    Guten Tag
    I understand there is a dictionary table/view/object that tracks changes to database parameter values but I can't seem to be able to find it.
    A co-worked mentioned that information is available in OEM so I figured there must be a table somewhere that is storing it.
    Any thoughts or documentation references are most welcome.
    Thanks very much!
    -gary

    >
    I assume the SNAP_ID in that table must be a reference to an AWR snap of database information?
    >
    Why assume? Not the definitive source but see this blog about the dba_hist tables
    http://it.toolbox.com/blogs/living-happy-oracle/oracle-the-dba_hist-tables-30168
    >
    The information in most of the DBA_HIST tables corresponds to the AWR snapshots (the SNAP_ID column tells us to which snapshot the information is relevant to) so they are populated with new information when a snapshot is taken and old information is purged along with the AWR snapshot according to the AWR retention settings.
    >
    The last bullet point in the article may answer your initial question. This is just the start - there is also a query you can use
    >
    ■Did you ever wonder if someone had changed a system parameter and did not inform you? No more, the DBA_HIST_PARAMETER keeps system parameter information for all snapshots and helps the DBA track any parameter.

  • ALV fields which are not referenced to data dictionary table fields

    Hello,
    I am using function module reuse_alv_popup_to_select.
    How do I display fields in ALV which are not referenced to
    data dictionary table fields.
    I am showing 4 columns in alv out of which first column is checkbox
    and remaining 3 columns are from data dictionary and it works fine.
    Now I need to add one more column which is of type checkbox.
    I have added this field in my ITAB as flag(1) type C.
    When I add this flag field in the field catalog, I get exception.
    Regards,
    Vishal.

    Hey guys,
    Finally I got rid of such a stupid problem.
    There were no problem in the code.
    while assigning fieldname to field catalog I had given fieldname
    in lowercase.
    I changed it to uppercase and problem got solved.
    Thanks,
    Vishal.

  • Accessing dictionary tables from dynpro?

    Hi all
    As far as i know, there are 4 approches to access dictionary tables from webdynpro.
    -entity bean
    -sqlj
    -jdbc
    what are the advantages and disadvantages for all above?
    and which one to go for?

    Hi swathi
    See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
    Relational Persistence
    =================
    SQL-based coding: expressive!
    SQLJ: for static SQL, checked at design time,
    recommended
    JDBC: for dynamic SQL, can be combined with SQLJ
    =======================
    Object-relational Persistence
    ======================
    SQL-free! Portable!
    JDO: light-weight object persistence, Java-like dynamic
    query language
    EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
    Regards,
    Venkata Kalyan Karanam

  • Issue with data dictionary -Table maintanance generator

    Hi all,
    I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
    1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
    2)0012 could not be generated
    3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
    My main motto is to create the table maintainace generator and transport to the furthur systems .
    Please help.
    ThnX in advance,
    Vishal..

    HI,
    Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
    Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
    Thanks,
    Best regards,
    Prashant

  • How to create dictionary table using web dynpro?

    Dear Experts,
    Please clarify my doubts.Im new in this EP development.
    Im using EP6 portal with NWDS6 for dev.
    My Doubts are :
    Im trying to develop a web dynpro application which captures some data and insert/update in Table.
    => If we create a structure Dictionary in web dynpro application will that automatically create the table in Portal database?
    => If it is automatically created how to insert or update that table.
    can any one plz help.
    thanks and regards,
    Viswes.

    Hi Visweswara
    This will use the concept of EJB.
    Refer these for creating Dictionary tables...
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
    As far as answer to your second question is concerned,
    => If u create a structure Dictionary in web dynpro application  it will not create the table in Portal database..
    You can access that table via creating a web dynpro iview in Portal..
    Only application can accessed after deployment via iviews in Portal..
    Thanks...
    Rewards Appreciated...

Maybe you are looking for