SlideShare a Scribd company logo
Unit 2: Introduction to the ABAP Workbench
• This lesson gives a short description of the Repository and a brief
overview of the most important components of the ABAP Workbench. It
presents the Object Navigator as a central development tool.
Lesson: Repository and Object Navigator
Lesson Overview
• Describe the structure of the Repository, use suitable tools to search for
Repository objects and analyze their structure.
Business Example
Introduction to the Repository
• The Repository consists of all system development objects - programs,
function modules, definitions of database tables, and so on.
• In the Repository, you have objects delivered by SAP as well as objects
defined by the customer.
• The Repository is in the database
• The Repository is subdivided according to application components.
(Commonly known as ‘modules’)
• Within a module (e.g., MM) there are several packages
containing relevant objects for a more detailed logical subdivision.
• Whenever a Repository object is created, it must be assigned to a
package.
Working with the Object Navigator
• The ABAP Workbench includes all tools required for creating and
editing Repository objects.
• These tools cover the entire software development cycle.
• The most important tools are:
▫ The ABAP Editor for editing source code
▫ The ABAP Dictionary for editing database table definitions, central data
types, and so on
▫ The Screen Painter for configuring screens (screens together with functions
for user dialogs)
▫ The Menu Painter for designing user interfaces (menu bar, standard
toolbar, application toolbar, function key settings)
▫ The Function Builder for maintaining function modules
▫ The Class Builder for maintaining global classes and interfaces
• You can call each of these tools explicitly and then load a Repository
object for processing. But it is much more elegant and convenient to
access them using the Object Navigator.
• The Object Navigator screen is split into two areas:
▫ The navigation area for displaying a hierarchical object list
▫ A tool area for displaying and editing a development object using the
appropriate tool
• Object lists are displayed in the navigation area. For example, if you
choose to display a package there, all of the Repository objects
belonging to the specified package are listed.
• You can display or hide the navigation area. (.Full screen on/off.)
• Double-clicking a listed object lets you display or edit it.
• You can add frequently used object lists to your favorites.
Working with the Navigation Area
Functions in the Tool Area
• In the tool area, a Repository object is displayed in the corresponding
tool.
• You can navigate between the objects that have been previously
displayed in the current Object Navigator session (blue arrows).
• When you double-click an object in the navigation history, it is displayed
in the tool area.
Synchronizing the Navigation and Tool Areas
If necessary, you can synchronize both areas as follows:
• You can display an object in the tool area by double-clicking in the
navigation area or by using the corresponding context menu function
of the object.
• You can display the object list of an object that you are currently
editing in the tool area by choosing Display Object List in the navigation
area.
• To create a new object, you can use the context menu for an object
type in the corresponding object list. Alternatively, you can use the Edit
Object or Other Object ... buttons to create any objects you want.
• Describe the structure of the Repository
• Name and use the search tools of the Repository
• Use the Object Navigator for displaying Repository objects
You should now be able to:
• In this lesson you will learn how to create programs, transaction codes
and packages, and how to assign a Repository object to a package. You
will also learn how development packages are implemented in the SAP
environment using the ABAP Workbench.
Lesson: Developing Programs and Organizing
Developments
Lesson Overview
• You are to create a new package and ABAP programs within the
framework of a development project.
Business Example
Organizing Developments
• Development projects are
carried out in a development
system. The development
objects edited or created in a
project are transported to
subsequent systems (test
and/or production system)
on project completion.
Transporting Development Objects
Development
System
Production
System
New
developments
and Objects
Change Request
• At the start of a development project the project manager creates a
change request in the Transport Organizer (Transaction SE01)
• The Transport Organizer then creates a task for each developer in the
change request.
• When a development object is edited or created, the developer assigns
this to the change request.
• The object is entered into the task of the developer.
• All repository objects that a developer works on during a project are
collected within his or her task.
Creating Packages
1. Navigate to the Object Navigator.
2. Create the attributes of the package to be created.
3. Assign the package to a change request.
• Is typed
• Enables multi-language applications
• Enables SQL access
• Has been enhanced as an object-oriented language
• Is platform-independent
• Is upward-compatible
Introduction to the ABAP Programming Language
• ABAP programs are made up of individual statements.
• The first word in a statement is called an ABAP keyword.
• Words must always be separated by at least one space.
• Each statement must end with a period.
• Statements can be indented.
• Statements can take up more than one line.
• You can have multiple statements in a single line.
• For indentations and for converting uppercase/lowercase letters, you
can use the Pretty Printer (the correspondingly labeled button in the
Editor).
• Comment lines are introduced with an asterisk *. The code generator
recognizes the corresponding line as a comment so that it will be
ignored by the runtime system.
• If you wish to have the rest of a line set as a comment, you must use
double quotation marks ".
• If there are several ABAP statements, the
ABAP runtime system writes the
corresponding return code into the system
field SY-SUBRC in order to provide
information as to how successfully the
particular statement was executed.
• The value zero means that the statement
was successful. = 0
• Other value different from zero means an
error, warning or exception occurred. <> 0
• There are various ways of navigating to the documentation for an ABAP
statement:
• The F1 key takes you directly to the documentation for the statement
on which the cursor is positioned.
• The i button with the description Help on ... takes you to a dialog box
where you can enter the required ABAP statement.
1. Navigate to the Object Navigator.(Transaction SE80)
3 options are available:
▫ In the navigation area, choose the object type Program and enter the name
of the program in the input field below.
▫ Display the package where you want to create the program
▫ Choose the Edit Object button on the initial screen of the Object Navigator.
2. Change the title to a self-explanatory short text and choose
Executable Program as the program type.
Developing an ABAP Program
The ABAP Editor
Line numbers
Blocks that can be
compressed Current line
Differente colors for
keywords
Current nesting User specific settings
Activating Programs
• Whenever you create a development object, or change and then save it, the
system first stores only one inactive version in the Repository.
• At the end of your development, you have to activate the inactive version of
the object.
• This version becomes the new active version of the object.
• The request release and the transport of the developed objects are only
possible if all objects in the request have been activated.
• If your program is available in both versions (active and inactive), you
can switch between the displays of these two versions.
• Whenever you activate a program, the system first displays a list of all
inactive objects that you have processed. This is called the worklist.
The activation of an object includes the following functions:
• Saving the object as an inactive version
• Syntax or consistency check of the inactive version
• Overwriting the previously active version with the inactive version (only
after a successful check)
• Generating the relevant runtime object for later executions, if it is a
program.
• You can start a program by entering the transaction code in the
command field.
Creating Transactions
1. In the Object Navigator, display the object list for your program.
2. In the navigation area, use the context menu of the program to
choose Create→ More → Transaction.
3. Enter the required transaction code.
4. Assign a short text and choose the label Program and Selection Screen
(Report Transaction) .
5. Enter the name of the program and choose Professional User
Transaction.
6. Under GUI enabled set the indicator SAP GUI for Windows.
7. Save the transaction.
8. Assign it to a package and to a change request.
1. Navigate to the initial screen (SAP Easy Access Menu).
2. In the Favorites context menu, choose Insert Transaction.
3. In the dialog box that appears, enter the required transaction code.
Adding Transactions to your Personal Favorites
• Once a user has completed the required development task, he or she
carries out a quality check and releases the task within the change
request.
• The corresponding object entries are transferred from the task to the
request.
• However, other developers can still edit these objects.
• Once all tasks of a change request have been released the change
request is released.
• This concludes the project.
Closing Development Projects
You should now be able to:
• Name and use the utilities for orderly software development
• Create packages
• Create programs
• Create transactions
• Create Your First Program
• Declare a variable
• Keyword Constants
• Assign a value
• Write Statement
• Use TAB key for autocomplete.
Procedure: Creating an ABAP Program
• Create your first table
• Enter data into your table
• View the data in your table
Procedure: Creating Tables
Your assignment is to:
• Create a program to list all related flight information .
• Assign a transaction in the SAP easy access menu Favorites.
• Organize the objects inside a package and release the development for
transportation.
Unit 2: Case Study – Flight Information Report

