SlideShare a Scribd company logo
Lecture 3 The ABAP Data Dictionary BCO5647 Applications Programming Techniques (ABAP)
Readings & Objectives Readings Matzke   Chapter 2 Section 2.1 Objectives This lecture will Review the definition and purpose of the ABAP Dictionary Explore ways to access the ABAP Dictionary Examine ABAP Dictionary objects: Transparent Tables, Data Elements, Domains, Check Tables Consider the importance of the ABAP Dictionary in relations to writing an ABAP program.
The  ABAP  Dictionary The  ABAP  Dictionary allows you to  define  data objects such as tables and structures. A transparent table in the dictionary has a one-to-one relationship with a table in the database. Transparent Table
Accessing the ABAP Dictionary
A  table definition in the Dictionary
Basic Dictionary Objects Tables are made up of rows containing one or more fields. When a field is defined  its data type is determined by  reference  to  a  data element . A data element  stores  semantic properties  –  field label and online documentation  (F1 help). A  data element also references a  domain . A  domain contains  technical properties  - data type/length. Data elements and domains are reusable
Data   Elements  &  Domains z_phonef Label: fax number z_phonew Label: work number z_phoneh Label: home number zphone type: char len: 12 phone_w phone_f phone_h Customer Table   Data   Domain fields   Elements
SAP’s Flight Data Model
The  ABAP  Dictionary - Summary The ABAP Dictionary is the central facility in the SAP system where you can create and maintain tables and other objects. To create a table, you first need domains and data elements. Domains provide the technical characteristics of a field: data  elements provide the field labels and F1 help. Both are reusable.

More Related Content

What's hot (20)

PDF
Ijebea14 228
Iasir Journals
 
PPTX
MS Access Ch 2 PPT
prsmith72
 
PPTX
MS Access Ch 1 PPT
prsmith72
 
PDF
001.general
Học Huỳnh Bá
 
PPTX
MS ACCESS
Dayananda Sujivan
 
PPT
Final
Fahad Vahora
 
PPT
Ms access tutorial
minga48
 
PPTX
Starting ms access 2010
Bryan Corpuz
 
PPT
B.sc i agri u 4 introduction to ms access
Rai University
 
PPT
Data processing
Joseph Lagod
 
PPTX
Data Dictionary
Vishal Anand
 
PPT
Access 2007-Datasheets 1-Create a table by entering data
Oklahoma Dept. Mental Health
 
PPTX
Data dictionary
Johnecis Madrid
 
PPTX
Std 10 Computer Chapter 5 Introduction to Calc
Nuzhat Memon
 
PPTX
Ms access
Shubhanjali -
 
PPTX
Introduction to ms access database
Obuasi Senior High Technical School
 
PDF
Tableau data terminology
Learnbay Datascience
 
PPTX
Introduction - Database (MS Access)
Methnuwan Kariyawasam
 
PPT
Database Fundamentals
lindy23
 
PPTX
MS Access Intro
DannyMondragon
 
Ijebea14 228
Iasir Journals
 
MS Access Ch 2 PPT
prsmith72
 
MS Access Ch 1 PPT
prsmith72
 
001.general
Học Huỳnh Bá
 
Ms access tutorial
minga48
 
Starting ms access 2010
Bryan Corpuz
 
B.sc i agri u 4 introduction to ms access
Rai University
 
Data processing
Joseph Lagod
 
Data Dictionary
Vishal Anand
 
Access 2007-Datasheets 1-Create a table by entering data
Oklahoma Dept. Mental Health
 
Data dictionary
Johnecis Madrid
 
Std 10 Computer Chapter 5 Introduction to Calc
Nuzhat Memon
 
Ms access
Shubhanjali -
 
Introduction to ms access database
Obuasi Senior High Technical School
 
Tableau data terminology
Learnbay Datascience
 
Introduction - Database (MS Access)
Methnuwan Kariyawasam
 
Database Fundamentals
lindy23
 
MS Access Intro
DannyMondragon
 

Similar to Lecture03 abap on line (20)

PPTX
Unit 3 - Transparent tables in the ABAP Dictionary
dubon07
 
PDF
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
IICT Chromepet
 
PPTX
SAP ABAP Interview questions
IT LearnMore
 
PPTX
SAP ABAP Latest Interview Questions
piyushchawala
 
PPT
Data_Dictionary of sap abap known as DDIC.ppt
pagajal493
 
DOC
Abap faq
Kranthi Kumar
 
PPTX
Abap dictionary 1
venkata karthik
 
PPT
Abap
ramraj100
 
PPTX
Sap abap database table
Ducat
 
PPTX
363656678-internship-ppt-on-SAP-ABAP.pptx
EnteryourName2
 
PDF
Abap interview questions and answers
Kaustav Pyne
 
PPT
Chapter 02 abap dictionary objects1
Kranthi Kumar
 
PPT
PptABAPoverview with all sample data with proper information s and examples.ppt
PrabakaranDasarathan2
 
