Introduction to the ABAP Data Dictionary

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Visit : Call Us: US: , India:
Visit : Call Us: US: , India:
SAP/R3 Development workbench Data Dictionary R/3 table types: –Transparent tables Each table definition in DDIC has an underlying physical table of same.
0 UMN 2011 ERP Terapan SAP BASIS General Concept Session # 3.
Lecture-7/ T. Nouf Almujally
Configuring SAP to Post Documents. Slide 2 Where are we? So far, you have configured much of the master data Company structure G / L Vendors Material.
University of Southern California Introduction to Enterprise Wide Information Systems Configuring SAP Instructor: Richard W. Vawter.
Microsoft Access Course 1. Introduction to the user interface.
Lecture 1 Introduction to the ABAP Workbench
 SAP AG CSU Chico Searching and Selecting Data from R/3 ABAP/4 class Gail Corbitt - Fall 1998.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Introduction to SAP.
University of Southern California Enterprise Wide Information Systems ABAP/ 4 Programming Language Instructor: Richard W. Vawter.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
 SAP AG CSU Chico 102/14/981SAP Security Lecture MINS 298C SAP Configuration & Use: Security Copyright 1996, 1997, James R. Mensching, Gail Corbitt.
Chapter 7 UNDERSTANDING AND DESIGNING FORMS. Input Forms: Content and Organization Need for forms Event analysis and forms Relationship between input.
Table design screen Field name Data type Field size Other properties.
Introduction to Enterprise Systems, Enterprise Computer Models and SAP / R3.
1 Data Base Tables Creating Data Base Tables in SAP.
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Implementation/Acceptance Testing / 1 Implementation and Acceptance Testing Physical Implementation Criteria: 1. Data availability 2. Data reliability.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Summary of The SAP Ecosystem and Functional Software.
1 of 29 Microsoft ® Business Solutions–Navision ® Development I – C/SIDE Introduction – Day 1.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
IS 466 ADVANCED TOPICS IN INFORMATION SYSTEMS LECTURER : NOUF ALMUJALLY 3 – 10 – 2011 College Of Computer Science and Information, Information Systems.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
0 UMN 2011 ERP Terapan ABAP Introduction Session # 8.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Introduction to ABAP and SAP Structure
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
SAP ABAP DemoNawin's Training Acadamy1. Enterprise Wide Information Systems ABAP/ 4 Programming Language Mr. RG Nawin Krishna, Bsc(cs);Msc(psychology);MBA(HR);SAP(HCM/HR),
Data Modeling for Integrating SAP with other Applications.
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
Configuring Materials. Slide 2 Materials(Introduction) In general, we buy materials and services from vendors And we sell (some of) them to customers.
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
Creating Dialog (ABAP Dynpro) Programs. Slide 2 Introduction All of the ERP systems operate similarly with regard to transactional integrity They all.
0 UMN 2011 ERP Terapan Dialogs Programming Session # 11.
Introduction to ABAP Selection Screens. Slide 2 Screens (Types) There are three types of screens Selection screens get parameter input for reports List.
MIS 3020 ABAP Programming Lecture 2 Elementary & User Defined Types Domains, Elements, Variables/Fields.
Customizing ClientSpace With Dataforms Tim Borntreger, Director of Client Services.
USING XML AS A DATA SOURCE. Data binding is a process by which information in a data source is stored as an object in computer memory. In this presentation,
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Introduction ABAP Programs. Slide 2 ABAP (History) Acronym: Allgemeiner BerichtsAufbereitungsProzessor Generic report preparation rocessor Advanced Business.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Introduction to the SAP IMG Interface. Slide 2 Accessing the IMG Use transaction code SPRO or.
ABAP Dictionary Introduction Tables in the ABAP Dictionary Performance in Table Access Consistency through Input Check Dependencies of ABAP Dictionary.
User / Admin / Installer Profiles
Mr C Johnston ICT Teacher
BC030_ ABAP Dictionary Tables in Relational Databases.
Introduction to the ABAP System. Slide 2 The Data Browser Allows us to look at the underlying table contents Use transaction code SE16.
SAP DEVELOPMENT BASICS Bohuslav Tesar. TRAINING OVERVIEW Amazing life of ABAP developer ;) SAP introduction ABAP basics ABAP Reporting.
SAP’s Data Dictionary Learning to use it effectively FSS Technical Peer Group Meeting Wednesday November 13, 2002 Carolyn Fuller.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Database Fundamentals – Part 1
Customizing Tools4.6fi_02.1 The system provides a set of tools to facilitate the process of customizing the system to meet business requirements. Chapter.
 Andersen Consulting IM01 - Organizational Structure & Master Data in IM November, 2000.
CTS Change & Transport System. Introduction The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP.
SAP Overview.
Item and Lot Attribute Orientation Essentials
Software Specification Tools
SAP - CRM. SAP - CRM Course Content Introduction to SAP CRM Basics and Architecture Sap CRM Functional Overview Business Partner Organizational Management.
PHPMyAdmin.
Database Design Hacettepe University
Data Dictionary Overview
Presentation transcript:

Introduction to the ABAP Data Dictionary

Lecture Overview Describe the ABAP database layer and selected core tables

A First few SAP Tables T000 is the client table T001 is the company code table Currency and language are defined here Accounting chart of accounts T006 is for measurement (unit of measure) There are tables for currency conversion BKPF and BSEG are the FI header and transaction tables

