Identity DB field in Data Dictionary Table

Hi
I am using NW04 SP9
I created a Data Dictionary DC and created a new TABLE.
I need one of the fields to be an IDENTITY field (that generates an ID automatically whenever a new record is craeted).
Q1. Is the Data Dictionary DC and Plug in (of NW04 SP9) support such a feature?
Q2. If the answer is no, what are my alternatives?

Hi,
the enqueue method in question is called
getUniqueIncreasingNumber()
There is another SDN forum thread describing its invocation pretty well:
Autogenerate Primary Key
(in this thread you can also view the invocation of guid based strings, as guid based generation executes locally, it is a good idea to use it if primary keys can be strings, contrary, enqueue invocation implies connecting to the enqueue instance)
You can view the Javadoc for getUniqueIncreasingNumber()
in the local documentation of your Developer Studio installation (API WAS/J2EE Engine/com.sap.services.......applocking),
i just copy and paste it here:
"getUniqueIncreasingNumber
public long getUniqueIncreasingNumber()
                               throws com.sap.engine.frame.core.locking.TechnicalLockException
Returns a number with the following properties:
every method-call returns a higher number than the previous ones
the number contains the timestamp of the central server, so this will work correctly in a distributed environment and also after a restart of the cluster
This number can be used for every purpose, it is not locking-specific.
ATTENTION: if the system-time of the central server is changed this will probably not work correctly any more."
Note that the precondition is that you never change the system time of the Enqueue Instance (what is indeed in general not allowed in SAP systems, see the SAP note #771577). In the case of enqueue replication server, both system clocks have to be synchronized.
good luck, Katarzyna

Similar Messages

  • 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.

  • 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

  • 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

  • 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 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

  • Creation of field in data base table

    Hi,
      I want to create a field in data base table , which holds the float values but i don't want to use the FLTP data type, why bcoz if i use this data type in selection screen of the table the the field is not appeqring, i dont want to go for the option QUAN bcoz there i need to define the ref table and ref field.
    please explain what is the way to create this field.
    regards
    Krishna

    Use NUMC
    Awrd POints if useful
    Bhupal

  • Function based indexes info,pls let me know data dictionary table name?

    Hi,
    pls let me know,Where can we find Function based index information ,that is data dictionary table name,.
    that is information like function used, column name.
    Thanks,
    KUmar.

    all_ind_expressions

  • How to trace the data dictionary tables used in the standard transaction

    Dear all,
    Help me to trace the data dictionary tables used in the standard transaction "crm_dno_monitor". I need to find the tables where the data are stored.
    or
    Tell me generally how to find the tables used in the standard transaction.
    Regards,
    Prem

    Hi,
    Open the program of that standard transaction in object navigator or SE80..
    Then click on the dictionary structures tab..
    U can find the database tables used in this transaction..
    \[removed by moderator\]
    Regards,
    Rakesh
    Edited by: Jan Stallkamp on Jul 29, 2008 5:29 PM

  • 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

  • EEWB : in CRM 4.0 adding  field with data element = table type

    Hi,
    Do you have experience in CRM4.0 to add a customer field with data element that is a table type ?

    Marie,
    I don't believe it is possible in CRM 4.0.  Another drawback of the EEWB is that you can't add currency or quantity fields using the EEWB tool.
    Good Luck,
    Stephen

  • NWDS DATA DICTIONARY TABLE ISSUE

    Hi,
    I created a table in Data Dictionary. I created a new archive and deployed the SDA files successfully, but could cannot see the table in the Oracle Database. It says "Table or view does not exists".  What could be the error? How can i see the table in database?
    Regards,
    Divya

    answered

  • How to control the name of custom field in data base table, added by AET

    Hi,
    I have added the one custom field by Application Enhancement Tool (AET).
    The name of custom field has been added in the data base table as ZZFLD000004 by AET.
    I need to add the some meaningful name like that ZMYPROB.
    How can I control the name of custom field in the database field through AET?
    Thanks,
    Amit

    Got the answer.
    Need to click on the Enable Expert mode, then custom field name will be editable.

  • Customer Include in Data Dictionary Table

    Hi
    I have added a new field in Structure PAD614 and Table HRPAD614 through a customer include CI_PAD614. The table is adjusted and structure is activated. Is there anyway that the newly added field becomes the part of a standard screen as structure PAD614 is used for a standard screen. I have to display the newly added field on the screen.
    Regards
    W Imran

    Hi Imran,
    Is this issue resolved.
    We are also facing a similar issue , and would like to incorporate the Custom field in the standard screen.
    Please let us know.
    Raj

Maybe you are looking for

  • BDC problem in background?

    Hi, I am running the BDC on t code FB05  and its running fine in foreground mode , but in background it throws the error Screen not Found. After passig the screen also , then it says that for line item 2 G?l is mandatory. Now how to select the second

  • Video editing & playback issues: Adobe Premiere Elements 8

    Hello all, I have made several attempts at transfering HD video  files from my camcorder to my PC and then editing. When I try to play the transferred file, it is a little choppy and then gets worse as I edit it. Here are my specs/config: System: HP

  • Help in the query

    hi folks, Help me to build the query here. Tables BKPF - fields belnr, blart        BSEG - fields kunnr,wrbtr, zuonr I need to get the data into a single internal table whose strucutre consists of fields kunnr, blart,wrbtr and zuonr the common field

  • How to preserve OSB security settings while deploying a existing project

    Hi , We are deploying OSB projects using ant scripts, But security settings are getting disabled every time we deploy new version project. Through console deployment we can preserve those settings , but we need to capture/preserve security settings t

  • Authenticate users by Windows group using ACS

    Currently we are using Windows IAS/RADIUS to authenticate users onto out wireless network and it is set to allow users in a certain Windows group to connect. Is there a way to do this with ACS? Please note that we are using ACS Solution Engine, not A