What is data dictionary?

what is data dictionary?
thank u.

The ABAP Dictionary centrally describes and manages all the data definitions used in the
system. The ABAP Dictionary is completely integrated in the ABAP Development Workbench. All
the other components of the Workbench can actively access the definitions stored in the ABAP
Dictionary.
The ABAP Dictionary supports the definition of user-defined types (data elements, structures and
table types). You can also define the structure of database objects (tables, indexes and views) in
the ABAP Dictionary. These objects can then be automatically created in the database with this
definition. The ABAP Dictionary also provides tools for editing screen fields, for example for
assigning a field an input help (F4 help).
Database objects
Table
DB table
Tools
Screen
Poss. values
F4
Type definitions
Structure
Table type
Data element
The most important object types in the ABAP Dictionary are tables, views, types (data elements,
structures, table types), domains, search helps and lock objects.
BC - ABAP Dictionary SAP AG
ABAP Dictionary
10 December 1999
ABAP Dictionary
Purpose
Data definitions (metadata) are created and managed in the ABAP Dictionary. The ABAP
Dictionary permits a central description of all the data used in the system without redundancies.
New or modified information is automatically provided for all the system components. This
ensures data integrity, data consistency and data security.
You can create the corresponding objects (tables or views) in the underlying relational database
using these data definitions. The ABAP Dictionary therefore describes the logical structure of the
objects used in application development and shows how they are mapped to the underlying
relational database in tables or views.
The ABAP Dictionary also provides standard functions for editing fields on the screen, for
example for assigning a screen field an input help.
What Information is Stored in the ABAP Dictionary?
The most important object types in the ABAP Dictionary are tables, views, types, domains,
search helps and lock objects.
Tables are defined in the ABAP Dictionary independently of the database. A table
having the same structure is then created from this table definition in the underlying database.
Views are logical views on more than one table. The structure of the view is defined in
the ABAP Dictionary. A view on the database can then be created from this structure.
Types are used in ABAP program. The structure of a type can be defined globally in
ABAP programs. Changes to a type automatically take effect in all the programs using the type.
Lock objects are used to synchronize access to the same data by more than one
user. Function modules that can be used in application programs are generated from the
definition of a lock object in the ABAP Dictionary.
Different fields having the same technical type can be combined in domains . A
domain defines the value range of all table fields and structure components that refer to this
domain.
The ABAP Dictionary also contains the information displayed with the F1 and F4 help for a field
in an input template. The documentation about the field is created for a data element
that describes the meaning of the contents of a table field. The list of possible input values that
appears for the input help is created by a foreign key or a search help .
Integration in the ABAP Development Workbench
The ABAP Dictionary is completely integrated in the ABAP Development Workbench. The R/3
System works interpretatively, permitting the ABAP Dictionary to be actively integrated in the
development environment. Instead of the original objects, the interpreters see only internal
representations of these objects.
These internal representations are adjusted automatically when the system finds that changes
have been made in the ABAP Dictionary. This ensures that the screen and ABAP interpreters,
input help, database interface, and development tools always access current data.
SAP AG BC - ABAP Dictionary
ABAP Dictionary
December 1999 11
The following ABAP program lists the airline carriers (see Flight model )
and carrier IDs contained in table SCARR.
DATA: SCARR_TAB TYPE SCARR.
SELECT * INTO SCARR_TAB FROM SCARR.
WRITE: / SCARR_TAB-CARRID, SCARR_TAB-CARRNAME.
ENDSELECT.
Only structure SCARR_TAB is declared in the program. All the information about this
structure, such as the field names, data types and field lengths, are copied from table
SCARR, which is defined in the ABAP Dictionary. This information about table
SCARR is called from the ABAP Dictionary when the program is generated.
This means that the source text of the program need not be adjusted when a change
is made to table SCARR, for example when the length of a table field is changed.
The next time the program is called, the system automatically determines that the
structure of table SCARR has changed. The program is simply regenerated, thereby
retrieving up-to-date information about table SCARR from the ABAP Dictionary.
´ D´Deevveeloloppmmeenntt e ennvviriroonnmmeenntt
R Ruunnttimimee e ennvviriroonnmmeenntt o off t thhee a apppplilcicaattioionn
ABAP
Interpreter
Dialog
Control Interfaces Screen
Interpreter
ABAP
Tools
Data
Modeler
Screen
Painter
ABAP
Dictionary
When you work on development projects, objects of the ABAP Dictionary can be changed any
number of times before being activated and made available to the operative
components of the system. Objects can have both an active and an inactive version in the ABAP
Dictionary at the same time.
Inactive ABAP Dictionary objects have no effect on the runtime system (ABAP processor,
database interface). This permits greater changes to several objects without impairing the
BC - ABAP Dictionary SAP AG
ABAP Dictionary
12 December 1999
executability of the system. The objects can only be activated together when they have all been
changed.
SAP AG BC - ABAP Dictionary
Tables
December 1999 13
Tables
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.
Activation
program and
DB UTILITY
T1 T2 T3 ... Tn
T1
T2
T3
Tn
DB
Database-independent Definition of the
Tables in the ABAP Dictionary
Definition of the tables
in the database
A table definition in the ABAP Dictionary contains the following components:
• Table fields define the field names and data types of the fields contained in the
table
• Foreign keys define the relationships between the table and other tables.
• Technical settings control how the table should be created in the database.
• Indexes : To speed up data selection, secondary indexes can be created for
the table
If want more information regarding the link
follow the link
http://www.esnips.com/doc/25b22601-4172-462a-ac82-f6f68bcac85b/SAP-ABAP-Dictionary
DO REWARD IF USEFUL!

