0% found this document useful (0 votes)
55 views

Data Dictionary Meterial

The document discusses data dictionary objects in SAP, including domains, data elements, and tables. It provides steps to create a custom domain, data element, and table in the ABAP data dictionary. The data dictionary centrally describes and manages all data definitions used in the system. Domains define technical characteristics of table fields, data elements describe field roles, and tables are used to store data permanently in rows and columns.

Uploaded by

Karthik K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views

Data Dictionary Meterial

The document discusses data dictionary objects in SAP, including domains, data elements, and tables. It provides steps to create a custom domain, data element, and table in the ABAP data dictionary. The data dictionary centrally describes and manages all data definitions used in the system. Domains define technical characteristics of table fields, data elements describe field roles, and tables are used to store data permanently in rows and columns.

Uploaded by

Karthik K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

In this document will learn about:

• What is Data Dictionary

• Data Dictionary Objects

• Creating custom table, Domain and Data Element

What is Data Dictionary:

The ABAP Dictionary centrally describes and manages all the data definitions used in the system. The
ABAP Dictionary is completely in the ABAP Workbench. All the other components of the Workbench can
actively access the definitions stored the ABAP Dictionary. These objects can be automatically created in
the database with this definition .

Data Dictionary Objects:

• Domain

• Data Element

• Tables
Domain:

 Describes the technical characteristics of a table field such as data type and length of a table field
 Specifies a value range which describes allowed data values for the fields
 Fields referring to the same domain (via the data elements assigned to them) are changed when a
change is made to the domain

Creation of Domain:
Step1: Open Data Dictionary – SE11
Step2: Select Domain & Give a name starts with ‘Z’ or ‘Y’. Click on create button.

Step 3: Provide Short description, Data type and No. Characters.


Step4: Click on Save button. You’ll get Create object dictionary entry then click on
button.

Step5: Click on activate button to activate.

 Once the object has activated you can use this domain for any data element.

Data Element:

 Describes the role played by a field in a technical context


 Data Element gives the field labels and documentation for the table field.
Creation of Data Element:

Step1: Open Data Dictionary – SE11

Step2: Select Data type & Give a name starts with ‘Z’ or ‘Y’. Click on create button.
Step 3: It will ask for create type zemployee_name. Select Data Element radio button. Click ok
button.

Step 4: Provide short description and Domain name.

Note : You can also create new domain here or you can use existing domain.
Step 5: Click on Field Label tab. Provide values for length and field labels.

Step 5: Click on Save button. You’ll get Create object dictionary entry then click on
button.

Step 6: Click on activate button to activate


Tables :

  A table is used for storing the data permanently in form of rows and columns

 In ABAP every table must have one primary key and maximum of 16 primary keys. The primary key

field should be at beginning of the table.


 Table fields define the field names and data types of the fields contained in the table.
 Technical settings control how the table should be created in the database.
Creating Tables:
Step1: Open Data Dictionary – SE11

Step2: Select Database Table & Give a name starts with ‘Z’ or ‘Y’. Click on create button.
Step 3: In this step you must provide the values for following fields

1. Short Description

2. Delivery Class: A

Delivery Class:
   The Delivery class control the transport of the table data when installing or updating in a client copy
and when transporting between customer systems. It describes the owner of the table and the one who
maintains the data in the table.
  Ex: A: Application Table (Master and Transaction data)
        C: Customer Table (Data is maintained by the customer only)

3. Data Browser/Table View Maint : Display/Maintenance Allowed


Step 4: Click on Fields tab.

 You can define all the fields for your table.


 Here MANDT is the field that specifies Client Number
 The fields which are unable key are primary key fields
 You must declare key fields first

Step 5: Click on Save button. You’ll get Create object dictionary entry then click on
button.
Step 6: To activate table you must fill the Technical Settings.

Click on Technical Settings in Standard tool bar.

Data Class: APPL0


    The data class defines the physical area of the database in which your table is locally stored.
    It shows what type of data the table contains.
   Ex:  APP0-- Master data
          APP1-- Transaction data
          APP2 Organizational & Customized data
   Master data is data which is frequently used but rarely updated.
   Transactional data which is frequently updated.
   Organizational & Customized data is data which is defined when the system is initialized and then
rarely changed.

Size Category: 1
     The Size Category determines the probable space requirement for a table in the database.
       Default 0 to 4.
Step 7 : Click on activate button to activate.

You might also like