More Related Content

What's hot

Sap abap interview questions
Sap abap interview questionsSap abap interview questions
Sap abap interview questionskssr99
 
SAP ABAP Practice exam
SAP ABAP Practice examSAP ABAP Practice exam
SAP ABAP Practice examIT LearnMore
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.combigclasses.com
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP PerformancePeterHBrown
 
SAP ABAP Interview questions
SAP ABAP Interview questionsSAP ABAP Interview questions
SAP ABAP Interview questionsIT LearnMore
 
Db2 sql tuning and bmc catalog manager
Db2 sql tuning and bmc catalog manager Db2 sql tuning and bmc catalog manager
Db2 sql tuning and bmc catalog manager Krishan Singh
 
Top 35-interview-questions-on-sap-abap
Top 35-interview-questions-on-sap-abapTop 35-interview-questions-on-sap-abap
Top 35-interview-questions-on-sap-abapprathamesh4865
 
Informatica overview
Informatica overviewInformatica overview
Informatica overviewkarthik kumar
 
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...Datavail
 
Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1Kranthi Kumar
 
Classifications in IBM Maximo Asset Management
Classifications in IBM Maximo Asset ManagementClassifications in IBM Maximo Asset Management
Classifications in IBM Maximo Asset ManagementRobert Zientara
 
