ITB258 - ABAP Programming: Lecture 1b Introduction To The ABAP Workbench
ITB258 - ABAP Programming: Lecture 1b Introduction To The ABAP Workbench
ITB258 - ABAP Programming: Lecture 1b Introduction To The ABAP Workbench
Objectives
to introduce
the ABAP integrated development environment the two main ABAP application types
Order of Presentation
Object Navigator (Repository Browser) The ABAP Language The Repository Information System Test and Analysis Tools Menu & Screen Painter The Data Modeler ABAP Query The Workbench Organizer The Class Builder
Used to create/change ABAP application programs Each ABAP application program is either a report or a transaction:
Reports are applications that retrieve and display information from database with little or no user interaction Transactions accepts inputs/data from users and then perform one or more relevant actions, usually involving updating databases
write ABAP code design dialogs/screens with a graphical editor create menus with a menu editor debug an application test an application for efficiency control access to objects under development create new or access predefined database information
the Repository Information System the Data Modeler various test and analysis tools the ABAP Query the Workbench Organizer
ABAP Dictionary
R/3 Repository
ABAP Processor
Debugging Trace Test Tuning
All R/3 screens have a similar look and feel screens consist of
screen titlebar menu bar standard toolbar application toolbar screen body message line
Message line
Client
Server
central tool for organizing and managing your personal development objects used to navigate through development object lists
where development objects are the components used to construct an application if you create a new data definition the browser calls the Data Dictionary, and then returns to the browser after the definition is created
Advanced Business Application Programming developed by SAP for the interactive development of application programs 4th Generation Language (with some OO features) main uses for ABAP programs include
creation of new reports development of new user dialog programs (transactions) customisation of R/3 to meet individual client needs
Reporting
uses ABAP Open SQL to extract data from the R/3 database
selection screen allows the user to enter selection criteria list screen displays the report data
Report
Selection Screen List Screen
R/3 Database
* See ZADMS2001
Dialog Programming
Dialog Programs (Transactions) are used for both reading and changing the database Main Components of a Dialog Program are
screen & menus processing logic defined in an ABAP program (module pool) for each screen, interaction and control flow from one module to another is defined in DYNPRO data structures defined in the ABAP dictionary
Development Environment
ABAP Dictionary Screen Painter Menu Painter
ABAP
Runtime Environment
Dialog Processor
ABAP Processor
Module Pool
0200
DIALOG
Communication
ABAP
2 3
MODULE...... : : ENDMODULE.
Menu Painter
The Repository Information System is used to search for objects in the R/3 system and provides
list of all objects X with attribute/s Y the Where Used List which gives a list of every place that object X is used throughout the R/3 system information about foreign key relationships between tables display of data (all records in table X with attribute Y)
ABAP Editor
syntax checker
tests for coding and syntactical correctness provides automatic correct facility in case of an error, provides a detailed (although sometimes obscure) reason for the error
searches out situations that might possibly result in a runtime error (eg, inconsistent interface parameters) warns about use of literals instead of text elements
Debugger
stop the program anywhere during runtime continue statement by statement skip over subroutines check or change the contents of variables and internal tables on the fly
Runtime analysis
used to determine the performance, (absolute and relative) of the various parts of an ABAP program can provide statistics on the efficiency of
graphical tool that utilises E-R modelling tightly coupled to the data dictionary
possible to click on an object in the model (ie, an entity), and retrieve related data from the dictionary, (ie table - structure, contents) create the data model and the dictionary can create the table automatically
ABAP Query
can generate
To define a report
enter individual texts, such as titles select the fields and options which determine the report layout assign a particular sequence by numbering the fields.
Workbench Organizer
by allowing you to distribute project work for individual developers or teams among different change requests
Workbench Organizer
even when many copies of the object exist in several, connected SAP systems
this lecture provided an overview of the tools that comprise the ABAP Development Workbench of these the editor /syntax checker/debugger is the combination that we will use most frequently it is essential that you be able to use the tools to
Related Reading
OnLine Help
Text Book
Ch 3.2.2 Data Objects & Data Types 6674 Ch 3.2.4 Structures 85-88 Ch 4.1 Domains, Data Elements, Tables & Structures