This document gives overview on SAP ABAP work bench
Comments
Content
SAP
SAP
S
S
ystems and
ystems and
A
A
pplication
pplication
P
P
roducts in
roducts in
Data Processing
Data Processing
0
SAP R/3 is Enterprise Software
1
What is SAP R/3?
A series of integrated core business application
modules for transaction processing
A set of functions that implement best business
practices
Client/Server software that processes business
transactions
A methodology for implementing application software
2
3
What is My SAP ERP?
R/3 Enterprise Functionality plus Analytics, SEM,
Financial Supply Chain Management, MSS/ESS, SAP
Learning solution, E‐Recruiting, Self Service
Procurement, Internet Sales R/3 Edition A set of
functions that implement best business practices
Full NetWeaver Suite A methodology for
implementing application software
4
5
mySAP Business Suite
mySAP Business Suite
CRM
CRM
SCM
SCM
PLM
PLM
SRM
SRM
NetWeaver
mySAP ERP
R/3
My SAP ERP My SAP ERP
SAP R/3 Advantage
All of its applications are robust and integrated
For individual business application, you may find
software with greater functionality than that included
in R/3
But, it is not integrated with other business applications
6
7
8
SAP logon screen
10
SAP R/3 System ‐ First screen after logon
11
SAP R/3 System
Overview of R/3 System
12
Logical View of R/3 System
13
Logical View of R/3 System
The previous diagram shows how the R/3 Basis system
forms a central platform within R/3 System
1. Kernel and Basis Services
Running Appl., User & Process Administration
Database Access & Communication
System Monitoring and Administration
2. ABAP Workbench
This is the full‐fledged development environment for all R/3
Application
3. Presentation Component
Responsible for Interaction with User
14
Software Oriented View of R/3 System
15
Software Oriented view of R/3 System
The R/3 Basis system is multi‐tier Client/Server system.
Database Layer
This layer consists of a central database system contains all
of the data in the R/3 System
Components : DBMS & Database itself
Application Layer
This layer consists of one or more application server and
Message server
Message server is responsible for communication between
the application servers
Presentation Layer
This layer interfaces with R/3 System & Users
16
Advantages of Multi‐tier Architecture
Distribution of R/3 software over three layers means that the
system load is also distributed. This leads the better system
performance.
Since the database system contains all of the data for the entire
R/3 system, it is subject to a very heavy load when the system is
running. It is therefore a good idea not to run application
programs on the same host.
The architecture of R/3 System, in which the application layer
and database layer are separate, allows you to install them on
separate hosts and let them communicate using the network.
17
User Oriented View
18
Application Server of R/3 System
19
Components of Application Server
Dispatcher
This is the link between the work process and the users
logged on to the Application Server
Gateway
This is the interface between the R/3 Communication
protocol (RFC, CPI/C).
It can communicate with other Application Server in the
same R/3 System, with other R/3 Systems, with other R/2
Systems, or with other non‐SAP Systems
Shared Memory
All of the work processes on an Application Server use a
common main memory area called shared memory area to
save context or to buffer constant data locally
20
Components of R/3 Application Server
Work Processes
Each work processes linked to a memory area
containing the context of the application being run.
The context contains the current data of the application
program.
Types of Work Processes
Dialog
Update
Enqueue
Spool
Background
21
22
23
Database Interface Services
Establishing and terminating the connections between the work
process and database
Access to the database tables
Access to R/3 Repository objects (ABAP, Screen, …)
Access to Catalog Information (ABAP Dictionary)
Controlling Transactions (Commit / Rollback ..)
Table Buffer administration on the application server
Two ways of accessing Databases :
Open SQL
Native SQL
24
Database Access : Open SQL
Open SQL Statements are subset of standard SQL that is fully
integrated with ABAP. They allow to access the database
irrespective of database system R/3 System Installation using.
Open SQL Consists of
DML, DDL, DCL
Open SQL goes beyond Standard SQL to provide the statements
that, in conjunction with other ABAP constructions, can simply
or speed up the database access.
25
Database Access : Native SQL
Native SQL only loosely integrated into ABAP, and allows to
access all of the functions contained in the programming
interface of the respective database system.
Unlike Open SQL statements, Native SQL statements are not
checked and converted, but instead are directly sent to the
database system.
26
27
ABAP/4
Fourth generation language
Event driven
All SAP R/3 applications and parts of Basis are
developed in ABAP
The ABAP programming language unifies the
advantages of an object‐oriented language
28
ABAP Development Workbench
Objectives
Understand workbench and its tools
Create a program
Know advanced features of workbench
30
ABAP Development Workbench
ABAP Development Workbench is a graphical
programming environment which enables us to create
new ABAP applications and change existing SAP
applications.
31
Workbench
32
Workbench
Development Workbench is made up of the following tools
Versioning support
Structuring the development object in packages
Interface editors for SAP GUI‐based interfaces
Development tools for Web interfaces
Support for multi‐lingual text elements and messages
Connection to the Transport Organizer
Direct access to all data definitions in the ABAP Dictionary
Debugger
Tools for runtime analyses
Test tools
Modification assistant to compare user‐defined extensions
33
Workbench
The menu path is Tools ‐> ABAP Workbench
34
Workbench Tools
Repository Browser Used to display and edit
hierarchical lists of development objects.
Dictionary Used to define and save data
definitions You can also store documentation, help
information, data relationships, and other
information. You also use the Dictionary to
generate database objects like tables and indexes.
ABAP Editor You use the ABAP Editor to
create and edit program code.
35
…Workbench Tools
Function Builder You use the Function
Builder to define and store function modules. The
Function Builder stores these modules centrally.
You can use the library to write new modules and
look up information on existing modules.
Screen Painter Used to design the screens in an
application's graphical user interface.
Menu Painter Used to design the menus that
appear in your interface
36
g g
Click the button ABAP Editor in the Workbench
37
... Creating a Program
Name of the program to be created is given in the
program field and click the create button.
The attributes screen appears, fill the fields and
save
it.
The development class has to be entered in the
dialog box that appears .
Go to the source code.
38
…Creating a program
The program attributes screen looks like this
39
…Creating a program
The Development Class screen looks like this
40