abap programming for sap hana_course contents

20

Click here to load reader

Upload: tvvinodkumar

Post on 17-Feb-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 1/20

H A 4 0 0      A B A P P r o g r a m m i n g f o r S A P H A N A        

S A P H A N A          

C o u r s e O u t l i n e      C o u r s e V e r s i o n : 0 9      

C o u r s e D u r a t i o n : 3 D a y ( s )    

P u b l i c a t i o n D a t e : 2 0 1 5      

P u b l i c a t i o n T i m e :  

Page 2: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 2/20

C o p y r i g h t    

C o p y r i g h t © S A P S E . A l l r i g h t s r e s e r v e d .  

 N o p a r t o f t h i s p u b l i c a t i o n m a y b e r e p r o d u c e d o r t r a n s m i t t e d i n a n y f o r m o r f o r a n y p u r p o s e   

w i t h o u t t h e e x p r e s s p e r m i s s i o n o f S A P S E . T h e i n f o r m a t i o n c o n t a i n e d h e r e i n m a y b e c h a n g e d      

w i t h o u t p r i o r n o t i c e .  

S o m e s o f t w a r e p r o d u c t s m a r k e t e d b y S A P S E 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      

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 .  

T r a d e m a r k s      

• M i c r o s o f t ® , W I N D O W S ® , N T ® , E X C E L ® , W o r d ® , P o w e r P o i n t ® a n d S Q L S e r v e r ® 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 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 l e 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 ® i s a r e g i s t e r e d t r a d e m a r k o f O R A C L E C o r p o r a t i o n .  

• I N F O R M I X ® - O n L i n e f o r S A P a n d I N F O R M I X ® D y n a m i c S e r v e r T M 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 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 t i f ® 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 t h e O p e n G r o u p .  

• 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 i s 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 ® 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 .  

• 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 , S A P L o g o , R / 2 , R I V A , R / 3 , S A P A r c h i v e L i n k , S A P B u s i n e s s W o r k o w , W e b F l o w , S A P      

E a r l y W a t c h , B A P I , S A P P H I R E , M a n a g e m e n t C o c k p i t , m y S A P . c o m L o g o a n d m y S A P . c o m          

a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f S A P S E i n G e r m a n y a n d i n s e v e r a l o t h e r c o u n t r i e s    

a l l o v e r t h e w o r l d . A l l o t h e r p r o d u c t s m e n t i o n e d a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f      

t h e i r r e s p e c t i v e c o m p a n i e s .  

D i s c l a i m e r      

T H E S E M A T E R I A L S A R E P R O V I D E D B Y S A P O N A N " A S I S " B A S I S , A N D S A P E X P R E S S L Y        

D I S C L A I M S A N Y A N D A L L W A R R A N T I E S , E X P R E S S O R A P P L I E D , I N C L U D I N G        

W I T H O U T L I M I T A T I O N W A R R A N T I E S O F M E R C H A N T A B I L I T Y A N D F I T N E S S F O R A        

P A R T I C U L A R P U R P O S E , W I T H R E S P E C T T O T H E S E M A T E R I A L S A N D T H E S E R V I C E ,    I N F O R M A T I O N , T E X T , G R A P H I C S , L I N K S , O R A N Y O T H E R M A T E R I A L S A N D P R O D U C T S      

C O N T A I N E D H E R E I N . I N N O E V E N T S H A L L S A P B E L I A B L E F O R A N Y D I R E C T ,    

I N D I R E C T , S P E C I A L , I N C I D E N T A L , C O N S E Q U E N T I A L , O R P U N I T I V E D A M A G E S O F A N Y        

K I N D W H A T S O E V E R , I N C L U D I N G W I T H O U T L I M I T A T I O N L O S T R E V E N U E S O R L O S T        

P R O F I T S , W H I C H M A Y R E S U L T F R O M T H E U S E O F T H E S E M A T E R I A L S O R I N C L U D E D        

S O F T W A R E C O M P O N E N T S .  