Oracle Form material
Oracle Form materialOracle Form material
Oracle Form materialRajesh Ch
 
abap list viewer (alv)
abap list viewer (alv)abap list viewer (alv)
abap list viewer (alv)Kranthi Kumar
 
Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1Kranthi Kumar
 

What's hot (20)

Sap abap interview questions
Sap abap interview questionsSap abap interview questions
Sap abap interview questions
 
SAP ABAP Practice exam
SAP ABAP Practice examSAP ABAP Practice exam
SAP ABAP Practice exam
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.com
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP Performance
 
SAP ABAP Interview questions
SAP ABAP Interview questionsSAP ABAP Interview questions
SAP ABAP Interview questions
 
Db2 sql tuning and bmc catalog manager
Db2 sql tuning and bmc catalog manager Db2 sql tuning and bmc catalog manager
Db2 sql tuning and bmc catalog manager
 
Reports 6i
Reports 6iReports 6i
Reports 6i
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Top 35-interview-questions-on-sap-abap
Top 35-interview-questions-on-sap-abapTop 35-interview-questions-on-sap-abap
Top 35-interview-questions-on-sap-abap
 
Informatica overview
Informatica overviewInformatica overview
Informatica overview
 
oracle-reports6i
oracle-reports6ioracle-reports6i
oracle-reports6i
 
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
 
d2k
d2kd2k
d2k
 
Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1Chapter 02 abap dictionary objects1
Chapter 02 abap dictionary objects1
 
Classifications in IBM Maximo Asset Management
Classifications in IBM Maximo Asset ManagementClassifications in IBM Maximo Asset Management
Classifications in IBM Maximo Asset Management
 
Oracle Form material
Oracle Form materialOracle Form material
Oracle Form material
 
Bdc
BdcBdc
Bdc
 
abap list viewer (alv)
abap list viewer (alv)abap list viewer (alv)
abap list viewer (alv)
 
Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1Chapter 04 abap dictionary tables in relational databases1
Chapter 04 abap dictionary tables in relational databases1
 

Viewers also liked

Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...marco_paradiso
 
Abap course chapter 2 tools in the development environment
Abap course   chapter 2 tools in the development environmentAbap course   chapter 2 tools in the development environment
Abap course chapter 2 tools in the development environmentMilind Patil
 
Abap course chapter 3 basic concepts
Abap course   chapter 3 basic conceptsAbap course   chapter 3 basic concepts
Abap course chapter 3 basic conceptsMilind Patil
 
Sap abap ppt
Sap abap pptSap abap ppt
Sap abap pptvonline
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Panduka Bandara
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAPsapdocs. info
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed NotesAkash Bhavsar
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screensapdocs. info
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Tablesapdocs. info
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAPsapdocs. info
 

Viewers also liked (10)

Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
 
Abap course chapter 2 tools in the development environment
Abap course   chapter 2 tools in the development environmentAbap course   chapter 2 tools in the development environment
Abap course chapter 2 tools in the development environment
 
Abap course chapter 3 basic concepts
Abap course   chapter 3 basic conceptsAbap course   chapter 3 basic concepts
Abap course chapter 3 basic concepts
 
Sap abap ppt
Sap abap pptSap abap ppt
Sap abap ppt
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screen
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 

Similar to Unit 2 - Object Navigator, Repository and ABAP Programs

