H A 4 0 0 A B A P P r o g r a m m in g f o r S A P H A N A S A P
C o u r s e O u t l i n e C C P P
o u rs o u rs u b lic u b lic
e V e e D u a t io n a t io n
r s io n r a t io D a t T im
: 0 8 n : 3 D a y ( s ) e : 2 0 1 4 e :
H A N A
C o p y r i g h t C o p y rig h t ©
N o th e s o le th e p r i o
S A P A G . A l l r i g h t s r e s e r v e d .
p a rt o f th is p e x p re ss p e rm ly fo r y o u r u e x p re ss p e rm r n o t i c e .
u b is s e is
lic a tio n s io n o f , th is p u s io n o f
m a y S A P b lic a S A P
b e re p ro d u c e d o r A G . A d d itio n a lly tio n a n d its c o n t e A G . T h e in fo rm a
S o m e s o f tw a re p r o d u c ts m a rk e te d b y S A P A G c o m p o n e n t s o f o t h e r s o f t w a r e v e n d o r s .
tra n th is n ts m tio n
s m itte d p u b lic a y n o t c o n ta in
in a tio b e e d
a n n re h e
y fo a n d n te d re in
rm o r fo r a n its c o n te n ts , tra n s fe rre d m a y b e c h a
y p u rp o s e a re p ro v id o r s o ld w n g e d w ith
w i t h o u t e d i t h o u t o u t
a n d i t s d i s t r i b u t o r s c o n t a i n p r o p r i e t a r y s o f t w a r e
T r a d e m a r k s •
M ic ro s o ft® , W IN D O W S ® , N T ® , E X C E L ® , W o rd ® , P o w e rP o in t® r e g i s t e r e d t r a d e m a r k s o f M i c r o s o f t C o r p o r a t i o n .
•
I B M ® , D B 2 ® , O S / 2 ® , D B 2 /6 0 0 0 ® , P a r a l l e l S y s p le x ® , M V S / E S A ® , R S / 6 0 0 0 ® , A I X ® , S / 3 9 0 ® , A S / 4 0 0 ® , O S / 3 9 0 ® , a n d O S / 4 0 0 ® a r e r e g i s t e r e d t r a d e m a r k s o f I B M C o r p o r a t i o n .
•
O R A C L E ®
•
IN F O R M IX ® -O n L in e fo r S A P a n d IN F O R M IX ® t r a d e m a r k s o f I n f o r m i x S o f t w a r e I n c o r p o r a t e d .
•
U N I X ® , X /O p e n ® , O S F /1 ® , a n d M o tif ®
•
C i t r i x ® , t h e C i t r i x l o g o , I C A ® , P r o g r a m N e i g h b o r h o o d ® , M e t a F r a m e ® , W i n F r a m e ® , V i d e o F r a m e ® , M u l t i W i n ® a n d o t h e r C i t r i x p r o d u c t n a m e s r e f e r e n c e d h e r e i n a r e t r a d e m a r k s o f C i t r i x S y s t e m s , I n c .
•
H T M L , D H T M L , X M L , X H T M L a r e t r a d e m a r k s o r r e g is t e r e d t r a d e m a r k s o f W 3 C ® , W o r l d W i d e W e b C o n s o r t i u m , M a s s a c h u s e t t s I n s t i t u t e o f T e c h n o l o g y .
•
J A V A ®
•
J A V A S C R I P T ® i s a r e g i s t e r e d t r a d e m a r k o f S u n M i c r o s y s t e m s , I n c . , u s e d u n d e r l i c e n s e f o r t e c h n o l o g y i n v e n t e d a n d i m p l e m e n t e d b y N e t s c a p e .
•
S A P , E a rly a re tr a ll o v th e ir
is a r e g is te r e d tr a d e m a r k o f O R A C L E
a n d S Q L
S e rv e r®
a r e
C o r p o r a t i o n . D y n a m ic S e rv e rT M
a r e r e g i s t e r e d
a r e r e g is t e r e d t r a d e m a r k s o f t h e O p e n G r o u p .
i s a r e g i s t e r e d t r a d e m a r k o f S u n M i c r o s y s t e m s , I n c .
S A P L W a tc h a d e m a e r th e re s p e c
o g o , R /2 , R IV A , R , B A P I, S A P P H IR rk s o r re g is te re d tr w o r ld . A ll o th e r p t i v e c o m p a n i e s .
/3 , S E , M a d e m ro d u
A P A a n a g a rk s c ts m
rc e m o f e n
h iv e L i e n t C o S A P A tio n e d
n k , S A c k p it, G in G a re tra
P B u sin e s m y S A P .c o e rm a n y a d e m a rk s o
s W m n d r r
o rk o L o g o a in s e v e e g i s te r e
w , W n d m ra l o d tra
e b y S th e d e
F lo w A P .c r c o u m a rk
, S A P o m n t r i e s s o f
D i s c l a i m e r T D W P I C I K P S
H E S E I S C L A IT H O A R T IC N F O R M O N T A N D IR E I N D W R O F IT O F T W
M A T E R IA L S A R E P R O V I M S A N Y A N D A L L W U T L IM IT A T IO N W A R R U L A R P U R P O S E , W IT H A T IO N , T E X T , G R A P H IN E D H E R E IN . IN N O E C T , S P E C I A L , IN C ID E N H A T S O E V E R , IN C L U D S , W H IC H M A Y R E S U L A R E C O M P O N E N T S .
I D E D B Y S A P O N A N " A S IS A R R A N T IE S , E X P R E S S O R A A N T IE S O F M E R C H A N T A B I R E S P E C T T O T H E S E M A T E I C S , L IN K S , O R A N Y O T H E R V E N T S H A L L S A P B E L IA B T A L , C O N S E Q U E N T IA L , O R IN G W IT H O U T L IM IT A T IO N T F R O M T H E U S E O F T H E S E
g 2 0 1 4 7 1 1 3 5 1 3
" B P P L IT R IA M L E P U L O M
A S IS , L IE D Y A N L S A A T E R F O R N IT IV S T R A T E R
A N D S A P E X P R E S S L Y , IN C L U D I N G D F I T N E S S F O R A N D T H E S E R V I C E , I A L S A N D P R O D U C T S A N Y D I R E C T , E D A M A G E S O F A N Y E V E N U E S O R L O S T IA L S O R I N C L U D E D
H A 4 0 0
C o n te n ts
C o n t e n t s C o u r s e O v e r v i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v C o u r s e G o a ls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C o u r s e O b je c t iv e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
v v
U n i t 1 : I n t r o d u c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 S In In In
A P tro tro tro
H A d u c d u c d u c
N A t io n t io n t io n
B a to to to
s ic S A A B th e
s a n P H A P E P
d T e A N A D e v M S
c h S e lo a m
n ic tu d p m p le
a l io e n A
C o ... t T p p
n c e p ts ........ o o ls ( A lic a t io n
.... ..... D T ) ....
.. .. . ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
.. .. .. ..
. . . .
1 1 1 2
U n i t 2 : T a k i n g A B A P t o S A P H A N A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 S P G P
A P H re p a u id e e r fo r
A N A a r in g fo r d P e rfo m a n c e
s S S A rm R u
e c o n P H A a n c e le s a
d a ry D a ta b N A .. .. ... . A n a ly s is . . . n d G u i d e lin
a s e .. .. .. .. e s
U n it 3 : C o d e -to - D a ta w ith S A P H A N A C A N W C W C
la s s ic a B A P D a tiv e S o r k in g o n s u m o r k in g a llin g S
l O p e a ta b a Q L S w it h in g S W ith A P H
– A ... .. .. .. . fo r S
c c e ... . . .. . A P
s s .. . . .. H
v ia . ... . .. .. . A N A
O p .. .. . .. . ...
e n ... . .. ...
S Q ... . .. .. ....
L . . ... .. .. ....
........ .. ... ... .. .. .. .. ........
.. .. .. ..
... ... .. . ...
a s S e c o n d a r y D a t a b a s e . . . . . . . . . . . . 5
n S Q L a n d I t s L im it a t io n s . . . . . . . . s e C o n n e c t iv it y ( A D B C ) . . . . . . . . . . y n ta x . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. V ie w s in S A P H A N A S t u d io . . . . . . A P H A N A V ie w s v ia N a t iv e S Q L D a t a b a s e P r o c e d u r e s in S A P H A A N A P r o c e d u r e s in A B A P . . . . . . .
.... .... .. .. .... .... N A ....
. . . .
......... ......... . .. .. .. .. ......... .......... S tu d io . ..........
.... .... .. .. .... .... .... ....
.... .... .. .. .... .... .... ....
.... .... .. .. .... .... .... ....
.... .... .. .. .... .... .... ....
.. .. .. .. .. .. ..
U n i t 4 : O p t im iz in g A B A P O n P r im a r y D a t a b a s e S A P H A N A . . . . . . . . . . . . . . . . N e w O p e n S Q L . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . C o r e D a t a S e r v ic e s in A B A P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A s s o c i a t i o n s i n C o r e D a t a S e r v i c e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
U n it 5 : U s in g A B A P -m a n a g e d D a t a b a s e P r o c e d u r e s . .. . .. . . .. . . .. . .. . . .. . .. A B A P - M a n a g e d D a t a b a s e P r o c e d u r e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D e b u g g in g A B A P - m a n a g e d D a t a b a s e P r o c e d u r e s . . . . . . . . . . . . . . . . . . . . . . . . . . .
U n it 6 : S A P H A N A
P r o x y O b je c ts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A c c e s s i n g S A P H A N A V i e w s v i a A B A P D i c t i o n a r y E x t e r n a l V i e w s . . . . . . . . . T r a n s p o r t o f S A P H A N A O b je c t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 0 1 4
©
S A P
3 3 3 4
A G . A ll r ig h ts r e s e r v e d .
5 5 5 6 6 6 6
7 7 7 7
8 8 8
9 9 9
i i i
H A 4 0 0
C o n te n ts
C a l l i n g S A P H A N A P r o c e d u r e s v ia A B A P D a t a b a s e P r o c e d u r e P r o x i e s . . 1 0
U n i t 7 : A d v a n c e d T o p i c s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 U s i n g S A P H A N A F u l l T e x t S e a r c h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 A B A P L i s t V i e w e r ( A L V ) w i t h I n t e g r a t e d A c c e s s t o S A P H A N A . . . . . . . . . . . . . 1 1
U n i t 8 : C a s e S t u d y : O p t i m i z e a R e p o r t o n F l i g h t C u s t o m e r R e v e n u e . . . . 1 2 C r e a t i n g a n A n a l y t i c V i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2
U n i t 9 : A p p e n d i x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 A d d i t i o n a l A B A P L a n g u a g e E n h a n c e m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3
2 0 1 4
©
S A P
A G . A ll r ig h ts r e s e r v e d .
i v
H A 4 0 0
C o u rs e
C o u r s e
O
O v e r v ie w
T h i s c o u r s e i s i n t e n d e d f o r t h e f o l l o w i n g a u d i e n c e s : D e v e l o p e r s a n d d e v e l o p m e n t c o n s u l t a n t s w h o n e e d t o w r i t e o r r e v i e w p e r f o r m a n c e - o p t i m i z e d A B A P c o d e f o r S A P H A N A .
C o u r s e P r e r e q u i s i t e s R e q u ir e d
K n o w le d g e
•
H A 1 0 0 H A N A
•
B C 4 0 0 A B A P W o r k b e n c h F u n d a m e n t a l s
•
B C 4 0 1 A B A P O b je c ts
•
E x p e r i e n c e i n A B A P P r o g r a m i n g ( p r o c e d u r a l a n d o b je c t o r i e n t e d )
•
O p e n S Q L d e t a i l s ( j o i n s , v i e w s , a g g r e g a t i o n s )
R e c o m m e n d e d •
H A 1 5 0 S Q L
O v e r v ie w
K n o w le d g e B a s ic s f o r S A P H A N A
C o u r s e G o a ls T h i s c o u r s e w i l l p r e p a r e t h e p a r t i c i p a n t t o : •
D e v e l o p a n d o p ti m i z e A B A P a p p l i c a t i o n s t h a t a c c e s s d a t a s t o r e d i n t h e S A P H A N A D a t a b a s e
C o u r s e O b j e c t i v e s A f t e r c o m p l e t i n g t h i s c o u r s e , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
U n d e r s t a n d t h e t e c h n i c a l c o n c e p t s o f S A P H A N A
•
U n d e rs ta n d h o w
•
D e s c r i b e t h e u s e o f a n a l y s i s t o o l s f o r p e r f o r m a n c e o p t i m i z a t i o n ( R u n t i m e A n a l y s i s , C o d e I n s p e c t o r , S Q L T r a c e , S Q L P e r f o r m a n c e T u n i n g W o r k l i s t )
•
U n d e r s t a n d t h e S Q L p e r f o r m a n c e r u l e s o f A B A P f o r S A P H A N A
•
A c c e s s S A P H A N A C o n n e c t i v i t y )
•
U s e e n h a n c e d O p e n S Q L
•
U s e C o r e D a t a S e r v ic e s i n A B A P t o d e n e a d v a n c e d v ie w s
•
C a ll S A P H A N A
•
C o n s u m e S A P H A N A
2 0 1 4
t o o p ti m i z e c l a s s i c A B A P f o r S A P H A N A
fro m
A B A P u s in g n a tiv e S Q L a n d A D B C
( A B A P D a ta b a s e
s t o r e d p r o c e d u r e s i n A B A P a n d e m b e d s t o r e d p r o c e d u r e s i n A B A P v ie w s in A B A P
©
S A P
v e r v ie w
T a r g e t A u d i e n c e •
A G . A ll r ig h ts r e s e r v e d .
v
H A 4 0 0
•
2 0 1 4
C o u rs e
C r e a te a s im p le S A P H A N A
O v e r v ie w
v ie w
©
S A P
A G . A ll r ig h ts r e s e r v e d .
v i
H A 4 0 0
C o u rs e
O u tlin e
U n it 1 I n t r o d u c t i o n U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h t h e f o l l o w i n g t o p i c s : •
S A P H A N A
b a s ic s
•
S A P H A N A
t e c h n i c a l c o n c e p t s
•
In tro d u c tio n to S A P H A N A
•
I n tr o d u c t i o n t o A B A P D e v e l o p m e n t T o o ls
L e s s o n : S A P
S tu d i o
H A N A
B a s i c s a n d T e c h n ic a l C o n c e p t s
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e s c rib e S A P H A N A
g o a l s , t e c h n i c a l i n n o v a t i o n s a n d c h a l l e n g e s
•
U n d e r s t a n d t h e f u n d a m e n t a l t e c h n i c a l c o n c e p t s o f S A P H A N A
•
E x p la in th e S A P H A N A
•
D e t e r m i n e i f H A N A ’ s r o w s t o r e o r c o l u m n s t o r e i s u s e d f o r a n A B A P t r a n s p a r e n t t a b l e , a n d w h i c h i n d i c e s a r e u s e d o n H A N A
a n d A B A P e v o lu t i o n , a r c h i t e c t u r e , a n d d i r e c t i o n
L e s s o n : In tr o d u c tio n
to S A P
H A N A
S t u d i o
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
E x p la in th e c e n tr a l f u n c tio n s o f H A N A
•
S w itc h b e tw e e n d iff e re n t p e rs p e c tiv e s in th e S A P H A N A
•
S e t u p a c o n n e c tio n to a S A P
•
U n d e rs ta n d s c h e m a ta a n d ta b le s in S A P H A N A
S t u d io
•
A n a ly z e th e d e n itio n o f t a b le s in S A P H A N A
S t u d i o
H A N A
S t u d i o S t u d io
d a t a b a s e
L e s s o n : I n t r o d u c t i o n t o A B A P D e v e lo p m e n t T o o l s ( A D T ) L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
U s e t h e A B A P D e v e l o p m e n t T o o l s i n E c l i p s e
©
S A P
A G . A ll r ig h ts r e s e r v e d .
1
H A 4 0 0
C o u rs e
L e s s o n : In t r o d u c tio n to th e E P M
O u tlin e
S a m p l e A p p l i c a t i o n
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o :
2 0 1 4
•
D e s c rib e th e E n te rp ris e P r o c u re m e n t M
•
D e s c r i b e t h e O p e n I t e m A n a l y t i c s s a m p l e a p p li c a t i o n s a n d w h i c h c o m p u t a t i o n s i t i n v o l v e s
©
S A P
o d e l b u s i n e s s e x a m p l e
A G . A ll r ig h ts r e s e r v e d .
2
H A 4 0 0
C o u rs e
O u tlin e
U n it 2 T a k in g A B A P
to S A P
H A N A
U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h t h e f o l l o w i n g t o p i c s : •
A c c e s s th e S A P H A N A
D a t a b a s e u s i n g O p e n S Q L a n d a s e c o n d a r y d a t a b a s e c o n n e c t i o n
•
O p tim iz e O p e n S Q L a c c e s s t o S A P H A N A
•
P e r f o r m a n c e r u l e s a n d g u i d e l i n e s f o r S A P H A N A
L e s s o n : S A P H A N A a s S e c o n d a r y D a t a b a s e – A c c e s s v ia O p e n S Q L L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e s c rib e h o w to a c c e s s th e S A P H A N A a n d a s e c o n d a r y d a t a b a s e c o n n e c t i o n
L e s s o n : P r e p a r in g
fo r S A P
D a t a b a s e b y u s i n g O p e n S Q L
H A N A
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
U s e C o d e I n s p e c t o r ( S C I ) a n d A B A P T e s t C o c k p i t ( A T C ) t o l o c a t e p o t e n t i a l f u n c t i o n a l a n d p e r f o r m a n c e i s s u e s .
•
U s e t h e A B A P T r a c e ( S A T ) a n d t h e A B A P P r o l i n g p e r s p e c t i v e t o m e a s u r e a n d c o m p a r e r u n t i m e c o n s u m p t i o n
L e s s o n : G u id e d
P e r f o r m a n c e A n a l y s is
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o :
2 0 1 4
•
U s e t h e S Q L M o n it o r ( S Q L M ) t o i d e n t i f y m o s t i m p o r t a n t d a t a b a s e a c c e s s
•
U s e th e P e r f o r m a n c e T u n in g W o rk lis t ( S W d y n a m i c p e r f o r m a n c e a n a l y s i s r e s u l t s
•
U s e S Q L T r a c e ( S T 0 5 ) f o r i n d e p t h a n a l y s i s o f d a t a b a s e a c c e s s e s
©
S A P
L T ) t o c o m b i n e s t a t i c a n d
A G . A ll r ig h ts r e s e r v e d .
3
H A 4 0 0
C o u rs e
O u tlin e
L e s s o n : P e r f o r m a n c e R u l e s a n d G u i d e l i n e s f o r S A P H A N A L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
U n d e r s t a n d t h e p e r f o r m a n c e r u l e s a n d g u i d e l i n e s f o r A B A P o n S A P H A N A
©
S A P
A G . A ll r ig h ts r e s e r v e d .
4
H A 4 0 0
C o u rs e
O u tlin e
U n it 3 C o d e -to -D a ta w ith S A P H A N A
a s S e c o n d a r y D a t a b a s e
U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h t h e f o l l o w i n g t o p i c s : •
O p tim iz in g A B A P a p p lic a tio n s u s in g S A P H A N A
a s a s e c o n d a r y d a t a b a s e
•
A B A P D a t a b a s e C o n n e c t i v i t y ( A D B C )
•
N a tiv e S Q L S y n ta x
•
F in d in g a n d a n a ly z in g v ie w s in S A P H A N A
•
D is tin g u is h in g f e a tu r e s o f d if f e r e n t ty p e s o f S A P H A N A
•
C o n s u m in g S A P H A N A
•
W o r k in g w i t h d a t a b a s e p r o c e d u r e s s t o r e d o n S A P H A N A
•
C o n s u m in g S A P H A N A
S t u d io v i e w s
v ie w s in a s e c o n d a ry S A P H A N A
d a t a b a s e
d a ta b a s e p ro c e d u re s in a s e c o n d a ry S A P H A N A
d a t a b a s e
L e s s o n : C l a s s i c a l O p e n S Q L a n d I t s L i m i t a t i o n s L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
E x p la in O p e n S Q L
•
K n o w
i n t h e c o n t e x t o f S A P H A N A
t h e l i m i t a t i o n s o f c l a s s i c a l O p e n S Q L
L e s s o n : A B A P
D a t a b a s e C o n n e c t i v it y ( A D B C )
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
U n d e r s t a n d A B A P D a t a b a s e C o n n e c t i v i t y ( A D B C )
•
U s e A D B C
to e x e c u te n a tiv e S Q L
L e s s o n : N a tiv e S Q L
s t a t e m e n t s
S y n t a x
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
U n d e r s t a n d t h e m a i n d i f f e r e n c e b e t w e e n n a t i v e S Q L S y n t a x a n d O p e n S Q L S y n t a x
©
S A P
A G . A ll r ig h ts r e s e r v e d .
5
H A 4 0 0
•
C o u rs e
W rite s y n ta c tic a lly c o rre c t N a tiv e S Q L
O u tlin e
S t a t e m e n t s
L e s s o n : W o r k in g w ith V ie w s in S A P
H A N A
S t u d io
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e s c r i b e d i f f e r e n t a p p r o a c h e s t o m o v i n g d a t a - i n t e n s i v e c a l c u l a t i o n s i n to a s e c o n d a r y S A P H A N A d a t a b a s e
•
S e a rc h fo r v ie w s in S A P
•
A n a ly z e th e D e n itio n o f S A P H A N A
•
D e s c rib e th e d iffe re n t T y p e s o f S A P H A N A
•
T e s t v ie w s w i t h t h e d a t a p r e v ie w
H A N A
L e s s o n : C o n s u m in g S A P
S tu d i o v i e w s
H A N A
v i e w s
V ie w s v ia N a t iv e S Q L
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
C o n s u m e H A N A
v ie w s in A B A P
L e s s o n : W o r k in g W i t h D a t a b a s e P r o c e d u r e s in S A P H A N A S t u d io L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
W o rk w ith d a ta b a s e p ro c e d u re s in S A P H A N A
L e s s o n : C a llin g S A P
H A N A
S t u d i o
P r o c e d u r e s in A B A P
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
C a ll S A P H A N A
p r o c e d u r e s in A B A P
©
S A P
A G . A ll r ig h ts r e s e r v e d .
6
H A 4 0 0
C o u rs e
O u tlin e
U n it 4 O p tim iz in g A B A P
O n P r i m a r y D a t a b a s e S A P H A N A
U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h t h e f o l l o w i n g t o p i c s : •
U s i n g e n h a n c e d O p e n S Q L t o m o v e c a l c u l a t i o n s t o t h e d a t a b a s e
•
D e n i n g a n d u s i n g a d v a n c e d v i e w s i n A B A P u s i n g C o r e D a t a S e r v i c e s
L e s s o n : N e w
O p e n
S Q L
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e s c r i b e c o d e - t o - d a t a a p p r o a c h e s p o s s i b l e w i t h A B A P 7 . 4 S P 0 5
•
U s e th e n e w
•
U s e e x p re s s io n s in O p e n S Q L
O p e n S Q L s y n t a x f o r s i m p l e S E L E C T s t a t e m e n t s S E L E C T
L e s s o n : C o r e D a ta S e r v ic e s in
s t a t e m e n t s
A B A P
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e n e d a t a b a s e v ie w s u s i n g C o r e D a t a S e r v ic e s ( C D S ) i n A B A P
•
U s e e x p re s s io n s , jo in s a n d u n io n s in C D S - b a s e d v ie w
•
U s e a g g re g a tio n a n d g ro u p in g in C D S - b a s e d v ie w
•
U s e O p e n S Q L
d e n i t i o n s
d e n i t i o n s
t o s e l e c t d a t a b a s e d o n C D S v i e w s
L e s s o n : A s s o c i a t i o n s i n C o r e D a t a S e r v i c e s L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
U s e a s s o c i a t i o n s i n C o r e D a t a S e r v i c e s
©
S A P
A G . A ll r ig h ts r e s e r v e d .
7
H A 4 0 0
C o u rs e
O u tlin e
U n it 5 U s i n g A B A P - m a n a g e d D a t a b a s e P r o c e d u r e s U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h y o u t h e f o l l o w i n g t o p i c s : •
D e v e lo p in g S A P H A N A
d a t a b a s e p r o c e d u r e s e m b e d d e d i n to A B A P c o d e
•
C a l l i n g s u c h A B A P - m a n a g e d d a t a b a s e p r o c e d u r e s
•
D e b u g g i n g A B A P - m a n a g e d d a t a b a s e p r o c e d u r e s
L e s s o n : A B A P - M a n a g e d D a t a b a s e P r o c e d u r e s L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
U n d e r s t a n d t h e b e n e t s o f u s i n g A B A P M a n a g e d D a t a b a s e P r o c e d u r e s
•
C r e a t e A B A P - m a n a g e d d a t a b a s e p r o c e d u r e s
•
C a l l A B A P - m a n a g e d d a t a b a s e p r o c e d u r e s i n A B A P
L e s s o n : D e b u g g i n g A B A P - m a n a g e d D a t a b a s e P r o c e d u r e s L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o :
2 0 1 4
•
D e s c r i b e t h e a u t h o r i z a t i o n s r e q u i r e d a n d u s e r a c c o u n t s i n v o l v e d t o d e b u g A B A P - m a n a g e d d a t a b a s e p r o c e d u r e s
•
D e b u g A B A P - m a n a g e d d a t a b a s e p r o c e d u r e s
©
S A P
A G . A ll r ig h ts r e s e r v e d .
8
H A 4 0 0
C o u rs e
O u tlin e
U n it 6 S A P
H A N A
P r o x y O b je c t s
U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h t h e f o l l o w i n g t o p i c s : •
W o r k in g w ith S A P H A N A c o n t e n t
p r o x y o b je c t s t o e a s e c o n s u m p ti o n o f e x is t i n g S A P H A N A
•
T r a n s p o r tin g e x is tin g S A P H A N A
c o n t e n t v i a a n A B A P s y s t e m
L e s s o n : A c c e s s in g S A P H A N A D i c t i o n a r y E x t e r n a l V i e w s
V ie w s v ia A B A P
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e s c r i b e t h e b o t t o m - u p a p p r o a c h e s t o t h e c o d e - t o - d a t a p a r a d i g m p o s s i b l e w i t h A B A P 7 . 4 S P 0 2
•
C r e a t e e x t e r n a l v i e w s i n t h e A B A P D i c t i o n a r y
•
E x p la in th e m a p p in g o f S A P H A N A
•
A d ju s t d a t a t y p e m a p p i n g s
•
S e le c t f ro m
a n e x te r n a l v ie w
d a t a t y p e s a n d A B A P D i c t i o n a r y t y p e s
w i t h O p e n S Q L
L e s s o n : T ra n s p o rt o f S A P
H A N A
O b je c t s
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o :
2 0 1 4
•
E x p la i n t h e u s e o f D e l i v e r y U n it s
•
C r e a t e d e l i v e r y u n i t s a n d a s s i g n p a c k a g e s
•
E x p la in th e u s a g e o f H A N A
•
C re a te H A N A
T r a n s p o r t C o n t a i n e r s
T r a n s p o r t C o n t a i n e r s a n d a s s i g n d e l i v e r y u n i t s
©
S A P
A G . A ll r ig h ts r e s e r v e d .
9
H A 4 0 0
C o u rs e
O u tlin e
L e s s o n : C a llin g S A P H A N A P r o c e d u r e s v ia A B A P D a t a b a s e P r o c e d u r e P r o x i e s L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
U s e d a t a b a s e p r o c e d u r e p r o x i e s i n A B A P .
©
S A P
A G . A ll r ig h ts r e s e r v e d .
1 0
H A 4 0 0
C o u rs e
O u tlin e
U n it 7 A d v a n c e d T o p i c s U n i t O v e r v i e w T h i s u n i t i s d e s i g n e d t o t e a c h y o u t h e f o l l o w i n g t o p i c s : •
U s in g S A P H A N A
f u z z y s e a r c h in A B A P
•
E n a b l e t y p e - a h e a d s e a r c h f o r i n p u t e l d s
•
S A P L i s t V i e w e r ( A L V ) w i t h i n te g r a t e d a c c e s s t o S A P H A N A
L e s s o n : U s in g S A P
H A N A
F u ll T e x t S e a r c h
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
D e s c r i b e w h e n f u z z y s e a r c h c a n b e u s e d
•
C o n g u r e a t a b le c o lu m n f o r f u z z y s e a r c h
•
W rite a S E L E C T
•
E n a b l e a n i n p u t e l d o n a n S A P G U I s c r e e n f o r t y p e - a h e a d w i t h f u z z y s e a r c h
s t a t e m e n t t h a t u s e s f u z z y s e a r c h
L e s s o n : A B A P L is t V ie w e r (A L V ) w ith A c c e s s t o S A P H A N A
I n t e g r a t e d
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o :
2 0 1 4
•
U n d e r s t a n d t h e b e n e t s o f S A P L i s t V i e w e r ( A L V ) o p t i m i z e d f o r H A N A
•
D e s c r ib e th e d if f e r e n c e s b e tw e e n A L V
•
D is p la y d a ta in A L V
•
U s e s e le c t o p tio n s in th e d a ta r e tr ie v a l o f A L V
•
S u p p l y v a l u e s f o r i n p u t p a r a m e t e r s o f e x t e r n a l v i e w
fo r H A N A
a n d c l a s s i c a l A L V
f o r H A N A
©
S A P
f o r H A N A
A G . A ll r ig h ts r e s e r v e d .
1 1
H A 4 0 0
C o u rs e
O u tlin e
U n it 8 C a s e S t u d y : O p t i m i z e a R e p o r t o n F l i g h t C u s t o m e r R e v e n u e U n i t O v e r v i e w T c c I V
h is u u s to m u rre n n a s e ie w e
n it is d e r re v c y c o n c o n d s r o p tim
e s ig n e d e n u e c a v e rs io n te p y o u iz e d fo
to g n b e a n d w ill r S A
iv e y o u o p tim iz a g g re g a r e p la c e P H A N
L e s s o n : C r e a tin g
a n e x a m p le o e d fo r S A P H tio n o n to th e t h e c la s s ic a l A .
a n
n h o w a c a lc u la tio n A N A . In a r s t s te p d a ta b a s e la y e r b y c r A L V G rid C o n tro l w
in te n s iv e y o u w ill e a tin g a n ith th e n
re p u a n e w
p o rt o sh d o a ly tic , A B A
n w n v ie P L
i g h t t h e w . i s t
A n a l y t i c V i e w
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o : •
2 0 1 4
C r e a t e a n A n a l y t i c v i e w
©
S A P
A G . A ll r ig h ts r e s e r v e d .
1 2
H A 4 0 0
C o u rs e
O u tlin e
U n it 9 A p p e n d i x U n i t O v e r v i e w T h i s u n i t c o n t a i n s a n o p t i o n a l l e s s o n a n d e x e r c i s e s . T h e y c o v e r A B A P l a n g u a g e e n h a n c e m e n t s t h a t a r e e s p e c i a l l y u s e f u l w h e n w o r k i n g w i t h n a t i v e S Q L c a l l s a n d A D B C .
L e s s o n : A d d itio n a l A B A P
L a n g u a g e E n h a n c e m e n t s
L e s s o n O b j e c t i v e s A f t e r c o m p l e t i n g t h i s l e s s o n , t h e p a r t i c i p a n t w i l l b e a b l e t o :
2 0 1 4
•
U s e i n li n e d a t a d e c l a r a t i o n s i n A B A P c o d e
•
U s e s t r i n g a n d t a b le e x p r e s s i o n s i n A B A P c o d e
©
S A P
A G . A ll r ig h ts r e s e r v e d .
1 3