Getting Started with the ABAP Database Layer Remember that we work with data logically through ABAP, rather than operating or the physical database We do not touch the underlying (native) database The database layer supplies extensive metadata beyond most native databases

Data Dictionary Transaction Codes Transaction code SE16 gets us to the Data Browser Transaction code SE11 gets us to the ABAP Dictionary

Data Browser (Introduction) The Data Browser allows us to display data from a table By default the cryptic field name is displayed in most screens Settings / User Parameters (Data Browser tab) allows you to select the field label

Data Browser (Select Table) Select the desired table You need to know the table names and meaning of fields

Data Browser (Table Output)

Data Browser Search for table

The ABAP Dictionary (Accessing) Transaction code SE11

ABAP Dictionary Elements Tables Views A view is created from one or more tables Data types Data elements Structured types

ABAP Dictionary Elements (Illustration)

ABAP Dictionary Elements (Tables) A superset of what we usually think of as a table There are different types of tables Transparent tables are used to store business data Pool tables and cluster tables generally store applications ABAP programs are stored in the database itself in pool and cluster tables We will not work with these

ABAP Dictionary Elements (Tables - Transparent) Tables contain Fields having a field name and a data type Foreign keys describe relationships between other tables Technical settings describe how the table is created in the database Indexes are used to improve performance

ABAP Dictionary Elements (Views) In general database terms, it’s a virtual table that is not physically stored SAP has different types of views based on the underlying fundamental database operations The SAP views are semantic (more later)

ABAP Dictionary Elements (Views – Types) Database – These are views from one or many tables Projection views apply to only one table and restrict the number of fields to display Structure views are pretty much obsolete We will not talk about them here

Creating a Table (Steps) Rules for table names Creating the table Creating the fields

Creating a Table (Table Names) 16 case insensitive characters Customer (created) tables should begin with the characters Z or Y You can use anything for a field name Create data element and domain names beginning with Z or Y Other namespaces (SAP) are letter sequences enclosed by slashes /SAPPRESS/

Creating a Table (Maintenance)

Creating a Table (Attributes) Change and language information Packages group objects (including tables) They control transport behavior They organize objects Objects without a package cannot be transported

Creating a Table (Delivery and Maintenance) Descriptive information The delivery class drives the transport of data records during install, upgrade, …

Creating a Table (Delivery and Maintenance) The following controls dictionary rights

Creating a Table (Package) The Package $TMP is a special local package

Domains / Data Elements / Fields Most of you are used to database fields having some primary data type Integer, double , date, string, etc. SAP utilizes layers of indirection called domains and data elements A data element can be used in one or many table fields

Domains / Data Elements / Fields (Illustration) Fields have a data element, which belongs to a domain

Domains A domain describes the technical attributes of a field Data type Number of positions (size) Optional value range Fields belonging to a domain are changed if the domain is changed

Domains (Illustration) The Domain BUKRS is the company code

Data Elements A data element is an elementary type It defines Field label values Help information It may or may not belong to a domain If it does, then fields of the elementary type will change if the domain changes

Data Element (Illustration

Company Code (Example) One of the core SAP concepts is the Company Code The domain BUKRS defines the company code as a CHAR (4)

Company Code (Example) And the domain BUKRS is used in many places Where used button

Company Code (Example) The Data element BUKRS belongs to the domain BUKRS

Company Code (Example) And BUKRS is used in the following tables

Field Domains (Summary) Field domains are themselves stored in a table So are table fields and data elements

Field Domains (Creating) I prefer to create the domains and then create the fields Your book suggests forward navigation DON’T FORGET TO ACTIVATE THEM

Creating a Data Element (1) Select the domain to which the element applies

Creating a Data Element (2) This is where the field titles come from for forms and other places

Creating a Table (Fields) Table fields work a bit differently in SAP In SAP fields belong to a domain It’s the domain that defines The data type The value range Domains must be activated before they can be used

Creating a Table (Fields)

Creating a Table (Fields) Field name Key fields uniquely identify a row Composite keys can have a maximum of 16 key fields Give a field an initial value The Data Element field defines the field’s data type You can use predefined data types or create new ones

Dictionary Technical Settings (1) With the desired table active, select GoTo, Technical Settings These technical settings describe how the system treats the table Data Class defines the ‘physical’ area of the database where the table is stored Master data, transactional data, organizational data

Dictionary Technical Settings (2) Size category defines the number of records expected Buffering whether a record or table is buffered (prefetched into the work area) when accessed

Dictionary Technical Settings (Illustration)

Entering Data While the Display table screen is active, click Utilities / Table contents / Create Entries

Object Navigator It’s used to organize programing in the SAP integrated development environment Repository Browser is the primary code storage area The Repository Information System is used to search for programming objects The Transport Organizer manages changes made during configuration and development and propagates (transports) changes to test and production systems

Object Navigator (Illustration) Select object type from Object List

Repository Browser (Object Lists) The application hierarchy contains all development objects A package contains logically related development objects In this class, we will create local objects, which are not transported to QA / production systems

Packages (Contents) Packages contain many things Programs containing fields, events, subroutines, screens, and so on Function groups are containers for functions (external procedure calls) Dictionary objects contain (roughly speaking) references to SAP data Remember, all data is processed through the SAP API SHOW PACKAGE FARC

Classes / Interfaces SAP supports an OOP approach to development using classes and interfaces