Similar Messages

  • How many types of tables exists and what are they in data dictionary?

    hi,
    How many types of tables exists and what are they in data dictionary?
    regards.

    Hello Liu,
    Please search in forum before posting any question .
    anyhow check the below link :
    http://web.mit.edu/sapr3/dev/sap_table_types.htm
    Thanks
    Seshu

  • What is the step by step process to create a table in data dictionary?

    hi,
    What is the step by step process to create a table in data dictionary?
    regards.

    sorry, question resolved.

  • What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary

    hi All
      i want the correct meaning of the following sentence <b>"What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary"</b>.If any onre knows kindly explain me...
    thanks in advance...

    Hi,
    Abap is programming language in business, data dictionary is kind a interface for editor to retrive from database level to presentation area. its a meta data.
    The ABAP Dictionary’s integration with the rest of the development environment enables ABAP programs to automatically recognize the names and characteristics of dictionary objects.
    Additionally, the system provides easy navigation between development objects and dictionary definitions. For example, as a programmer, you can double-click on the name of a dictionary object in your program code, and the system will take you directly to the definition of that object in the ABAP/4 Dictionary.
    Reward points if helpful,
    regards,
    jinesh

  • What is the data dictionary that stores the SQL text of stored procedures?

    I am handling both Oracle 8i on IBM AIX 5L and Oracle9i on SUN Soliars 8 /9.
    What is/are the data dictionary tables, or v$ views that store the SQL text of stored procedured and triggers?
    Thank you in advance!

    If the procedures are not wrapped, you can view them in the dba/all/user_source view. Trigger bodies can be seen in dba/all/user_triggers view.
    Message was edited by:
    Daniel Fink

  • What is the data dictionary for direcoty objects?

    Dear All,
    I would like to know the data dictionary for directory objects. Or where i can get more details of directory objects.
    Thanks in advance
    Balaji

    Hi,
    YOu can use dba_directories view to get info about directory.
    For other views
    1.select * from tab where tname like '%DIRECT%';
    2.select * from dictionary where table_name like '%DIRECT%';
    Regards
    Jafar

  • Select schemas from relational model on import from data dictionary option

    Hi All,
    I have one relational model with 3 diferent schemas,
    I want to compare one of my schemas with the data dictionary I have in a database,
    I select the import option in the general file menu, select from data dictionary option,
    select the connection from my database,swap target model checked,select a physical model and select the objects i want to compare from the database,
    My problem is that the result is the comparison between all the objects in my model and the objects in the database that I have selected,
    what I really want is to compare a list of objects in my model to a list of objects in my database,
    this could be possible? or always need to compare all the objects of the model?
    Thanks in advance

    Hi jbellver,
    there is no any development in DM 3.1.0.691 on that problem. In production release you'll be able to compare objects in subview with database or just to select several objects and compare them with database. And of course "generate in DDl" filtering still can be used - it works at "Compare dialog" level.
    Philip

  • Comments not imported from Data Dictionary of SQL Server. SDDM 3.3.0.747

    Hi,
    SDDM 3.3.0.747 32-bit on Windows 7 64-bit.
    Comments are not imported from Data Dictionary of SQL Server 2008. Connection through Microsoft JDBC Driver 4.0 for SQL Server or jTDS 1.2.7
    What I have tried? In SDDM DDL generation, Comments in DBRMS for SQL Server are generated with "EXEC sp_addextendedproperty 'MS_Description' , 'Test Comment' ..." so I added extended property named "MS_Description" into SQL Server database, both on table and column. None of them were imported from Data Dictionary into SSDM. I have tried both drivers stated above. Is it a bug or am I missing something?
    I've found similar question thread Re: Data dictionary import doesn't import column comments for SDDM 3.0.0.665, so I guess it is a bug when importing with JDBC drivers.
    MiGli
    Edited by: MiGli_1006342 on May 25, 2013 8:32 AM
    Edited by: MiGli_1006342 on May 25, 2013 9:02 AM

    Extended properties were not imported correctly from SQLServer databases at DM 3.3.0.747.
    Calls to sp_addextendedproperty and fn_listextendedproperty have been modified.
    I don't think it is a problem with JDBC drivers.
    A bug fix should be available in the next release of DM.

  • Diff B/w ABAP Dictionary and Data Dictionary

    What is the difference between ABAP Dictionary and Data Dictionary........

    Hi,
    Both are the same.
    Please check this online document perhaps it may help.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
    Regards,
    Ferry Lianto

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

  • FAQ's, intros and memorable discussions in the ABAP Data Dictionary Forum

    Welcome to the SDN ABAP Data Dictionary Forum!
    In addition to release dependent information avalaible by:
    - pressing the F1 key on an ABAP statement,
    - or searching for them in transaction ABAPDOCU,
    - using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
    - the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
    - the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
    - the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
    ... this "sticky post" lists some threads from the ABAP forums as:
    - An introduction for new members / visitors on topics discussed in threads,
    - An introduction to how the forums are used and the quality expected,
    - A collection of some threads which provided usefull answers to questions which are frequently asked, and,
    - A collection of some memorable threads if you feel like reading some ABAP related material.
    The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
    Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.
    ABAP Dictionary
    Modifying SAP Tables directly => Direct SAP table changes, internal only warnings, and other DDIC risks....
    RTTS dynamic DB table reference, how? => Dynamically assigning a DB table reference.
    retreive  data from table pool and table cluster => What works and what not to access table clusters and pools.
    Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict? => Convert SLIS to LVC, or convert DDIC standards.

    Welcome to the SDN ABAP Data Dictionary Forum!
    In addition to release dependent information avalaible by:
    - pressing the F1 key on an ABAP statement,
    - or searching for them in transaction ABAPDOCU,
    - using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
    - the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
    - the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
    - the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
    ... this "sticky post" lists some threads from the ABAP forums as:
    - An introduction for new members / visitors on topics discussed in threads,
    - An introduction to how the forums are used and the quality expected,
    - A collection of some threads which provided usefull answers to questions which are frequently asked, and,
    - A collection of some memorable threads if you feel like reading some ABAP related material.
    The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
    Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.
    ABAP Dictionary
    Modifying SAP Tables directly => Direct SAP table changes, internal only warnings, and other DDIC risks....
    RTTS dynamic DB table reference, how? => Dynamically assigning a DB table reference.
    retreive  data from table pool and table cluster => What works and what not to access table clusters and pools.
    Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict? => Convert SLIS to LVC, or convert DDIC standards.

  • PtData (Point Data Dictionary) how to see elevation values in Adobe Reader\Acrobat?

    PtData (Point Data Dictionary), Geospatial Features, Adobe Suppliment to the ISO 32000, extension level 3
    In 8.8.1 Geospatial Features chapter, Point Data Dictionary sub-chapter are written:
    Any 2D object (image XObject....) that contains a measure dictionary
    of subtype GEO can optionally include a PtData entry.
    The value of a PtData entry is a point data dictionary or an array
    of point data dictionaries of extended data associated with points in the 2D space.
    Table 8.111d list the entries of a point data dictionary.
    There are three predefined names:
    LAT, latitude in degress. The XPTS value is a number type.
    LON, longitude in degrees. The XPTS value is a number type.
    ALT, altitude in meters. The XPTS value is a number type.
    I have already generated a valid measure dictionary of subtype GEO.
    In Adobe Reader XI:
    Edit -> Analysis -> Geospatial Location tool
    it shows latitude\longitude for the selected point of flat PDF map.
    I.e. it works fine!
    However, I am interesting to show altitude (elevation) for the selected point.
    As I understand heights map could be specified by PtData dictionary.
    But I do not see any "elevation", or "height", or "altitude" parameter in Geospatial location tool.
    What do I wrong?
    I tried to find some working example of such 2D geo-registred PDF file in internet
    which also contains information about elevation (or altitude) in PtData dictionary,
    but unsuccessfully.
    I think that it could be very good if some flat PDF map will reports elevation for the specified point.
    Any advise is appreciated.

    Yes.  As I mentioned, I have tried a few things already.  Is there any way to get specific click by click instructions.  The difficulty is understanding what boxes to click on or off.  I've been in that menu, and tried a number of things but the rights in reader do not allow the user to add and save text.  DO you have a specific set of instructions to help solve this issue?

  • Open conversions in data dictionary

    Dear experts,
    We have been trying to install an ST-PI package in an SAP system.However,it gives a warning saying "Open conversions in data dictionary". It says - Some open conversion requests still exists for the following ABAP data dictionary objects.To avoid inconsistencies and data losses you must process these conversions first. 
    Further it asks us to run the transaction SE14 which points towards the table GLPCA and says Index Z1 does not exist.
    What can be the cause behind this?I do not have an ABAP background.So,hoping if you could help me out.
    Regards,
    Minuj
    Edited by: minuj sarma on Feb 22, 2008 2:12 PM

    hi  sagar,
    Go to transaction SE14 and choose the following options in the menu
    DB requests --> Terminated
    Reward points if usefull,
    Thanks,
    Kalyan.

  • 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

