SAP System Architecture
SAP System Architecture
SAP based the architecture of R/3 on a three-tier client/server model. Presentation Server Application Server Database Server Presentation Server The presentation server is actually a program named sapgui.exe.It is usually installed on a users desktop.When started,the presentation server displays the R/3 menus within a window.This window is commonly known as the SAPGUI.The interface accepts the input from the user and sends these requests to the application server to be processed.The application server sends the result back to the SAPGUI which then formats the output for display to the user.
VINITA REGAL IT
1. 2. 3.
VINITA REGAL IT
VINITA REGAL IT
WP
WP
ATCHER BUFFERS
WP
WP
WORK PROCESSES
TO DATABASE SERVER
VINITA REGAL IT
VINITA REGAL IT
VINITA REGAL IT
WP TYPE
D(Dialog) V(Update) B(Background) S(Spool) E(Enqueue) M(Message) G(Gateway)
REQUEST TYPE
Dialog requests Request to update data in db Background jobs Print spool request Logical lock request Routes messages b/w application servers within R/3 system Funnel messages into and out of the R/3 system VINITA
REGAL IT
VINITA REGAL IT
VINITA REGAL IT
VINITA REGAL IT
VINITA REGAL IT
VINITA REGAL IT
Advanced Business Applications Program or ABAP is the programming language of SAP. ABAP is a powerful programming language designed to be both platform and Database independent. The need for ABAP programmers is essential for every stage of the SAP Program life cycle. After the successful installation, the "APAPer" will be responsible for the customization, modification and general support of the SAP program. The ABAPer becomes the "Go-To Guy" to get the job done when the request is beyond the scope of Configuration
VINITA REGAL IT
Objectives
Upon completion of this topic, you should be able to: Define the general terms associated with the ABAP/4 Workbench. Work with the ABAP/4 Object Browser. Create a program object. Access tables to generate a report.
VINITA REGAL IT
Topics
ABAP/4 Development Workbench ABAP/4 Data Dictionary ABAP/4 Repository Information
VINITA REGAL IT
R/3 Repository
VINITA REGAL IT
VINITA REGAL IT
VINITA REGAL IT
ABAP/4 Programs
All ABAP/4 programs (objects) are made up of: Source code Text elements Attributes
ABAP/4 Program Attributes Source Code Text Elements Titles Headers Text symbols
VINITA REGAL IT
Creating Programs
Begin by first specifying a development class. Development classes are categories of SAP objects (e.g. program object). Customer-specific program names begin with Y or Z. If you are creating a test object which you do not wish to be transported, choose Local Object. The development class is then set to $TMP automatically.
VINITA REGAL IT
VINITA REGAL IT
ABAP/4 Syntax
An ABAP/4 program consists of individual statements Each statement must end with a period. The first word of a statement is known as the key word. Words are separated from each other by at least one blank. Statements can be indented. Statements can extend over several lines. You can concatenate several consecutive statements with an identical key word (e.g. WRITE: ). Follow the key word with a colon. Separate each concatenated part with a comma. End the lines of the concatenated statements with a period.
VINITA REGAL IT
VINITA REGAL IT
Table SBOOK
SBOOK
F1 F2 F3 Fn
SBOOK F1 F2 F3 Fn
Database
Program
Report ZDEMO1. TABLES: SBOOK. SELECT * FROM SBOOK WHERE CARRID = LH. ENDSELECT. WRITE : CARRID, FLTDATE.
Report
Topics
ABAP/4 Development Workbench ABAP/4 Data Dictionary ABAP/4 Repository Information
VINITA REGAL IT
uses
VINITA REGAL IT
ABAP/4
The ABAP/4 Dictionary is the central facility in the system where you can create and maintain data declarations, tables, structures and aggregated objects. Since it is integrated into the ABAP/4 Development Workbench as an active component, any change made in the ABAP/4 Dictionary takes immediate effect in programs affected.
VINITA REGAL IT
Topics
ABAP/4 Development Workbench ABAP/4 Data Dictionary ABAP/4 Repository Information
VINITA REGAL IT
?
Search by attributes
Display all objects of type X with attribute Y
Where-used lists
Display all objects of type Y which use attribute X
The ABAP/4 Repository Information System allows search for ABAP/4 Development Workbench objects by specifying required attributes. From the ABAP/4 Development Workbench: Overview Repository Infosy.
VINITA REGAL IT