0% found this document useful (0 votes)
20 views10 pages

Sap Introduction &was - Architecture

The document provides an overview of SAP BASIS, focusing on the architecture and components of the Web Application Server (WAS). It details the ABAP stack architecture, including the presentation, application, and database layers, as well as the roles of various work processes such as dialog, background, update, and spool work processes. Additionally, it explains the functions of the ABAP central services, message service, and enqueue service within the SAP environment.

Uploaded by

Pamidi Yasasvi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views10 pages

Sap Introduction &was - Architecture

The document provides an overview of SAP BASIS, focusing on the architecture and components of the Web Application Server (WAS). It details the ABAP stack architecture, including the presentation, application, and database layers, as well as the roles of various work processes such as dialog, background, update, and spool work processes. Additionally, it explains the functions of the ABAP central services, message service, and enqueue service within the SAP environment.

Uploaded by

Pamidi Yasasvi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Introduction to SAP BASIS part-4

WAS (Web Application Server)

WEB

SAP BASIS Training - Introduction


GUI
ICM
MPI HTTP
(Memory pipes)

ABAP dispatcher
connector
JAVA dispatcher
JCO – Java

Fast RFC

ABAP STACK ARCHITECTURE:

LAYERS (PAD)
 Presentation layer
 Application layer
 Database layer
WINDOWS Normally you have to
Presentation layer frontend GUI Java maintain this layer

HTML in each employee

system.

Application layer ASCS PAS AAS


Processing area, Where (ABAP central services ) (Primary Application additional

Cpu utilize to processMessage + Enqueue server) Application

SAP data services—Mandatory Only one for each Server

Only one for each Environment Environment. Optional

Mandatory To avoid performence

Contains Dispatcher issue you can

Work process,ICM prepare many more

IGS Etc.. additional app ser

SAP BASIS Training - Introduction


Database Layer :
 Where actually table structure available to store SAP data
 Mandatory
 Only one for each environment
Environment :
Development Quality testing Production

DB DB DB

ASCS PAS ASCS PAS ASCS PAS

Types of architecture

R/1 R/2 R/3


Real time one tier Real time two tier Real time 3 tier

R/1 --- Very old (outdated)

R/2 --- Only on IBM Mainframe systems

DB Layer

APP Layer

GUI

If workload is more, then you need to change


SAP BASIS Training - Introduction
entire system.

R/3 ------ Real time three tire architecture

Scope to arrange

One tier Two tier Three tier


Multi-tier
evdd DB Dsdd DB DB
APP APP

I GUI CI AAS

When you use ITS server you can get one


extra layer i.e Internet Layer.

SAP BASIS Training - Introduction


Presentation layer

1 2 3 4 -- -- -- -- -- -- -- -- -- -- 200 emp
KBPS link, Only exchange images
Application layer

DISPATCHER
D I S P A T C H E R
WAIT QUEUE

DIA DIA BTC BTC UPD UP2 SPO


FIFO (FIRST
Dialog WPs Background WPs Update WPs Spool WP
IN FIRST
OUT) Work process internal structure
LOCA sc TASK
L
SCREEN PROCESS HANDL SHARED MEMORY
MEM ER
ORY
ROLE IN (USER CONTEXT
DATA)
ABAP PROCESS ROLE OUT User Authorization
s
DATABASE information
ABAP/4 Independent Language
INTERFACE
Open SQL format

Database layer
GBPS link to exchange data

SAP BASIS Training - Introduction


Oracle Maxdb
DB2 Sybase
MS SQL HANA SAP DATA
BUFFER

As per SAP recommendations maintain minimum

Two dialog work process.


Two background work processes.

Remaining one each

Dispatcher :-

Dispatcher receives frontend requests and allocate to available dialog work


process, if dialog work process busy (not free) then extra waiting request
temporarily store into the buffer called dispatcher wait queue Whenever
dispatcher found free workprocess, then allocate waiting request on FIFO
basis, Each application server having its own dispatcher (either PAS or AAS).

Dialog work process :-

Dialog work process meant for directly interacting jobs, (online


work Example: preparation of sales document) short running jobs
and time critical jobs. One dialog step is limited to 600 seconds (10
minutes). If you want to change this default time, then edit system
profile parameter Rdisp/max_wprun_time=up to 1800 sec. Dialog
work process execute just one single dialog step at a time and
become immediately free for the next user request (multiplexing)
Multi tasking----------- single threaded job

Multiplexing :-

SAP BASIS Training - Introduction


A program dialog step is assigned to one specific dialog work
process during execution. The individual dialog steps for a program
consisting of several screens can be executed by various dialog
work process during program runtime. This is called work process
multiplexing.

 Dialog worker process parameter name is Rdisp/wp_no_dia


 Each request occupies 75mb to 150mb.
 Number of dialog work process greater than or equal to
number of non-dialog work process.
 Dialog work process timeout parameter are Rdisp/max _wp
_run _timeout.
 One dialog work process normally can serve up to 32 users.
 One application server can have maximum time 100 dialog
works process.

Background Workprocess:-
 Background work process meant for long running jobs (eg;
database backups, financial evaluations and client copies etc.)
and to execute periodic jobs (eg: cleaning unnecessary log
files spool files etc.)
 This is used for non-interactive or offline work (out of office).
 Background work process does not multiplex the job it
executes assigned job in a single step.
 Background work process doesn’t have any time limit like
dialog work process.
 You have to maintain minimum two BTC one is for to define
and other for execution.
 BTC parameter is Rdisp/wp_no_btc

Update Workprocess:-

SAP BASIS Training - Introduction


 This process is used to update the database Initially update
requests are handled by the dialog work process, as they
could not execute within the specific time it is called
asynchronous update process if the task has been moved to
the update work process before that dialog work process
update the temporary table (VBHDR,VB*),update work
process reads the temporary tables and update the
database.

 There are two types of update work process they are V1--
used to update critical jobs. V2-- used for non critical jobs.

 The relevant system profile parameters are to edit update


work process

Rdisp/up_no_vb
Rdisp/up_no_vb2

Spool work process

Due to SAP independent (platform) nature OS cannot understand


SAP structure directly, so spool workprocess convert SAP level
structure (for printing) which is understandable to OS (windows or
Linux) So spool work process is used to output a document to the
printer, fax, email, pager etc. Dialog work process or BTC are
creates spool request.

ASCS:- ABAP central services


1) Message service 2) Enqueue service

SAP BASIS Training - Introduction


1) Message service:-
 It is used to communicate to the all available
dispatchers. Message service uses default port 3600.
Internal port number 3900.

 If logon load balance is configured Message Server


identifies the least loaded server in the logon group.
This is also used to communicate with enqueue to
issue locks to the work process coming from
application servers.

Enqueue Service :

 It is used to lock and unlock SAP objects

Gateway service :-

 It is used to communicate between the SAP system


to non SAP system .

 There will be only one gateway for each instance

Responsibilities of task handler:-

 Execute roll in/ roll out tasks


 Act as a coordinator between different work
processes.

 Wake up screen presses and a ABAP process.


SAP BASIS Training - Introduction
Role in :
To load user context data from application server shared
memory to work process internal memory by the task handler
this process is called role in .

Roll out :
Once user transaction finishes, no need to maintain user context
data into the work process internal memory. So task handler
removes user context data from work process internal memory,
this process is called roll out.

SAP BASIS Training - Introduction

You might also like