Maybe you are looking for

  • F110 - each item in each payment document for the same vendor

    Hi Guru, When i use F110 to do auto payment run for one vendor, each item is paid by each payment document although the document currency is the same, do you know why it appear like this, by right, all the vendor open items should be paid in one paym

  • Help please. CS6 exchange panel will not load.

    Hi, I have Photoshop CS6 extended and for some reason my adobe exchange panel will not load. This only happened earlier today.  I have been designing all week and never had a problem before this. I cannot load any of the panels in Photoshop.  I have

  • IMac G5 or Powermac for Graphic Design Industry?

    I was wondering what kind of computer does the Graphic Design industry uses? iMac G5 or the Powermac? What do you recommend? I heard that the Powermac is usually used by professionals. Is this true? How does the iMac G5 compare to it? imac G5   Mac O

  • Java VM 1.4.2 Install problems

    I have multiple Win2K Workstations (Service pack4 IE 6 Sp1) that do not install the VM properly. Although the install appears to go fine, when trying to access a site requiring that VM 1.4.2 be installed, Internet Explrer locks up. Double click on th

  • Black Thumbnails on Import

    I recently had a strange problem with iPhoto (5.04); On importing a folder of photos, the thumbnails were all black. I had also had my privillages corrupted on my user folder by a bad installer, and could not empty trash or create new folders, etc. I