PPT
Chapter 01 overview of abap dictionary1
Kranthi Kumar
 
PPT
0104 abap dictionary
vkyecc1
 
PDF
ABAP FAQ S On Reports Scripts BDC Dialogs ABAP Reporting SAP TERMINOLOGY
Justin Knight
 
PDF
S4D430 Col24 Data Modeling in ABAP Dictionary and ABAP Core Data Services
Libreria ERP
 
PDF
1000 sap-interview-qa
SiddheshSirsat
 
DOC
1000 solved questions
Kranthi Kumar
 
PDF
Sap abap material
Kranthi Kumar
 
Unit 3 - Transparent tables in the ABAP Dictionary
dubon07
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
IICT Chromepet
 
SAP ABAP Interview questions
IT LearnMore
 
SAP ABAP Latest Interview Questions
piyushchawala
 
Data_Dictionary of sap abap known as DDIC.ppt
pagajal493
 
Abap faq
Kranthi Kumar
 
Abap dictionary 1
venkata karthik
 
Abap
ramraj100
 
Sap abap database table
Ducat
 
363656678-internship-ppt-on-SAP-ABAP.pptx
EnteryourName2
 
Abap interview questions and answers
Kaustav Pyne
 
Chapter 02 abap dictionary objects1
Kranthi Kumar
 
PptABAPoverview with all sample data with proper information s and examples.ppt
PrabakaranDasarathan2
 
Chapter 01 overview of abap dictionary1
Kranthi Kumar
 
0104 abap dictionary
vkyecc1
 
ABAP FAQ S On Reports Scripts BDC Dialogs ABAP Reporting SAP TERMINOLOGY
Justin Knight
 
S4D430 Col24 Data Modeling in ABAP Dictionary and ABAP Core Data Services
Libreria ERP
 
1000 sap-interview-qa
SiddheshSirsat
 
1000 solved questions
Kranthi Kumar
 
Sap abap material
Kranthi Kumar
 
Ad

More from Milind Patil (20)

PDF
Abap slide class4 unicode-plusfiles
Milind Patil
 
PDF
Step by step abap_input help or lov
Milind Patil
 
PDF
Step bystep abap_fieldhelpordocumentation
Milind Patil
 
PDF
Step bystep abap_field help or documentation
Milind Patil
 
PDF
Abap slides user defined data types and data
Milind Patil
 
PDF
Abap slides set1
Milind Patil
 
PPT
Abap slide class3
Milind Patil
 
PDF
Abap slide lock Enqueue data clusters auth checks
Milind Patil
 
PDF
Step bystep abap_changinga_singlerecord
Milind Patil
 
PDF
Abap slide lockenqueuedataclustersauthchecks
Milind Patil
 
PDF
Abap slide exceptionshandling
Milind Patil
 
PDF
Step bystep abap_changinga_singlerecord
Milind Patil
 
PDF
Abap reports
Milind Patil
 
PPT
Lecture16 abap on line
Milind Patil
 
PPT
Lecture14 abap on line
Milind Patil
 
PPT
Lecture13 abap on line
Milind Patil
 
PPT
Lecture12 abap on line
Milind Patil
 
PPT
Lecture11 abap on line
Milind Patil
 
PPT
Lecture10 abap on line
Milind Patil
 
PPT
Lecture09 abap on line
Milind Patil
 
Abap slide class4 unicode-plusfiles
Milind Patil
 
Step by step abap_input help or lov
Milind Patil
 
Step bystep abap_fieldhelpordocumentation
Milind Patil
 
Step bystep abap_field help or documentation
Milind Patil
 
Abap slides user defined data types and data
Milind Patil
 
Abap slides set1
Milind Patil
 
Abap slide class3
Milind Patil
 
Abap slide lock Enqueue data clusters auth checks
Milind Patil
 
Step bystep abap_changinga_singlerecord
Milind Patil
 
Abap slide lockenqueuedataclustersauthchecks
Milind Patil
 
Abap slide exceptionshandling
Milind Patil
 
Step bystep abap_changinga_singlerecord
Milind Patil
 
Abap reports
Milind Patil
 
Lecture16 abap on line
Milind Patil
 
Lecture14 abap on line
Milind Patil
 
Lecture13 abap on line
Milind Patil
 
Lecture12 abap on line
Milind Patil
 
Lecture11 abap on line
Milind Patil
 
Lecture10 abap on line
Milind Patil
 
Lecture09 abap on line
Milind Patil
 
Ad

Recently uploaded (20)

PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Top Managed Service Providers in Los Angeles
Captain IT
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 

