SAP Web Application Server Principles - RWTH Aachen · PDF fileSAP GUI for Java SAP GUI for...
-
Upload
nguyendang -
Category
Documents
-
view
276 -
download
3
Transcript of SAP Web Application Server Principles - RWTH Aachen · PDF fileSAP GUI for Java SAP GUI for...
SA
P W
eb
Ap
pli
ca
tio
nS
erv
er
Pri
nc
iple
s
Dr.
Mas
ou
dA
gh
adav
oo
diJ
olf
aei
Th
om
as B
ecke
r
SA
P A
G
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/2
What
do
es
S -
A -
P s
tand f
or?
Str
eng
th
Act
ion
P
assi
on
So
ftw
are
An
alyt
ics
Pro
ject
s
Sys
tem
s A
pp
licat
ion
s
Pro
du
cts
So
ftw
are
An
dP
eop
le
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/3
The
SA
P P
rodu
ct
Port
folio
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/4
myS
AP
ER
P -
The
Fund
am
en
t to
Gro
wth
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/5
myS
AP
Busin
ess S
uit
e I
ndustr
y S
olu
tions
�m
ySA
PM
ill P
rod
uct
s
�m
ySA
PM
inin
g
�m
ySA
PO
il &
Gas
�m
ySA
PP
har
mac
euti
cals
�m
ySA
PP
rofe
ssio
nal
Ser
vice
s
�m
ySA
PP
ub
lic S
ecto
r
�m
ySA
PR
etai
l
�m
ySA
PS
ervi
ce P
rovi
der
s
�m
ySA
PT
elec
om
mu
nic
atio
ns
�m
ySA
PU
tilit
ies
�m
ySA
PA
ero
spac
e &
Def
ense
�m
ySA
PA
uto
mo
tive
�m
ySA
PB
anki
ng
�m
ySA
PC
hem
ical
s
�m
ySA
PC
on
sum
er P
rod
uct
s
�m
ySA
PE
ng
inee
rin
g, C
on
stru
ctio
n &
O
per
atio
ns
�m
ySA
PF
inan
cial
Ser
vice
Pro
vid
er
�m
ySA
PH
ealt
hca
re
�m
ySA
PH
igh
er E
du
cati
on
&
Res
earc
h
�m
ySA
PH
igh
Tec
h
�m
ySA
PIn
du
stri
al M
ach
iner
y &
C
om
po
nen
ts
�m
ySA
PIn
sura
nce
�m
ySA
PM
edia
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/6
Inte
rente
rpri
se
Collabora
tion:
Yeste
rday...
Cu
sto
me
r
Su
bc
on
tra
cto
r
Ra
w
ma
teri
als
Su
pp
lie
r
Su
pp
lie
r
OE
M
He
ad
off
ice
1975
1975
�S
tart
of
glo
bal
izat
ion
�M
ain
fram
e co
mp
ute
rs,
1:1
con
nec
tio
ns
�In
crea
sed
spec
ializ
atio
n�
Tra
nsi
tio
nto
bu
yers
' mar
ket
ED
I
ED
I**
ED
I
ED
I
ED
I
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/7
Inte
rente
rpri
se
Collabora
tion:
Today...
�G
lob
aliz
atio
n
�In
tern
et
�S
pec
ializ
atio
n
�B
uye
rs' m
arke
t
2003
2003
Su
pp
lie
r
Cu
sto
me
r
Su
bc
on
tra
cto
r
He
ad
off
ice
Su
pp
lie
r
OE
M Ra
w
ma
teri
als
INTERNET
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/8
Turn
ing R
evolu
tion I
nto
Evolu
tion
Tec
hn
olo
gy
Ad
van
ces
Business Requirements
En
terp
rise
Ser
vice
s A
rch
itec
ture
SA
P N
etW
eave
r
3-T
ier
Clie
nt/
Ser
ver
SA
P B
asis
Mai
nfr
ame
Arc
h.
AB
AP
Mai
nfr
ame
Clie
nt/
serv
er
Web
Ser
vice
s
Inte
gra
ted
pro
cess
es
Ad
apti
vep
roce
sses
Sca
lab
lep
roce
sses
XXReplace
Replace
��
Extend
Extend
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/9
Th
e N
ex
t T
ec
hn
olo
gy W
ave
-R
eu
se
in
ste
ad
of
Re
pla
ce
me
nt
Mainframe
3-tier C
lient/S
erver
Enterpris
e Services
Archite
cture
ER
P
HC
MCR
MSC
M
1993
20
03
PC
As
AU
TO
MA
TIO
NA
UT
OM
AT
ION
(Cen
tral
izat
ion
,(C
entr
aliz
atio
n,
“co
rpo
rate
” ru
les)
“co
rpo
rate
” ru
les)
DIS
TR
IBU
TIO
ND
IST
RIB
UT
ION
(Dec
entr
aliz
atio
n,
(Dec
entr
aliz
atio
n,
hig
h e
nd
fu
nct
ion
alh
igh
en
d f
un
ctio
nal
syst
ems)
syst
ems)
CO
MP
OS
ITIO
NC
OM
PO
SIT
ION
(tea
m(t
eam
--an
d k
no
wle
dg
ean
d k
no
wle
dg
ed
rive
n c
orp
ora
tio
n)
dri
ven
co
rpo
rati
on
)
R/2
R/2
SA
PS
AP
myS
AP
.co
mm
ySA
PB
usi
nes
s S
uit
e
R/2
Bas
isR
/2 B
asis
SA
PS
AP
myS
AP
SA
P N
etW
eave
rB
asis
Bas
isT
ech
no
log
y
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/10
SA
P N
etW
eaver™
Th
e t
ota
l in
teg
rati
on
an
d a
pp
lic
ati
on
pla
tfo
rm f
or
low
er
TC
O
Un
ifie
s an
d a
lign
s p
eop
le,
info
rmat
ion
an
d b
usi
nes
s p
roce
sses
�In
teg
rate
s ac
ross
te
chn
olo
gie
s an
d
org
aniz
atio
nal
bo
un
dar
ies
�A
saf
e ch
oic
e w
ith
fu
ll .N
ET
an
d J
2EE
inte
rop
erab
ility
Th
e b
usi
nes
s fo
un
dat
ion
fo
r S
AP
an
d p
artn
ers
�P
ow
ers
bu
sin
ess-
read
y so
luti
on
s th
at r
edu
ce c
ust
om
in
teg
rati
on
�It
s E
nte
rpri
se S
ervi
ces
Arc
hit
ectu
re in
crea
ses
bu
sin
ess
pro
cess
fle
xib
ility
DB
an
d O
S A
bst
ract
ion
.NE
TW
ebS
ph
ere
…
People
Inte
gra
tion
Composite Application Framework
Pro
cess I
nte
gra
tion
Inte
gra
tio
n
Bro
ker
Bu
sin
ess
Pro
cess
Man
agem
ent
Info
rmati
on I
nte
gra
tion
Bu
sin
ess
Inte
llig
ence
Kn
ow
led
ge
Man
agem
ent
L i f e C y c l e M a n a g e m e n t
Po
rtal
Co
llab
ora
tio
n
J2E
EA
BA
P
Applicati
on P
latf
orm
Mu
lti-
Ch
ann
el A
cces
s
SA
P
SA
P N
etW
ea
ve
rN
etW
ea
ve
r™™
DB
an
d O
S A
bst
ract
ion
Mas
ter
Dat
a M
anag
emen
t
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/11
SA
P N
etW
eaver
Openness
Inte
ropera
bilit
y a
nd E
xte
nsib
ilit
y T
hro
ugh .
NE
T a
nd W
ebS
phere
SA
P N
etW
eaver™
PE
OP
LE
IN
TE
GR
AT
ION
IN
FO
RM
AT
ION
IN
TE
GR
AT
ION
PR
OC
ES
S I
NT
EG
RA
TIO
N
AP
PL
IC
AT
IO
N P
LA
TF
OR
M
IBM
WebS
phere
Mic
rosoft
.N
ET
•Por
tal D
evel
opm
entK
itfo
rW
ebS
pher
e•I
nteg
ratio
n of
Lot
us
Sam
etim
e
Mu
ltic
han
nel
acc
ess
Po
rtal
Co
llab
ora
tio
n
•Int
egra
tion
with
IBM
C
onte
nt M
anag
erK
no
wle
dg
e M
gm
tB
usi
nes
s In
telli
gen
ceM
aste
r D
ata
Mg
mt
•Int
erop
erab
ility
with
Web
Sph
ere
Bus
ines
s In
tegr
atio
nIn
teg
rati
on
Bro
ker
Bu
sin
ess
Pro
cess
Mg
mt
•Ecl
ipse
Java
IDE
•Tec
hnic
al, s
tand
ards
-ba
sed
conn
ectiv
ity(X
ML,
Web
Ser
vice
s)
J2E
EA
BA
PD
B a
nd
OS
Ab
stra
ctio
n
•Int
egra
tion
of M
S
Con
tent
Mgm
t Ser
ver
•Int
egra
tion
of S
QL
Ser
ver
Ana
lysi
s S
erv.
•Int
erop
erab
ility
with
MS
Biz
talk
Ser
ver
•Vis
ual S
tudi
o .N
ET
int.
•Tec
hnic
al, s
tand
ards
-ba
sed
conn
ectiv
ity(X
ML,
Web
Ser
vice
s)
•Por
tal D
ev. K
itfo
r.N
ET
•Sm
art C
lient
on
.NE
T•M
S O
ffice
Inte
grat
ion
•MS
Exc
hang
e In
tegr
.
= d
eliv
ered
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/12
Overv
iew
�S
AP
Bu
sin
ess
Su
it
�S
AP
Web
Ap
plic
atin
Ser
ver
�A
BA
P E
ng
ine
�R
emo
te F
un
ctio
n C
all (
RF
C)
vs. R
emo
te P
roce
du
re C
all (
RP
C)
�P
roce
ss A
dm
inis
trat
ion
�T
ran
sact
ion
Co
nce
pt
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/13
Web A
ppli
cati
on
Serv
er
and D
ata
base A
rchit
ectu
re(M
ult
i-L
eve
l S
yste
ms)
Fro
nte
nd
(s)
/ Pre
sen
tati
on
Ser
ver(
s)
Use
r co
mm
un
icat
ion
DB
Ser
ver
DB
cach
eD
B
WP
Ap
plic
atio
n S
erve
r(s)
loca
ld
ata
WP
Dat
a tr
ansf
er b
etw
een
DB
ser
ver
and
ap
plic
atio
n s
erve
r(s)
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/14
Pu
blic
Inte
rnet
SA
P s
oft
war
eca
n b
e ac
cess
ed f
rom
alm
ost
eve
ryw
her
e
SA
P G
UI
Fa
mil
y:
Netw
ork
Top
olo
gie
s
Rem
ote
Co
mp
uti
ng
Bra
nch
Off
ices
Win
do
ws
Ter
min
als
and
NC
s
Wir
eles
s T
erm
inal
s an
d In
form
atio
n
Ap
plia
nce
s
Web
Co
mp
uti
ng
Cro
ss-
Pla
tfo
rmD
eskt
op
s
Ter
min
al S
erve
r /
Met
aFra
me
Ser
ver
Far
ms
Su
bsi
dia
ry/
Bra
nch
Off
ice
Sat
ellit
eL
ink
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/15
Sele
cti
ng t
he r
ight
GU
I: F
eatu
re O
verv
iew
Off
ice
Inte
gra
tio
n
Des
kto
p a
cces
s
SA
P c
ore
fun
ctio
nal
ity
File
tran
sfer
Bro
wse
rIn
teg
rati
on
Vie
win
g /
exp
ort
Mak
ros
Vie
win
g /
exp
ort
Mak
ros
Fro
nte
nd
Pri
nti
ng
PD
F M
ail
Lo
cal p
rin
ter
PD
F M
ail
Pri
nt
pre
view
Lo
cal p
rin
ter
(on
Win
dow
s)P
DF
Mai
l
Bu
sin
ess
gra
ph
ics
Sel
ecte
d
gra
ph
ic t
ypes
SA
P G
UI f
or
Win
do
ws
SA
P G
UI f
or
Java
SA
P G
UI f
or
HT
ML
Gu
iXT
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/16
SA
P W
eb A
ppli
cati
on S
erv
er
(Rele
ase 6
.20)
Inte
gra
ted
J2E
E S
erve
r
ICM
Dis
patc
her
Gat
e-w
ayW
ork
Pro
cess
es
J2E
ED
ispa
tche
r
J2E
ES
erve
rP
roce
ssesR
DB
MS
AB
AP
E
ng
ine
J2E
E
En
gin
e
AB
AP
: A
dva
nce
d B
usi
nes
s A
pp
licat
ion
Pro
gra
mm
ing
J2E
E:
Java
2 E
nte
rpri
se E
dit
ion
Inte
rnet
C
om
mu
nic
atio
nM
anag
er
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/17
SA
P W
eb
Appli
cati
on S
erv
er
Arc
hit
ec
ture
Internet
SAP
GUI
RFC
Client/Server
ICM
Dis
pat
cher
Gat
e-w
ay
RD
BM
S
Wo
rkP
roce
sses
DIAG
RFC
HTTPHTTPSSMTP
Inte
rnet
C
om
mu
nic
atio
nM
anag
er
RD
BM
S:
Rel
atio
nal
Dat
abas
e M
anag
emen
t S
yste
m
SA
P A
G20
03, S
AP
Web
AS
Prin
cipl
es, A
ghad
avoo
di/B
ecke
r /1
8
SA
P W
eb A
ppli
cati
on S
erv
er
Featu
res
Sta
nd
ard
Web
pro
toco
ls�
HT
TP
Ser
ver
and
Clie
nt
fun
ctio
nal
ity
�H
TT
PS
, Ser
ver
and
Clie
nt
Cer
tifi
cate
s (X
.509
), 1
28 b
it
encr
ypti
on
�W
ebD
AV
, SO
AP
, ...
�S
MT
P
Sta
nd
ard
Web
do
cum
ents
�H
TM
L
�X
ML
/ X
SL
T
Pag
e b
ased
Web
pro
gra
mm
ing
�B
usi
nes
s S
erve
r P
ages
(lik
e JS
P)
Inte
gra
ted
SA
P E
nvi
ron
men
t �
Usu
al S
AP
dev
elo
pm
ent
and
d
eplo
ymen
t in
fras
tru
ctu
re
�In
tern
atio
nal
izat
ion
�M
on
ito
rin
g a
nd
sys
tem
m
anag
emen
t
�U
ser
man
agem
ent,
au
tho
riza
tio
n c
on
cep
t
Co
mm
on
SA
P c
om
mu
nic
atio
n�
RF
C, B
AP
I, ID
OC
s, A
LE
, …
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/19
Com
munic
ati
on
in d
istr
ibu
ted
syste
ms
Co
mm
un
icat
ion
bet
wee
n p
roce
sses
is a
cen
tral
par
t o
f ea
ch
dis
trib
ute
d s
yste
m. W
ith
ou
t co
mm
un
icat
ion
, on
ly a
co
llect
ion
o
f au
ton
om
ou
s p
roce
sses
wit
ho
ut
the
po
ssib
ility
to
co
op
erat
e ex
iste
d.
Pro
blem
in d
istr
ibut
ed s
yste
ms:
•
Nee
d fo
r an
eas
y m
odel
to c
omm
unic
ate
effic
ient
ly
So
luti
on
:•
Clie
nt/
Ser
ver
Mo
del
•R
emo
te F
un
ctio
n C
all (
RF
C v
s. R
PC
)
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/20
RFC
Vari
eti
es
�S
ynch
ron
ou
sR
FC
�A
syn
chro
no
us
RF
C
�W
ith
an
d w
ith
ou
t re
turn
ing
val
ues
�W
ith
an
d w
ith
ou
t ke
epin
g r
emo
te s
essi
on
�W
ith
an
d w
ith
ou
t se
rver
gro
up
sel
ectio
n a
nd
load
bal
anci
ng
�T
ran
sact
ion
al/Q
ueu
ed R
FC
(ex
actl
y o
nce
)
�E
xact
ly o
ne
exec
uti
on
�d
eter
min
edo
rder
wit
hQ
ueu
edR
FC
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/21
RFC
Featu
res
Cal
ling
Fu
nct
ion
s in
SA
P W
eb A
pp
licat
ion
ser
ver
rem
ote
ly
Pro
vid
ed S
ervi
ces
•N
ame
serv
er (
real
ized
as
an A
BA
P tr
ansa
ctio
n)
•E
xecu
tion
of r
emot
e fu
nctio
ns•
Mar
shal
ing/
Unm
arsh
alin
gof
par
amet
ers
•C
ompr
essi
on/U
ncom
pres
sion
of d
ata
•D
elta
Man
agem
ent f
or ta
bles
par
amet
er
•Lo
ad b
alan
cing
•he
uris
tic a
nd g
roup
bas
ed lo
ad d
istr
ibut
ion
at c
onne
ctio
n se
tup
•T
raci
ng
•Lo
ggin
g of
run
time
beha
viou
r an
d er
ror
situ
atio
n•
Deb
uggi
ng
•A
naly
zing
the
exec
utio
n of
the
rem
ote
func
tion
•S
tatis
tics
•E
valu
atio
n of
func
tion
proc
essi
ng ti
me
•S
ecur
ity
•A
uthe
ntic
atio
n, A
utho
rizat
ion
and
Aud
iting
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/22
Rem
ote
Functi
on C
all (
RF
C)
: N
am
e S
erv
er
Tra
nsa
ctio
n f
or
Mai
nte
nan
ce o
f R
FC
des
tin
atio
ns
•C
on
nec
tio
n
Par
amet
er
•h
ost
•P
ort
•P
roto
col
•S
ecu
rity
•L
og
on
p
roce
du
re
•L
og
on
dat
a
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/23
RE
PO
RT
SM
ILY
.
...
CALL FUNCTION FunctionName
IMPORTING ...
EXPORTING ...
TABLES ...
EXCEPTIONS
...
...
WRITE: ':-)'.
...
DESTINATION Target
IMPORTING ...
EXPORTING ...
TABLES ...
EXCEPTIONS
COMMUNICATION_FAILURE = 1
SYSTEM_FAILURE = 2
...
Des
tin
atio
n T
arg
et
FUNCTION FunctionName.
…
ENDFUNCTION.
111 222 333
Dis
trib
uti
on T
ranspare
ncy:
Sync.
RFC
Hid
e th
e co
mp
lexi
ty o
f a
dis
trib
ute
d s
yste
mfo
r ea
sier
use
of
dis
trib
ute
d s
yste
m s
oft
war
e
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/24
Para
llelisati
on
wit
hR
FC
PROGRAM SMILY.
...
...
... S
AP
Sys
tem
Go
al:
Impr
oved
Per
form
ance
and
res
pons
etim
e
Ho
wto
:S
plit-
up o
f the
prog
ram
into
vario
usta
sks
Par
alle
l exe
cutio
nof
indi
vidu
alta
sks
Syn
chro
nisa
tion
of ta
sks
Pro
ble
ms:
•D
eter
min
atio
n of
siz
eof
indi
vidu
alta
sks
(Gra
nula
rity
prob
lem
)•
Load
-bal
anci
ng(a
void
over
load
)•
Dat
abas
e-ac
cess
(Tim
eout
)•
Syn
chro
nisa
tion
of ta
sks
(Onl
ine,
Bat
ch)
T4
T4
T4
Syncpoint
...
T1
T1
T1
T2
T2
T2
T3
T3
T3
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/25
Asynchro
nous
RFC
, w
itho
ut
Response
RE
PO
RT
SM
ILY
.
...
CALL FUNCTION FunctionName
DESTINATION Target
EXPORTING ...
TABLES ...
EXCEPTIONS
COMMUNICATION_FAILURE = 1
SYSTEM_FAILURE = 2
...
...
WRITE: ':-)'.
...
DESTINATION Target
STARTING NEW TASK TaskName
EXPORTING ...
TABLES ...
EXCEPTIONS
COMMUNICATION_FAILURE = 1
SYSTEM_FAILURE = 2
...
Des
tin
atio
n T
arg
et
FUNCTION FunctionName.
…
ENDFUNCTION.
1a1a1a 1b1b1b 2a2a2a
2b2b2b
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/26
Tra
nsac
tional
RFC
RE
PO
RT
SM
ILY
.
...
CALL FUNCTION FunctionName
STARTING NEW TaskTaskName
DESTINATION Target
EXPORTING ...
TABLES ...
EXCEPTIONS
COMMUNICATION_FAILURE = 1
SYSTEM_FAILURE = 2
...
...
WRITE: ':-)'.
...
IN BACKGROUND TASK
DESTINATION Target
EXPORTING ...
TABLES ...
EXCEPTIONS
COMMUNICATION_FAILURE = 1
SYSTEM_FAILURE = 2
...
COMMIT WORK.
TR
FC
Sch
edu
ler
FUNCTION TRFC_etc.
…
ENDFUNCTION.
1a1a1a 1b1b1b 2a2a2a
2b2b2b
AR
FC
SS
TA
TE
AR
FC
SD
AT
A
TRFC-Administration
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/27
Cal
lfo
rF
un
ctio
n
Par
amet
er 1
•N
ext
com
esth
eL
og
-on
to
th
eta
rget
syst
em (
exch
ang
eo
f se
curi
tyd
ata)
. If
ever
yth
ing
was
co
rrec
t, a
cces
sis
gra
nte
d.
•T
hen
call
for
fun
ctio
nch
ecks
ifth
efu
nct
ion
isav
aila
ble
in t
he
targ
etsy
stem
-if
Yes
, th
ere
spec
tive
par
amet
ers
are
allo
cate
dvi
a th
eD
ata
Dic
tio
nar
y. T
he
nex
tst
epis
the
read
ing
of
par
amet
ers
and
exe
cuti
on
of
fun
ctio
nm
od
ule
s.
•R
esu
lts
of
exec
ute
dfu
nct
ion
mo
du
les
are
sen
tb
ack
to t
he
calli
ng
syst
em.
All
par
amet
ers
are
read
in r
ever
seo
rder
.
A c
alls
end
sa
con
tain
ero
f d
esti
nat
ion
info
rmat
ion
to t
he
targ
etsy
stem
. T
he
call
chec
ksif
the
targ
etw
as c
orr
ect
and
tra
nsm
its
the
resp
ecti
ved
ata.
Des
tin
atio
nin
foS
ecu
rity
dat
a
Par
amet
er f
or
des
tin
atio
nP
aram
eter
fo
rse
curi
tyd
ata
Par
amet
er x
. . .
. . .
RFC
Seri
alizati
on
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/28
Work
pro
cess
Types
Dis
pat
cher
Pro
cess
�M
ain
pro
cess
fo
r cr
eati
on
an
d a
dm
inis
trat
ion
of
pro
cess
es
Dia
log
Pro
cess
es�
Han
dle
dia
log
tas
ks, e
. g. G
UI,
RF
C, H
TT
P, H
TT
PS
, SM
TP
�R
estr
icte
d e
xecu
tio
n p
roce
ssin
g t
ime
Bat
ch P
roce
sses
�H
and
le b
ackg
rou
nd
tas
ks
En
qu
eue
Pro
cess
�S
AP
en
qu
eue
(lo
ckin
g)
infr
astr
uct
ure
�H
and
le lo
ck m
ech
anis
m f
or
tran
sact
ion
pro
cess
ing
Up
dat
e P
roce
sses
�
Han
lde
Dat
ebas
em
od
ific
atio
ns
Sp
oo
l Pro
cess
es�
Han
dle
pri
nti
ng
issu
es
Gat
eway
Pro
cess
an
d IC
M P
roce
ss�
Han
dle
RF
C a
nd
HT
TP
/HT
TP
S/S
MT
P c
om
mu
nic
atio
n
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/29
Ap
plic
atio
nC
lien
tA
pp
licat
ion
Pro
cess
Ad
min
istr
ati
on
Ho
wto
han
dle
mo
reu
sers
than
wo
rkp
roce
sses
wit
ho
ut
blo
ckin
ga
sin
gle
wo
rkp
roce
ss
Dis
pat
cher
Qu
eue
Dis
pat
cher
Qu
eue
Gat
eway
Ser
ver-
WP
•T
he
Req
ues
tis
qu
eued
. Th
efi
rst
avai
lab
leW
P in
th
ecl
ien
tsy
stem
tak
esth
ere
qu
est
to t
he
gat
eway
.
•O
nce
the
gat
eway
has
tak
eno
ver,
th
eC
lien
t-W
P is
free
agai
nto
tak
eth
en
ext
req
ues
tin
th
eq
ueu
e.
•T
he
gat
eway
sen
ds
the
req
ues
tto
th
eS
erve
r-Q
ueu
e. T
he
firs
tav
aila
ble
Ser
ver-
WP
exe
cute
sth
ere
qu
est
and
sen
ds
the
resu
ltto
th
eg
atew
ay.
•O
nce
the
gat
eway
has
tak
eno
ver
the
exec
ute
dre
qu
est,
th
eS
erve
r-W
P is
free
agai
nto
han
dle
th
en
ext
req
ues
t.
Clie
nt-
WP
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/30
Sessio
n I
nacti
vati
on
Wh
enW
hen
a a u
ser
use
rp
ause
sp
ause
s(e
.g.,
(e.g
., an
yan
yse
nd
ing
sen
din
gac
tio
nac
tio
n),
his
),
his
ses
sio
nse
ssio
nisis
inac
ivat
edin
aciv
ated
. . T
he
Th
ew
ork
wo
rkp
roce
ssp
roce
ssst
ore
sst
ore
sal
l al
l u
ser
use
rd
ata
dat
ain
in
th
eth
esh
ared
shar
edm
emo
rym
emo
ryan
d
and
se
tsse
tsp
oin
ters
po
inte
rsto
to
th
eth
em
emo
rym
emo
ryto
to
ef
fici
entl
yef
fici
entl
yre
trie
vere
trie
veth
eth
ed
ata
dat
ao
n
on
re
acti
vati
on
reac
tiva
tio
nw
ith
ou
tw
ith
ou
tco
pyi
ng
cop
yin
g..
SA
PU
ser
SA
PU
ser
SA
PU
ser
111222
333
SA
PU
ser
444
Co
ntr
ol
and
Wo
rkD
ata
for
Use
r 3
Dia
log
Wo
rkP
roce
ss1
Dia
log
Wo
rkP
roce
ss2
Co
ntr
ol
and
Wo
rkD
ata
for
Use
r 1
Sh
ared
Mem
ory
Co
ntr
ol
and
Wo
rkD
ata
for
Use
r 1
Scen
ario
Scen
ario
: #
Use
rs >
> #
: #
Use
rs >
> #
Pro
cess
esP
roce
sses
and
WP
~
and
WP
~ v
irtu
alvi
rtua
l CP
Us
CP
Us
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/31
Sessio
n R
e-A
cti
vati
on
Th
eT
he
dis
pat
cher
dis
pat
cher
assi
gn
sas
sig
ns
a a fr
eefr
eeW
P t
o
WP
to
use
ru
ser
1 an
d
1 an
d t
akes
take
sth
eth
est
ore
dst
ore
dd
ata
dat
afr
om
fro
mu
ser
use
r1
ou
t o
f 1
ou
t o
f th
eth
em
emo
rym
emo
ry(N
o
(No
co
pyi
ng
cop
yin
g)
and
)
and
co
nti
nu
esco
nti
nu
esw
ith
wit
hth
eth
eex
ecu
tio
nex
ecu
tio
no
f o
f th
eth
ere
qu
est
req
ues
t . . B
yB
yth
isth
ism
eth
od
met
ho
d, n
o
, no
u
ser
use
rco
nte
xtco
nte
xtisis
ove
rwri
tten
ove
rwri
tten
by
by
ano
ther
ano
ther
use
ru
ser .
. T
he
Th
eu
ser
use
rm
aym
ayb
eb
ese
rved
serv
edb
yb
yva
rio
us
vari
ou
sW
Ps
WP
s––
the
the
use
ru
ser
con
text
con
text
dat
ad
ata
will
w
ill a
lway
sal
way
sb
eb
eth
eth
esa
me
sam
e!!
SA
PU
ser
SA
P U
ser
SA
PU
ser
111222
333
SA
PU
ser
444
Con
trol
and
Wor
kD
ata
for
Use
r 3
Co
ntr
ol
and
Wo
rkD
ata
for
Use
r 1
Dia
log
Wo
rkP
roce
ss1
Dia
log
Wo
rkP
roce
ss2
Co
ntr
ol
and
Wo
rkD
ata
for
Use
r 1
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/32
You
should
have
learn
ed...
Mem
ory
man
agem
ent
in S
AP
is n
eces
sary
bec
ause
wo
rk
pro
cess
es s
erve
a la
rge
nu
mb
er o
f fr
on
t en
d u
sers
.
Eac
h w
ork
pro
cess
mu
st b
e ca
pab
le o
f st
ori
ng
th
e u
ser
con
text
fo
r ea
ch u
ser
and
load
ing
it a
gai
n w
hen
req
uir
ed.
Wo
rkp
roce
sses
use
ever
yp
ause
of
the
use
rto
exe
cute
wo
rkfo
ran
oth
eru
ser.
Th
eu
ser
con
text
isst
ore
din
th
esh
ared
mem
ory
and
ret
riev
edb
ya
free
WP
wh
enth
eu
ser
con
tin
ues
to w
ork
.
Th
est
ore
du
ser
con
text
dat
am
ust
no
tb
eco
pie
d! I
tis
retr
ieve
db
yth
eu
seo
f m
emo
ryp
oin
ters
. Th
ere
alw
ays
exis
tso
nly
on
ed
ata
set
per
use
rco
nte
xtat
an
yti
me.
Wo
rkp
roce
sses
, by
thei
rw
ork
ing
pri
nci
ple
, mu
stb
ese
enas
vi
rtu
alC
PU
s.
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/33
Inte
ract
ive
Inte
ract
ive
Dia
log
Dia
log
Tas
kT
ask
SAP
-D
B
SA
P
SA
P T
ransacti
on
Tra
nsacti
on
Concept
Concept
Upd
ate
Upd
ate
Tas
kT
ask
Dur
atio
nof
SA
PL
ocks
Update
Commit
Cre
ate
Upd
ate
Req
uest
, sta
rtU
pdat
e T
ask
Pos
t 1s
t E
nque
ueL
ock
Mak
eSA
P lo
cks
pers
iste
ntan
d pa
ss
lock
ow
ners
hip
toU
pdat
e T
ask
Rel
ease
all
inhe
rite
dSA
P lo
cks
Upd
ate
requ
est
pend
ing
Sing
le S
AP
LU
W,
star
ting
in D
ialo
g T
ask,
cont
inue
din
Upd
ate
Tas
k
Mul
tipl
e D
atab
ase
LU
Ws
Dur
atio
nof
da
taba
selo
cks
Dur
atio
nof
SA
P lo
cks
Min
imiz
eM
inim
ize
Database L
ock T
ime
Database L
ock T
ime
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/34
Perf
orm
ance
Ap
plic
atio
n S
erve
r
loca
ld
ata
WP
DB
Ser
ver
DB
cach
eD
B
WP
Ap
plic
atio
n S
erve
r
loca
ld
ata
WP
�D
atab
ase
clie
nts
<<
nu
mb
er o
f u
ser
sess
ion
s
�D
atab
ase
Lo
cks
on
ly o
ccu
r w
ith
in D
B-L
UW
s
�L
ifet
ime
of
Dat
abas
e lo
cks
is s
ho
rt
�L
ess
Lo
ck c
on
flic
ts a
nd
dea
dlo
cks
Bo
ttle
nec
k
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/35
SA
P W
eb A
S a
nd D
ata
base A
rchit
ectu
re
SA
P w
ork
pro
cess
SA
P w
ork
pro
cess
DB
wo
rk p
roce
ssD
B w
ork
pro
cess
Dat
abas
e c
ach
eD
atab
ase
Ser
vice
pro
cess
es
Op
erat
ing
sys
tem
Dat
abas
e fi
les
SA
P w
ork
pro
cess
DB
wo
rk p
roce
ss
LA
Nco
mm
un
icat
ion
DB
CP
Uco
nsu
mp
tio
n
DB
mem
ory
con
sum
pti
on
Ph
ysic
al I/
O
Tab
le B
uff
er
Ap
p S
erve
rC
PU
co
nsu
mp
tio
n
Ap
p S
erve
rm
emo
ryco
nsu
mp
tio
n
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/36
Mes
sag
e-S
erve
r
SA
P-
cen
tral
in
stan
ce w
ith
E
nq
ueu
e-S
erve
r
Work processes
Tas
k h
and
ler-
com
mu
nic
atio
n
Lo
ck t
able
-fu
nct
ion
alit
y
Enqueue-WP
Tas
k h
and
ler-
com
mu
nic
atio
n
En
qu
eue
AP
I
Ap
plic
atio
n
En
qu
eue
clie
nt-
laye
r
Work processes
Tas
k h
and
ler-
com
mu
nic
atio
n
Ap
plic
atio
n
Work processes
. . .
. .
SA
P In
stan
ces
En
qu
eue
AP
I
Lo
ck t
able
-fu
nct
ion
alit
y
En
qu
eue
AP
I
En
qu
eue
clie
nt-
laye
r
Ap
plic
atio
n
En
qu
eue
serv
er-
laye
r
SA
P-l
ock
ing
tab
le
S
AP
AG
2003
, SA
P W
eb A
S P
rinci
ples
, Agh
adav
oodi
/Bec
ker
/37
Questi
ons