Abap dictionary 1

20
ABAP DICTIONARY

Transcript of Abap dictionary 1

Page 1: Abap dictionary 1

ABAP DICTIONARY

Page 2: Abap dictionary 1

ABAP Dictionary

ss

• Management of data definitions

Technical and semantic description Relationships

• Integration • Activation• Evaluation• F1 and F4 help

Physical database

• The ABAP Dictionary is the central repository for all data definitions in the R/3 system.

• It permits common , non-redundant description of the data.

• It is also used to describe the logical structure of the objects in the application development environment, and shows how they are mapped to structure in the underlying physical database.

Page 3: Abap dictionary 1

ABAP Dictionary

ss

• Management of data definitions

Technical and semantic description Relationships

• Integration • Activation• Evaluation• F1 and F4 help

Physical database

• Relationships can be defined between different objects to ensure consistency of data.

• All the objects maintained in the ABAP Dictionary are available throughout the system.

• Changes to objects in the ABAP Dictionary take effect in all relevant system components via the activation technique.

Page 4: Abap dictionary 1

Integration with the ABAP Workbench

ABAP Development Workbench

Screen painter

Menu painter

Menu painter

ABAP /4 program

Runtime Environment

Screens

Dialogue Control

Programs

Transactions

• The ABAP Dictionary is actively integrated in the ABAP Development Workbench.

• Changes stay local to the Workbench environment until activation.

• Upon activation, the changes that were made are transferred to the runtime environment and then take immediate effect in the relevant ABAP programs and screens.

Page 5: Abap dictionary 1

ABAP Dictionary

ABAP Dictionary

T-Code : SE11

Page 6: Abap dictionary 1

ABAP Dictionary

Page 7: Abap dictionary 1

ABAP Dictionary

Database TablesObject consisting of a list of fields, which has a physical underlying database table.ViewsA virtual table not containing any physical data. Data can be derived from one or more database tables.Data TypesDescribe the usages of a field in a specific business context.Can be one of three types Data element, structure and Table.DomainsDescribe the technical attributes of a field.Search helpsUsed to provide end users with input help on a field (F4)Lock ObjectsUsed to manage simultaneous update of tables.

Page 8: Abap dictionary 1

ABAP Dictionary

Page 9: Abap dictionary 1

ABAP Dictionary

Page 10: Abap dictionary 1

ABAP Dictionary

Read

Write

Display: To view the data rows of table.

Maintain : To Insert, update or Delete data rows of the table

Page 11: Abap dictionary 1

ABAP Dictionary

Z7EMP

Direct Access Read

READ/WRITE

Program Access

READ/WRITE

READ/W?????RITE

Page 12: Abap dictionary 1

Technical Settings

We must maintain the technical settings when we define a table in the ABAP Dictionary.

The technical settings are used individually optimize the storage requirements and accessing behavior of database tables.

Page 13: Abap dictionary 1

Technical settings

Data Class

Size Category

Buffering

Page 14: Abap dictionary 1

ABAP Dictionary

Page 15: Abap dictionary 1

Technical Settings

The table is automatically created on the database when it is activated in the ABAP Dictionary.

The storage area to be selected (table space) and space allocation settings is determined from the settings for the data class and size category.

The settings for buffering define whether and how the table should be buffered.

Page 16: Abap dictionary 1

Data class

Database

Table spaces

Page 17: Abap dictionary 1

Data class

Data classes maintained in SAP :

Master Data:Master Data is data that is rarely modified. An Example of master data is the data of an Address, for example, the name, address and telephone number.

Transaction Data:Transaction Data is data that is frequently modified. An example is the material stock of a warehouse , which can change after each purchase order.

Organizational Data:Organizational Data is data that is defined during customizing when the system is installed and that is rarely modified thereafter. The Country keys are an example.

System Data:System Data is data that the R/3 system itself needs . The program sources are an Example.

Page 18: Abap dictionary 1

Data class

Table space 1App:. Mater Data

Table Space 2App:. Transaction Data

Table Space 2App:. Organizational Data

Table Space 2App:. System Data

Page 19: Abap dictionary 1

Data class

Oracle Blocks

Page 20: Abap dictionary 1

ABAP Dictionary