Lecture03 abap on line

  • 1. Lecture 3 The ABAP Data Dictionary BCO5647 Applications Programming Techniques (ABAP)
  • 2. Readings & Objectives Readings Matzke Chapter 2 Section 2.1 Objectives This lecture will Review the definition and purpose of the ABAP Dictionary Explore ways to access the ABAP Dictionary Examine ABAP Dictionary objects: Transparent Tables, Data Elements, Domains, Check Tables Consider the importance of the ABAP Dictionary in relations to writing an ABAP program.
  • 3. The ABAP Dictionary The ABAP Dictionary allows you to define data objects such as tables and structures. A transparent table in the dictionary has a one-to-one relationship with a table in the database. Transparent Table
  • 4. Accessing the ABAP Dictionary
  • 5. A table definition in the Dictionary
  • 6. Basic Dictionary Objects Tables are made up of rows containing one or more fields. When a field is defined its data type is determined by reference to a data element . A data element stores semantic properties – field label and online documentation (F1 help). A data element also references a domain . A domain contains technical properties - data type/length. Data elements and domains are reusable
  • 7. Data Elements & Domains z_phonef Label: fax number z_phonew Label: work number z_phoneh Label: home number zphone type: char len: 12 phone_w phone_f phone_h Customer Table Data Domain fields Elements
  • 9. The ABAP Dictionary - Summary The ABAP Dictionary is the central facility in the SAP system where you can create and maintain tables and other objects. To create a table, you first need domains and data elements. Domains provide the technical characteristics of a field: data elements provide the field labels and F1 help. Both are reusable.

Editor's Notes

  • #4: The ABAP Dictionary The ABAP Dictionary contains the definition of data objects that can be used in all components of the SAP. Typically you find the definitions of tables in the Dictionary . Tables in the ABAP Dictionary are usually defined as transparent tables. This means the table definition in the dictionary has a one-to-one relationship with a table in the database. In other words, for each transparent table definition in the Dictionary there is one associated table in the database. The database table has the same name, the same number of fields, and the fields have the same names as the Dictionary table definition. Therefore when looking at the definition of a table in the ABAP Dictionary , it might seem like you are looking at the database table itself - hence the term transparent table .
  • #5: The ABAP Dictionary How can the definition of a table in the Dictionary be displayed? ==> drill down on table name in tables or select statement of your program. ==> Select ABAP Dictionary in the Development folder on the Easy Access screen . ==> use the object navigator .
  • #6: The ABAP Dictionary In the upper part of the screen, you see the short description of the table . The lower part of the screen displays all the table fields. The left column contains the name of each field, with the following field attributes displayed in other columns: Key: Box is checked if the field is a key field for the database table (some key fields are combined to form a table key ; the table key is the combination of key fields . The values in the key fields allow the system to uniquely identify all data records). Data Element : Name of the field’s data element . Data Type : The field’s data type (determined by the domain of the data element) . Length : The field’s length (determined by the domain of the data element) . Check table : A referenced table with a foreign key relationship (used to ensure data integrity/consistency) . Short text : Description of field (determined by the data element) . What is a DATA ELEMENT?
  • #7: The Data Dictionary Tables are made up of rows containing one or more fields. When a field is defined its data type is determined by reference to a data element . A data element stores semantic properties - field label and online documentation (F1 help) but also references a domain. A domain contains technical properties - data type/length. Domains form the basic foundation for field descriptions. A domain describes the technical structure of a field, i.e. its data type and size. Data elements build on the domains and inherit the properties of the underlying domain. They contain a reference to a domain, to define the technical attributes, and they supplement this with descriptive documentation. Data elements and domains are reusable. So the ABAP Dictionary contains the platform-independent description of the relevant database table. The database table has the same name as the transparent table in the ABAP Dictionary . The fields, too, have the same names in both the database and in the ABAP Dictionary .
  • #8: The Data Dictionary Example: Assume you need to design a customer information table called zcust , that must contain work, fax and home phone numbers. To create a field, you usually start by creating a domain for it. In this case you might create a generic telephone number domain, name it zphone and give it a data type of CHAR and a length of 12. This domain could now be used in setting up specific types of telephone numbers such as fax & home numbers. After creating the domain to hold the purely technical description of a field, you can then create a data element to hold the descriptive attributes of the field. In this example you would create three data elements, one each for the home , work and fax phone numbers. In each data element, you would enter field labels describing the type of phone number you will store with it, and the F1 help for the end-user. Having created the data elements, you can now create the table. You could create 3 phone number fields in the table (home, work, fax) and assign the corresponding data element to each field. This gives the field descriptive information from the data element and technical information from the domain it references. When the field is used on a screen, it obtains a label and F1 help documentation from the data element, and its length and data type from the domain linked to data element. Data elements and domains exist in the DD independently of the actual table, so that they can be used in several tables. What are the advantages of using data elements and domains in setting up DD table definitions ? (Re-use and consistency, efficiency ==> explain via e.g. of setting up a supplier information table) Go Back to Slide 3 again and refer to “ drill-down ” to get data element definition etc.
  • #9: This model is provided by SAP for ABAP training and development Note the use of common fields (carrid, connid, fldate) and how the use of data elements and domains promotes consistency and efficiency.