g 2 0 1 5 2 1 7 1 0 3 6 2      

Page 3: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 3/20

H A 4 0 0 C o n t e n t s      

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 l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v      

C o u r s e O b j e c t i v e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v      

U n i t 1 : I n t r o d u c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1      

S A P H A N A B a s i c s a n d T e c h n i c a l C o n c e p t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1    

I n t r o d u c t i o n t o S A P H A N A S t u d i o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1    

I n t r 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 l s ( A D T ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1    

I n t r o d u c t i o n t o t h e E P M S a m p l e A p p l i c a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 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 i a O p e n S Q L . . . . . . . . . . . . . . 3      

P r e p a r i n g f o r S A P H A N A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3      

G u i d e d P e r f o r m a n c e A n a l y s i s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3      

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 . . . . . . . . . . . . . . . . . . . . . . . . . . . 4      

U n i t 3 : C o d e - t o - D a t a w i t h 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 . . . . . . . . . . . . 5      

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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5       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 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5   

N a t i v e S Q L S y n t a x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5      

W o r k i n g w i t h V i e w s i n S A P H A N A S t u d i o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6      

C o n s u m i n g S A P H A N A V i e w s v i a N a t i v e S Q L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6      

W o r k i n g W i t h D a t a b a s e P r o c e d u r e s i n S A P H A N A S t u d i o . . . . . . . . . . . . . . . . . . . 6      

C a l l i n g S A P H A N A P r o c e d u r e s i n A B A P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6      

U n i t 4 : C o d e - t o - D a t a w i t h A B A P 7 . 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7      

N e w O p e n S Q L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7      

C o r e D a t a S e r v i c e s i n A B A P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7      

 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7   

U n i t 5 : C o d e - t o - D a t a w i t h S A P H A N A a s P r i m a r y D a t a b a s e . . . . . . . . . . . . . . . . 8      

C o r e D a t a S e r v i c e s w i t h I n p u t P a r a m e t e r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8      

 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8   

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 . . . . . . . . . . . . . . . . . . . . . . . . . . . 8      

U n i t 6 : S A P H A N A P r o x y O b j e c t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9      

 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 . . . . . . . . . 9   

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     i i i  

Page 4: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 4/20

H A 4 0 0 C o n t e n t s      

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 i a 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 . . 9      

T r a n s p o r t o f S A P H A N A O b j e c t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9      

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 : A l t e r n a t i v e E x e r c i s e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3      

E x e r c i s e s B a s e d o n F l i g h t D a t a M o d e l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3      

U n i t 1 0 : A p p e n d i x : O t h e r N e w A B A P L a n g u a g e E l e m e n t s . . . . . . . . . . . . . . . . . 1 4      

 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 4   

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     i v   

Page 5: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 5/20

H A 4 0 0 C o u r s e O v e r v i e w          

C o u r s e O v e r v i e w            

T a r g e t A u d i e n c e      

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 i r e d K n o w l e d g e      

• H A 1 0 0 H A N A O v e r v i e w        

• 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 j e c t s    

• 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 j e 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 K n o w l e d g e      

• H A 1 5 0 S Q L B a s i c s f o r S A P H A N A        

C o u r s e G o a l s      

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 t i 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 r s t a n d h o w t o o p t i 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        

• 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 f r o m A B A P u s i n g n a t i v e S Q L a n d A D B C ( A B A P D a t a b a s e      

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 i c e s i n A B A P t o d e n e a d v a n c e d v i e w s    

• C a l l S A P H A N A 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      

• C o n s u m e S A P H A N A v i e w s i n A B A P      

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     v   

Page 6: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 6/20

H A 4 0 0 C o u r s e O v e r v i e w          

• C r e a t e a s i m p l e S A P H A N A v i e w        

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     v i  

Page 7: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 7/20

Page 8: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 8/20

H A 4 0 0 C o u r s e O u t l i n e      

L e s s o n : I n t r o d u c t i o n t o t h e E P M 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 :    

• D e s c r i b e t h e E n t e r p r i s e P r o c u r e m e n t M o d e l b u s i n e s s e x a m p l e      

• 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 l i 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    

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     2   

Page 9: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 9/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 2        T a k i n g A B A P t o 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 t h 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 t i m i z 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 i a 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 h o w t o a c c e s s t h e S A P H A N A D a t a b a s e b y 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      

L e s s o n : P r e p a r i n g 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 :    

• 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 i d e d P e r f o r m a n c e A n a l y s i 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 s e t h e S Q L M o n i t 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 t h e 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 ( S W L T ) t o c o m b i n e s t a t i c a n d      

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    

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     3   

Page 10: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 10/20

H A 4 0 0 C o u r s e O u t l i n 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 :    

• 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        

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     4   

Page 11: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 11/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 3        C o d e - t o - D a t a w i t h 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 t i m i z i n g A B A P a p p l i c a t i o n s u s i n 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 t i v e S Q L S y n t a x      

• F i n d i n g a n d a n a l y z i n g v i e w s i n S A P H A N A S t u d i o      

• D i s t i n g u i s h i n g f e a t u r e s o f d i f f e r e n t t y p e s o f S A P H A N A v i e w s    

• C o n s u m i n g S A P H A N A v i e w s i n 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      

• W o r k i n 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 i n 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 i n 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      

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 l a i n O p e n S Q L i n t h e c o n t e x t o f S A P H A N A        

• K n o w 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 i t 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 t o e x e c u t e n a t i v e S Q L s t a t e m e n t s    

L e s s o n : N a t i v e S Q L 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 :    

• 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      

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     5   

Page 12: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 12/20

H A 4 0 0 C o u r s e O u t l i n e      

• W r i t e s y n t a c t i c a l l y c o r r e c t N a t i v e S Q L S t a t e m e n t s    

L e s s o n : W o r k i n g w i t h V i e w s i n 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 :    

• 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 t o 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 r c h f o r v i e w s i n S A P H A N A S t u d i o      

• A n a l y z e t h e D e n i t i o n o f S A P H A N A v i e w s    

• D e s c r i b e t h e d i f f e r e n t T y p e s o f S A P H A N A v i e w s    

• T e s t v i e w s w i t h t h e d a t a p r e v i e w        

L e s s o n : C o n s u m i n g S A P H A N A V i e w s v i a N a t i v 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 i e w s i n A B A P      

L e s s o n : W o r k i n g W i t h D a t a b a s e P r o c e d u r e s      i n 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 :    

• W o r k w i t h d a t a b a s e p r o c e d u r e s i n S A P H A N A S t u d i o      

L e s s o n : C a l l i n g S A P H A N A P r o c e d u r e s i n 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 :    

• C a l l S A P H A N A p r o c e d u r e s i n A B A P      

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     6   

Page 13: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 13/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 4        C o d e - t o - D a t a w i t h A B A P 7 . 4      

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 t h e n e w 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    

• U s e e x p r e s s i o n s i n O p e n S Q L S E L E C T s t a t e m e n t s    

L e s s o n : C o r e D a t a S e r v i c e s i n 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 i e w s u s i n g C o r e D a t a S e r v i c e s ( C D S ) i n A B A P      

• U s e e x p r e s s i o n s , j o i n s , a g g r e g a t i o n s , g r o u p i n g a n d l t e r i n g i n C D S v i e w s    

• U s e i n u n i o n i n C D S v i e w s    

• U s e O p e n S Q L 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    

• E n h a n c e a C D S v i e w        

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 :    

• 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    

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     7   

Page 14: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 14/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 5        C o d e - t o - D a t a w i t h S A P H A N A a s P r i m 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 y o u t h e f o l l o w i n g t o p i c s :    

• D e n i n g v i e w s w i t h i n p u t p a r a m e t e r s u s i n g A B A P C o r e D a t a S e r v i c e s    • D e v e l o p i n 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 t o 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 : C o r e D a t a S e r v i c e s w i t h I n p u t P a r a m e t e r 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 n e C D S V i e w s i n A B A P w i t h s c a l a r i n p u t p a r a m e t e r s    

• U s e C D S V i e w s w i t h i n p u t p a r a m e t e r s i n o t h e r C D S v i e w s a n d i n O p e n S Q L        

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 :    

• 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    

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     8   

Page 15: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 15/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 6        S A P H A N A P r o x y O b j e 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 i n g w i t h S A P H A N A p r o x y o b j e c t s t o e a s e c o n s u m p t i o n o f e x i s t i n g S A P H A N A        

c o n t e n t    

• T r a n s p o r t i n g e x i s t i n 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 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      

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 l a i n t h e m a p p i n g o f S A P H A N A 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    • A d j u s t d a t a t y p e m a p p i n g s    

• S e l e c t f r o m a n e x t e r n a l v i e w w i t h O p e n S Q L        

L e s s o n : 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 i a 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 :    

• 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 .  

L e s s o n : T r a n s p o r t o f S A P H A N A O b j e 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 :    

• E x p l a i n t h e u s e o f D e l i v e r y U n i t 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 l a i n t h e u s a g e o f H A N A T r a n s p o r t C o n t a i n e r s    

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     9   

Page 16: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 16/20

Page 17: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 17/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 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 i n g S A P H A N A f u z z y s e a r c h i n 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 t e 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 i n g S A P H A N A F u l l 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 l e c o l u m n f o r f u z z y s e a r c h      

• W r i t e a S E L E C T 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      

• 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      

L e s s o n : 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        

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 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 i b e t h e d i f f e r e n c e s b e t w e e n A L V f o r H A N A a n d c l a s s i c a l A L V        

• D i s p l a y d a t a i n A L V f o r H A N A        

• U s e s e l e c t o p t i o n s i n t h e d a t a r e t r i e v a l o f A L V f o r H A N A        • 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        

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     1 1   

Page 18: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 18/20

H A 4 0 0 C o u r s e O u t l i n e      

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      

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 g i v e y o u a n e x a m p l e o n h o w a c a l c u l a t i o n i n t e n s i v e r e p o r t o n i g h t    

c u s t o m e r r e v e n u e c a n b e o p t i m i z e d f o r S A P H A N A . I n a r s t s t e p y o u w i l l p u s h d o w n t h e      

c u r r e n c y c o n v e r s i o n a n d a g g r e g a t i o n o n t o t h e d a t a b a s e l a y e r b y c r e a t i n g a n a n a l y t i c v i e w .  I n a s e c o n d s t e p y o u w i l l r e p l a c e t h e c l a s s i c a l A L V G r i d C o n t r o l w i t h t h e n e w , A B A P L i s t    

V i e w e r o p t i m i z e d f o r S A P H A N A .  

L e s s o n : C r e a t i n g a n 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 :    

• C r e a t e a n A n a l y t i c v i e w        

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     1 2   

Page 19: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 19/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 9        A p p e n d i x : A l t e r n a t i v e E x e r c i s e s      

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 a l t e r n a t i v e s e t o f e x e r c i s e s , b a s e d o n t h e F l i g h t d e m o m o d e l w e l l - k n o w n      

f r o m A B A P c o u r s e s .  

L e s s o n : E x e r c i s e s B a s e d o n F l i g h t D a t a M o d e 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 :    

• n / a      

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     1 3   

Page 20: ABAP Programming for SAP HANA_Course Contents

7/23/2019 ABAP Programming for SAP HANA_Course Contents

http://slidepdf.com/reader/full/abap-programming-for-sap-hanacourse-contents 20/20

H A 4 0 0 C o u r s e O u t l i n e      

U n i t 1 0        A p p e n d i x : O t h e r N e w A B A P L a n g u a g e      

E l e m e n t s      

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 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      

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 i n l i 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 l e e x p r e s s i o n s i n A B A P c o d e      

2 0 1 5 © S A P S E . A l l r i g h t s r e s e r v e d .     1 4