Professional Documents
Culture Documents
ABAP Workbench Basic Database Concepts Normalization Techniques
ABAP Workbench Basic Database Concepts Normalization Techniques
8/29/12
Repository
1.
Consists of All the development objects such as the programs, Programs Function modules, Definitions of database tables and other objects. Is used to keep both objects defined by SAP as well as objects defined by customers. Is in the database and is always independent of the client, meaning a Repository object can be accessed from any client. Apart from the Repository, the database also contains application and Click to edit Master subtitle style Customizing tables, which are usually client-specific, that is, they have a client column.
1.
1.
1.
8/29/12
8/29/12
Structure of Repository
Within an application component (e.g., MM) there are several packages containing relevant objects for a more detailed logical subdivision.
Hope all of you know the Transaction code for Each tools
8/29/12
8/29/12
A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model
RDBMS is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access
8/29/12
Structured Query Language Is a non-procedural, English-like language processes data in groups of records rather than one record at a time such as Store Data Modify Data Retrieve data Delete data Create tables Modify tables Master subtitle style Click to edit Delete tables
8/29/12
8/29/12
Transaction Control (TCL) statements are used to manage the changes made by DML statements. It allows statements to be grouped together into logical transactions COMMIT - save work done ROLLBACK - restore database to original since the last COMMIT 8/29/12
8/29/12
Normalization techniques
Click to edit Master subtitle style
8/29/12
Normalization
Is the process of efficiently organizing data in a database. To eliminate redundant data (storing the same data in more than one table)
To ensure data dependencies make sense (only storing related data in a table)
Normal forms
The database community has developed a series of guidelines for ensuring that databases are normalized Click to edit Master subtitle style normal forms and are numbered from one through five (1NF to 5NF).
8/29/12
8/29/12
Remove subsets of data that apply to multiple rows of a table and place them in separate tables.
Create relationships between these new tables and their predecessors through the use of foreign keys
Example Table: CustomerMaster Before Normal After Normal CustNum Customer FirstName Click to edit Master subtitle style Master Master LastName CustNum ZIP Address FirstName City City LastName State State ZIP ZIP
City
8/29/12