Siebel Open UI Presentation
Siebel Open UI PresentationSiebel Open UI Presentation
Siebel Open UI PresentationAjeeth Pingle
 
LECTURE 4 alpha.ppt
LECTURE 4 alpha.pptLECTURE 4 alpha.ppt
LECTURE 4 alpha.pptTik Tok
 
MTA understanding java script and coding essentials
MTA understanding java script and coding essentialsMTA understanding java script and coding essentials
MTA understanding java script and coding essentialsDhairya Joshi
 
Livecode widget course
Livecode widget courseLivecode widget course
Livecode widget coursecrazyaxe
 
1) workbench basics
1) workbench basics1) workbench basics
1) workbench basicstechbed
 
70 357 practice test
70 357 practice test70 357 practice test
70 357 practice testshirlybaker1
 
What is abap type & features
What is abap type & featuresWhat is abap type & features
What is abap type & featuresTaruna Kashyap
 
Qtp certification training_material
Qtp certification training_materialQtp certification training_material
Qtp certification training_materialVishwaprakash Sahoo
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Hemlathadhevi Annadhurai
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-endJordi Anguela
 
Abap top part_3
Abap top part_3Abap top part_3
Abap top part_3Kapil_321
 
Integration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveIntegration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveBizTalk360
 
Hsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdfHsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdfAAFREEN SHAIKH
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing TechniquesAppili Vamsi Krishna
 
Concurrency Programming in Java - 02 - Essentials of Java Part 1
Concurrency Programming in Java - 02 - Essentials of Java Part 1Concurrency Programming in Java - 02 - Essentials of Java Part 1
Concurrency Programming in Java - 02 - Essentials of Java Part 1Sachintha Gunasena
 

Similar to Unit 2 - Object Navigator, Repository and ABAP Programs (20)

Siebel Open UI Presentation
Siebel Open UI PresentationSiebel Open UI Presentation
Siebel Open UI Presentation
 
Introduction to MapBasic
Introduction to MapBasicIntroduction to MapBasic
Introduction to MapBasic
 
Welcome to React.pptx
Welcome to React.pptxWelcome to React.pptx
Welcome to React.pptx
 
LECTURE 4 alpha.ppt
LECTURE 4 alpha.pptLECTURE 4 alpha.ppt
LECTURE 4 alpha.ppt
 
Qtp - Introduction to automation basics
Qtp -  Introduction to automation basicsQtp -  Introduction to automation basics
Qtp - Introduction to automation basics
 
MTA understanding java script and coding essentials
MTA understanding java script and coding essentialsMTA understanding java script and coding essentials
MTA understanding java script and coding essentials
 
Livecode widget course
Livecode widget courseLivecode widget course
Livecode widget course
 
1) workbench basics
1) workbench basics1) workbench basics
1) workbench basics
 
70 357 practice test
70 357 practice test70 357 practice test
70 357 practice test
 
What is abap type & features
What is abap type & featuresWhat is abap type & features
What is abap type & features
 
Qtp certification training_material
Qtp certification training_materialQtp certification training_material
Qtp certification training_material
 
Abap sample
Abap sampleAbap sample
Abap sample
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-end
 
Abap top part_3
Abap top part_3Abap top part_3
Abap top part_3
 
Integration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveIntegration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep Dive
 
Hsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdfHsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdf
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing Techniques
 
Rational team concert (RTC) tips
Rational team concert (RTC) tipsRational team concert (RTC) tips
Rational team concert (RTC) tips
 
Concurrency Programming in Java - 02 - Essentials of Java Part 1
Concurrency Programming in Java - 02 - Essentials of Java Part 1Concurrency Programming in Java - 02 - Essentials of Java Part 1
Concurrency Programming in Java - 02 - Essentials of Java Part 1
 

Recently uploaded

Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfmbmh111980
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAlluxio, Inc.
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisNeo4j
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Krakówbim.edu.pl
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEJelle | Nordend
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfkalichargn70th171
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfMeon Technology
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfOrtus Solutions, Corp
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion Clinic
 

Recently uploaded (20)

Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 

