Data Dictionary - Default Fields

Hai Friends,
                 This is Ramu. Can anyone help me
How to make Fields of a Table in Disable Mode and How to Populate Values when it is New Entry or Update.
Ex:  I have 5 fields in my table.
             Date
             Time
             UserName
             Indicator
             System No.
                       So, before giving the values. Date, Time and User Name should be in disable mode. and after giving SystemNo.
the Date, Time and User Name need to be Populated.
                        At the same time, when it is a New Entry "Indicator" need to be populated with "I  New Entry".  And if we make any changes to the Existing values then Indicator need to populate into "U Update Entry".
              Thank u.

Ramu,
Search for table maintenance events
Thanks
Bala Duvvuri

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.

  • 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

  • Mandatory custom metadata field with current system date as default value.

    I want to create a custom metadata field of type Date. I want to make it mandatory and want to set its default value as system date.
    I have already created field of type Date. What expression I should write to make system date as default value?
    Because its a mandatory field, what would happen to existing content. Will there metadata get updated?
    Thanks
    Sanjeev

    I want to create a custom metadata field of type Date. I want to make it mandatory and want to set its default value as system date.
    I have already created field of type Date. What expression I should write to make system date as default value?
    See http://docs.oracle.com/cd/E23943_01/doc.1111/e10726/c08_config_ref.htm#CSIDO710
    >
    Because its a mandatory field, what would happen to existing content. Will there metadata get updated?No, it will not be updated - profiles are active only for new or updated items (in fact, they work on front-end).
    >
    Thanks
    Sanjeev

  • Default Data for Document Fields D_CUII_TYP

    Hi experts,
    I am trying to define default data for document fields in Export Switzerland.
    Source field is G_IMPCN,  target field is D_CUII_TYP.
    I create the following master data, i.e.
    G_IMPCN = 39095000
    D_CUII_TYP = FREI
    meaning if G_IMPCN is 39095000 then Legal Document Type FREI is being created automatically.
    Then I run the default data function on document level but nothing happens.
    The log shows G_IMPCN with value 39095000 but D_CUII_TYP = FREI is missing.
    Do you have any idea what else I should do to resolve this issue ?
    Many thanks for help which is much appreciated.
    Best regards,
    Corinne

    Hi Corine,
    Be careful with the logs, they are quite confusing as sometimes it displays the value it is looking for and sometimes the value it has foud. And sometimes the green and red lights are wrong or put in a logic that is confusing.
    Most likely it does not find the value because it is looking in the Import numbering in the import scheeme. Did you try with STAWN ? At any rate, if I may suggest, you need to setup the system with having the commodity code in the Declaration, because if you do not have the Scheme CHEXP defined in the Scheme for commodity code you are going to face trouble when trying to retransfer the Tarification to the feeder System.
    Keep me posted.
    Regards,
    Marc

  • Indexes in data dictionary

    Hi all,
                can anyone tell me what is the process of creating a secondary index.?
                can we create a secondary index if a field is assigned with primary key?
                 can we create secondary index for a mara table field?
                when we click on INDEXES in data dictionary ---> database table by selecting a field then we get unique index and non-unquie index, what does that mean?
    regards,
    satish

    What is Secondary Index:
    first i will tell u little about primary index.
    The primary index contains the key fields of the table and a pointer to the non-key fields of the table. The primary index is created automatically when the table is created in the database.
    You can create further indexes on a table in the ABAP Dictionary. These are called secondary indexes.
    PURPOSE:
    This is necessary if the table is frequently accessed in a way that does not take advantage of the sorting of the primary index for the access. Different indexes on the same table are distinguished with a three-place index identifier.
    Generally it is used when field which u want is not a primary field .
    Advatange:
    1. faster access to data when field is not a primary key field.
    Disadvatnage:
    1. Slower down database table inset, update delete commands.
    You go for secondary index when you have any SELECT statement which has a WHERE clause which is not effectively using the existing index(s). But this decision of additional index has to be made in sync with the Basis and Functional team. Every additional index will be a burden on the database and the system resources.
    The secondary index is a type of index in database table. Indexes are used to improve the performances of data retrieval from the table. This happens by passing the values to these indices during SELECT query in the WHERE clause.
    There are different types of indices. Primary key is default present for all the tables in database. Only ONE Primary key can exist in a database table. It results in unique records in the database table.
    The other type of index is secondary index. Multiple fields can be grouped to make a secondary index of table. If all the field values is passed during SELECT query, the performance increases drastically.
    Not many fields should be included in secondary index. Large number of fields reduces the performance of INSERT query of database.
    Indexes are used to speed up data selection from the database. System chosse and use the index based on the fields given in WHERE and HAVING clause.
    The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table.
    If you are searching on non-key fields, you can create your own secondary index, which can restrict the number of table entries searched to form the result set.
    Improper use of Secondary index can slow down the performance. Discuss with Basis team before creating a secondary index.
    Check the threds -
    secondary index
    Secondary Index
    Primary index: the primary index contains key fiels of a table and a pointer to non-key fields of the table. The primary index is created automatically when a table is created in database and moreover you can further define reference to the primary index which are known as Secondary index.
    How many indexes can be created for a table? -> 9
    When you are selecting the data on non primary key,obviously system will give output with bad performance ,if you create secondary index then it gives better performance
    GOTO SE11 -> give ur table name -> click on display button -> click on index button ->click on create button -> give id ( z98 like ) -> give field names MANDT ,then ur field names
    save and activate
    Regards
    Vasu

  • Windows are weired in Reports- Data Dictionary Reports- PL/SQL- .......

    When I go to Reports->Data Dictionary Reports-> PL/SQL->Search Source Code I get a window where I can not enter anything and moreover nothing is clearly visible.
    Also same is happening for option Reports->Data Dictionary Reports-> PL/SQL->Progam Unit Arguments.

    The parameters default to NULL (the NULL check box is ticked) - to be able to enter a value, you need to first uncheck the NULL check box. You get the same thing with bind variables when running statements in the SQL Worksheet.
    I think it would be much better if typing anything into the parameter value field automatically deselected the NULL, but it doesn't do that.

  • 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

  • Various Data DIctionary VIews

    After posting something here a few days back about the myriad views needing to be digested for the Fund.I Exam, I have just gleaned this lot from the Couchman book. No doubt some of the pros out there may well correct me, but this is simple what I have collected from the book, in the last 3 hours. Cheers.
    Dictionary Views
    Data Dictionary
    Which users are in the database password file:
    V$PWFILE_USERS
    Where values set in the init.ora file can be viewed – all parameters:
    V$PARAMETER
    Script used to create the objects that comprise the data dictionary:
    catalog.sql
    To grant a special role to users so they can look at DBA views:
    SELECT_CATALOG_ROLE
    Information about all database objects in the database:
    DBA_OBJECTS
    Information about all tables in the database:
    DBA_TABLES
    Information about all indexes in the database:
    DBA_INDEXES
    Information about all views (including dictionary views) in the database:
    DBA_VIEWS
    Information about all sequences in the database:
    DBA_SEQUENCES
    Information about all users in the database:
    DBA_USERS
    Information about all constraints in the database:
    DBA_CONSTRAINTS
    Information about all table columns that have constraints on them:
    DBA_CONS_COLUMNS
    Information about all columns that have indexes on them in the database:
    DBA_IND_COLUMNS
    Information about all columns in all the tables in the database:
    DBA_TAB_COLUMNS
    Information about all the roles in the database:
    DBA_ROLES
    Information about all object privileges in the database:
    DBA_TAB_PRIVS
    Information about all system privileges granted to all users in the database:
    DBA_SYS_PRIVS
    Displays all PL/SQL source code in the database:
    DBA_SOURCE
    Information about all triggers in the database:
    DBA_TRIGGERS
    Information about object privileges granted to roles
    ROLE_TAB_PRIVS
    Information about system privileges granted to roles
    ROLE_SYS_PRIVS
    Information about roles granted to roles
    ROLE_ROLE_PRIVS
    Information about all tablespaces in the database:
    DBA_TABLESPACES
    Information about all profiles in the database:
    DBA_PROFILES
    For all parameters?
    V$PARAMETER
    General information about the database mounted to your instance:
    V$DATABASE
    Most information about the performance of the database is kept here:
    V$SYSSTAT
    Most information about the performance for individual user sessions is stored here:
    V$SESSION , V$SESSTAT
    Information about online redo logs (2)
    V$LOG, V$LOGFILE
    Information about datafiles
    V$DATAFILE
    Basic information about control files, and the two columns it has:
    V$CONTROLFILE. STATUS / NAME
    An object you can query to obtain a listing of all data dictionary objects (4)
    CATALOG, CAT, DICTIONARY, DICT.
    When the control file was created, Sequence Number, most recent SCN:
    V$DATABASE
    Information stored in different sections of the control file, Sequence Number:
    V$CONTROLFILE_RECORD_SECTION
    To see the names and locations of all control files in the db? (2)
    V$PARAMETER. V$CONTROLFILE
    Tablespace and Datafiles
    Temporary Segments:
    Name, tablespace location, and owner of temporary segments:
    DBA_SEGMENTS
    Size of temporary tablespaces, current number of extents allocated to sort segments, and sort segment high-water mark information. Space usage allocation for temporary segments:
    V$SORT_SEGMENT
    Types of sorts that are happening currently on the database
    V$SORT_USAGE
    To see the username corresponding with the session:
    V$SESSION
    Information about every datafile in the database associated with a temporary tablespace:
    DBA_TEMP_FILES
    Similar to DBA_TEMP_FILES, this performance view gives Information about every datafile in the database associated with a temporary tablespace:
    V$TEMPFILE
    Storage Structures
    A summary view, contains all types of segments and their storage parameters, space utilization settings:
    DBA_SEGMENTS
    Tablespace quotas assigned to users:
    DBA_TS_QUOTAS
    Segment name, type, owner, total bytes of extent, name of tablespace storing the extent:
    DBA_EXTENTS
    The location and amount of free space by tablespace name:
    DBA_FREE_SPACE
    The location of free space in the tablespace that has been coalesced:
    DBA_FREE_SPACE_COALESCED
    Information about datafiles for every tablespace
    DBA_DATAFILES
    Performance view for information for datafiles for every tablespace
    V$DATAFILE
    To see the total amount of space allocated to a table?
    DBA_EXTENTS
    Table creation timestamp, information about the object ID:
    DBA_OBJECTS
    High water mark, all storage settings for a table, and statistics collected as part of the analyze (for row migration) operation on that table
    DBA_TABLES
    Information about every column in every table:
    DBA_TAB_COLUMNS
    To determine how many columns are marked unused for later removal?
    DBA_UNUSED_COL_TABS
    To find the number of deleted index entries ?
    INDEX_STATS
    To determine the columns on a table that have been indexed:
    DBA_ID_COLUMNS
    The dynamic view to show whether the index is being used in a meaningful way?
    V$OBJECT_USAGE
    To see whether a constraint exists on a particular column?
    DBA_CONS_COLUMNS
    To see the constraints associated with a particular table:
    DBA_CONSTRAINTS
    To find the username, ID number, (encrypted) password, default and temporary tablespace information, user profile of a user, password expiry date:
    DBA_USERS
    To all objects, which objects belong to which users, how many objects a user has created?
    DBA_OBJECTS
    Resource-usage parameters for a particular profile:
    DBA_PROFILES
    Identifies all resources in the database and their corresponding cost:
    RESOURCE_COST
    Identifies system resource limits for individual users:
    USER_RESOURCE_LIMITS
    Shows all system privileges:
    DBA_SYS_PRIVS
    Show all object privileges:
    DBA_TAB_PRIVS
    Shows all privileges in this session available to you as the current user:
    SESSION_PRIVS
    Views for audits currently taking place are created by this script:
    cataudit.sql
    a list of audit entries generated by the exists option of the audit command:
    DBA_AUDIT_EXISTS
    A list of audit entries generated for object audits:
    DBA_AUDIT_OBJECT
    A list of audit entries generated by session connects and disconnects:
    DBA_AUDIT_SESSION
    A list of audit entries generated by statement options of the audit command:
    DBA_AUDIT_STATEMENT
    A list of all entries in the AUD$ table collected by the audit command:
    DBA_AUDIT_TRAIL
    To determine the roles available in the database, the names of all the roles on the database and if a password is required to use each role:
    DBA_ROLES
    Names of all users and the roles granted to them:
    DBA_ROLE_PRIVS
    All the roles and the roles that are granted to them:
    ROLE_ROLE_PRIVS
    Which system privileges have been granted to a role:
    DBA_SYS_PRIVS
    All the system privileges granted only to roles:
    ROLE_SYS_PRIVS
    All the object privileges granted only to roles:
    ROLE_TAB_PRIVS
    All the roles available in the current session:
    SESSION_ROLES
    Which object privilege has been granted to a role:
    DBA_TAB_PRIVS
    To display the value of the NLS_CHARACTERSET parameter:
    NLS_DATABASE_PARAMETERS
    DA

    You can also find a lot of stuff by doing:
    SELECT *
    FROM dictionary;

  • Differrences between structure and table in data dictionary in ABAP?

    What is the differrences between structure and table in data dictionary in ABAP?
    are they same?

    Tables :
    1. The place where the data is stored so that you can retrieve at any time.
    2. There can be more than one record stored
    Structures :
    1. The data / info stays only during the runtime of the application and will not get stored at all during the run time ....
    2. Only one record can be stored at the runtime .....
    A structure forms the skeleton of the table.
    A structure comprises components i.e., fields. Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth
    Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.
    When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.

  • CC&B version 2.3.1 - Data Dictionary

    Hi,
    Just upgraded to version 2.3.1 and don't seem to have access to the Data Dictionary any more.
    Was wondering if someone could advise how we can config this ?
    Thanks

    The default now for the installation is to disable the Appviewer and not load it as most environments do not need it. Ensure you have enabled the AppViewer in the configureEnv utility. Then run the genappvieweritems utility to populate it.

  • 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

  • Declare Internal Table in Code or in Data Dictionary...Opinions needed?

    Is it better to define your internal table and all of its fields in a begin of/end of declaration stmt in your code's data definitions. Or, is it better to create a structure in the Data Dictionary, which means one line of code in your program? Why does one choose the method they prefer?
    I am thinking it is best to declare in Data Dictionary, especially since ABAP is now leaning towrds objects. However, I am seeing a lot of field by field definitions in programs. I am very interested in how most programmers accomplish this and why.    
                     Thank-You

    I would say that if the internal table is to be used in more than one program, then I would create a structure and/or table type in the ABAP dictionary.  If it is to be used in just one program, then I would define it locally.
    Regards,
    Rich Heilman

  • 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

  • Is there any table in data dictionary has all clients and their email ids?

    Is there any table in data dictionary has all clients and their email ids?

    Hello,
    KNVK-ADRNP_2
    use this to pass to the bapi BAPI_BUPA_ADDRESS_GETDETAIL. this is function module & will return the address details in diff itabs..
    You can also try the Table ADR6 field SMTP_ADDR where ADDRNUMBER = KNVK-ADRNP_2.
    *************Reward points,if found useful

Maybe you are looking for

  • How do i find the serial # for my cs5.1 upgrade, my new laptop doesn't have a dvd player.

    how do i find the serial # for my cs5.1 upgrade.  my new laptop doesn't have a dvd player.

  • How to change win 7 k to english in my ideapad s10-3

    recently i bought a lenovo ideapad s10-3 netbook from korea( but  i am not korean originally ), it is all good but there is created one problem for me that while i first opened it, at that time i all changed its language and place to us english and u

  • How do I get messages to work on my itouch?

    Every time I try to access messages on my itouch it gives me an error message.  It says "could not sign in. Please check your network connection and try again". But I know my wifi is working because I can download apps and send emails.  Would the fac

  • Mailing a webpage - mistake in Safari Help

    I don't know if anyone else has seen this. I was going to mail a webpage to a friend of mine today, but couldn't remember how to do it. I clicked on Safari Help, typed in "mail a webpage", & got this answer: Choose Edit > Mail Contents of This Page,

  • How to handle leap in exit variable

    Hello Experts, I have a Customer exit variable which displays data for previous year of input date. When i am entering 02/28/2005 as input then the variable displays data only till 02/28/2004 but 2004 is a leap year and it has 29 days so my 29th day