Unit 2 - Object Navigator, Repository and ABAP Programs

  • 1. Unit 2: Introduction to the ABAP Workbench
  • 2. • This lesson gives a short description of the Repository and a brief overview of the most important components of the ABAP Workbench. It presents the Object Navigator as a central development tool. Lesson: Repository and Object Navigator Lesson Overview
  • 3. • Describe the structure of the Repository, use suitable tools to search for Repository objects and analyze their structure. Business Example
  • 4. Introduction to the Repository
  • 5. • The Repository consists of all system development objects - programs, function modules, definitions of database tables, and so on. • In the Repository, you have objects delivered by SAP as well as objects defined by the customer. • The Repository is in the database
  • 6. • The Repository is subdivided according to application components. (Commonly known as ‘modules’) • Within a module (e.g., MM) there are several packages containing relevant objects for a more detailed logical subdivision. • Whenever a Repository object is created, it must be assigned to a package.
  • 7. Working with the Object Navigator • The ABAP Workbench includes all tools required for creating and editing Repository objects. • These tools cover the entire software development cycle.
  • 8. • The most important tools are: ▫ The ABAP Editor for editing source code ▫ The ABAP Dictionary for editing database table definitions, central data types, and so on ▫ The Screen Painter for configuring screens (screens together with functions for user dialogs) ▫ The Menu Painter for designing user interfaces (menu bar, standard toolbar, application toolbar, function key settings) ▫ The Function Builder for maintaining function modules ▫ The Class Builder for maintaining global classes and interfaces
  • 9. • You can call each of these tools explicitly and then load a Repository object for processing. But it is much more elegant and convenient to access them using the Object Navigator. • The Object Navigator screen is split into two areas: ▫ The navigation area for displaying a hierarchical object list ▫ A tool area for displaying and editing a development object using the appropriate tool
  • 10. • Object lists are displayed in the navigation area. For example, if you choose to display a package there, all of the Repository objects belonging to the specified package are listed. • You can display or hide the navigation area. (.Full screen on/off.) • Double-clicking a listed object lets you display or edit it. • You can add frequently used object lists to your favorites. Working with the Navigation Area
  • 11. Functions in the Tool Area • In the tool area, a Repository object is displayed in the corresponding tool. • You can navigate between the objects that have been previously displayed in the current Object Navigator session (blue arrows). • When you double-click an object in the navigation history, it is displayed in the tool area.
  • 12. Synchronizing the Navigation and Tool Areas If necessary, you can synchronize both areas as follows: • You can display an object in the tool area by double-clicking in the navigation area or by using the corresponding context menu function of the object. • You can display the object list of an object that you are currently editing in the tool area by choosing Display Object List in the navigation area. • To create a new object, you can use the context menu for an object type in the corresponding object list. Alternatively, you can use the Edit Object or Other Object ... buttons to create any objects you want.
  • 13. • Describe the structure of the Repository • Name and use the search tools of the Repository • Use the Object Navigator for displaying Repository objects You should now be able to:
  • 14. • In this lesson you will learn how to create programs, transaction codes and packages, and how to assign a Repository object to a package. You will also learn how development packages are implemented in the SAP environment using the ABAP Workbench. Lesson: Developing Programs and Organizing Developments Lesson Overview
  • 15. • You are to create a new package and ABAP programs within the framework of a development project. Business Example
  • 16. Organizing Developments • Development projects are carried out in a development system. The development objects edited or created in a project are transported to subsequent systems (test and/or production system) on project completion. Transporting Development Objects Development System Production System New developments and Objects Change Request
  • 17. • At the start of a development project the project manager creates a change request in the Transport Organizer (Transaction SE01) • The Transport Organizer then creates a task for each developer in the change request. • When a development object is edited or created, the developer assigns this to the change request. • The object is entered into the task of the developer. • All repository objects that a developer works on during a project are collected within his or her task.
  • 18. Creating Packages 1. Navigate to the Object Navigator. 2. Create the attributes of the package to be created. 3. Assign the package to a change request.
  • 19. • Is typed • Enables multi-language applications • Enables SQL access • Has been enhanced as an object-oriented language • Is platform-independent • Is upward-compatible Introduction to the ABAP Programming Language
  • 20. • ABAP programs are made up of individual statements. • The first word in a statement is called an ABAP keyword. • Words must always be separated by at least one space. • Each statement must end with a period. • Statements can be indented. • Statements can take up more than one line. • You can have multiple statements in a single line.
  • 21. • For indentations and for converting uppercase/lowercase letters, you can use the Pretty Printer (the correspondingly labeled button in the Editor). • Comment lines are introduced with an asterisk *. The code generator recognizes the corresponding line as a comment so that it will be ignored by the runtime system. • If you wish to have the rest of a line set as a comment, you must use double quotation marks ".
  • 22. • If there are several ABAP statements, the ABAP runtime system writes the corresponding return code into the system field SY-SUBRC in order to provide information as to how successfully the particular statement was executed. • The value zero means that the statement was successful. = 0 • Other value different from zero means an error, warning or exception occurred. <> 0
  • 23. • There are various ways of navigating to the documentation for an ABAP statement: • The F1 key takes you directly to the documentation for the statement on which the cursor is positioned. • The i button with the description Help on ... takes you to a dialog box where you can enter the required ABAP statement.
  • 24. 1. Navigate to the Object Navigator.(Transaction SE80) 3 options are available: ▫ In the navigation area, choose the object type Program and enter the name of the program in the input field below. ▫ Display the package where you want to create the program ▫ Choose the Edit Object button on the initial screen of the Object Navigator. 2. Change the title to a self-explanatory short text and choose Executable Program as the program type. Developing an ABAP Program
  • 25. The ABAP Editor Line numbers Blocks that can be compressed Current line Differente colors for keywords Current nesting User specific settings
  • 26. Activating Programs • Whenever you create a development object, or change and then save it, the system first stores only one inactive version in the Repository. • At the end of your development, you have to activate the inactive version of the object. • This version becomes the new active version of the object.
  • 27. • The request release and the transport of the developed objects are only possible if all objects in the request have been activated. • If your program is available in both versions (active and inactive), you can switch between the displays of these two versions. • Whenever you activate a program, the system first displays a list of all inactive objects that you have processed. This is called the worklist.
  • 28. The activation of an object includes the following functions: • Saving the object as an inactive version • Syntax or consistency check of the inactive version • Overwriting the previously active version with the inactive version (only after a successful check) • Generating the relevant runtime object for later executions, if it is a program.
  • 29. • You can start a program by entering the transaction code in the command field. Creating Transactions
  • 30. 1. In the Object Navigator, display the object list for your program. 2. In the navigation area, use the context menu of the program to choose Create→ More → Transaction. 3. Enter the required transaction code. 4. Assign a short text and choose the label Program and Selection Screen (Report Transaction) . 5. Enter the name of the program and choose Professional User Transaction. 6. Under GUI enabled set the indicator SAP GUI for Windows. 7. Save the transaction. 8. Assign it to a package and to a change request.
  • 31. 1. Navigate to the initial screen (SAP Easy Access Menu). 2. In the Favorites context menu, choose Insert Transaction. 3. In the dialog box that appears, enter the required transaction code. Adding Transactions to your Personal Favorites
  • 32. • Once a user has completed the required development task, he or she carries out a quality check and releases the task within the change request. • The corresponding object entries are transferred from the task to the request. • However, other developers can still edit these objects. • Once all tasks of a change request have been released the change request is released. • This concludes the project. Closing Development Projects
  • 33. You should now be able to: • Name and use the utilities for orderly software development • Create packages • Create programs • Create transactions
  • 34. • Create Your First Program • Declare a variable • Keyword Constants • Assign a value • Write Statement • Use TAB key for autocomplete. Procedure: Creating an ABAP Program
  • 35. • Create your first table • Enter data into your table • View the data in your table Procedure: Creating Tables
  • 36. Your assignment is to: • Create a program to list all related flight information . • Assign a transaction in the SAP easy access menu Favorites. • Organize the objects inside a package and release the development for transportation. Unit 2: Case Study – Flight Information Report

Editor's Notes

  1. How presentation will benefit audience: Adult learners are more interested in a subject if they know how or why it is important to them. Presenter’s level of expertise in the subject: Briefly state your credentials in this area, or explain why participants should listen to you.
  2. Lesson descriptions should be brief.
  3. How presentation will benefit audience: Adult learners are more interested in a subject if they know how or why it is important to them. Presenter’s level of expertise in the subject: Briefly state your credentials in this area, or explain why participants should listen to you.
  4. Lesson descriptions should be brief.