SlideShare ist ein Scribd-Unternehmen logo
1 von 69
Object Oriented ABAP Hyderabad February 24-26th 2006 Instructor: Subhas Katikala.
Workshop Goals This workshop will enable you to:  ,[object Object],[object Object],[object Object],[object Object]
Course Contents Object Oriented Concepts Object Oriented Programming. Advantages of the Object-Oriented Approach ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Course Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Course Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Course Contents ,[object Object],[object Object],[object Object],[object Object],[object Object]
Object – Oriented Concepts What are Objects ?
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],OOPS
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Classes
[object Object],[object Object],[object Object],Classes
Components  in a class
Defining Local Classes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Classes
Attributes
Defining Local Classes Classes
Attributes, Types, Constants - Syntax
Attributes and Visibility
Instance attributes and Static attributes
Methods
Methods : Syntax
Methods and Visibility
Instance methods and Static methods
Instance methods and Static methods : Example
Constructor
Constructor : Example
Static Constructor : Implementation
Static Constructor : Call Examples
Creating Objects
Reference Variables
Creating Objects : Syntax
Assigning References
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Inheritance
Inheritance
Inheritance : Syntax
Relationships between super classes and subclasses Relationships between super classes and subclasses
Inheritance and Visibility
Inheritance and (Instance) constructor
Parameters and CREATE OBJECT
Redefining Methods in ABAP Objects
Redefining Methods : Example
Compatibility and Narrowing Cast
Principles of the Narrowing Cast
Static and Dynamic Types: Example
Static and Dynamic Types for References
Widening the Cast Static and Dynamic Types for References
Widening the cast
Polymorphism
Polymorphism
Polymorphism
[object Object],Interface
Defining and Implementing Interface
Working with Interface components
Interface References Narrowing casting
[object Object],[object Object],Interface
Interface references widening cast
[object Object],[object Object],Interface
[object Object],Using several Interface
Polymorphism and Interface
[object Object],[object Object],[object Object],[object Object],[object Object],Events
Events Overview
Triggering and handling Events : Overview
Defining and Triggering Events
Handling and Registering Events
Handling Events
Registering for an Event : Syntax
Deregistration
Registration/Deregistration : Handler Table
Event handling : Characteristics
Events and Visibility

Weitere ähnliche Inhalte

Was ist angesagt?

SAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechSAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechVikram P Madduri
 
ABAP Object oriented concepts
ABAP Object oriented conceptsABAP Object oriented concepts
ABAP Object oriented conceptsDharmeshKumar49
 
SAP ODATA Overview & Guidelines
SAP ODATA Overview & GuidelinesSAP ODATA Overview & Guidelines
SAP ODATA Overview & GuidelinesAshish Saxena
 
User exit training
User exit trainingUser exit training
User exit trainingJen Ringel
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.docKranthi Kumar
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exitsKranthi Kumar
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed NotesAkash Bhavsar
 
Sap abap modularization interview questions
Sap abap modularization interview questionsSap abap modularization interview questions
Sap abap modularization interview questionsPradipta Mohanty
 
abap list viewer (alv)
abap list viewer (alv)abap list viewer (alv)
abap list viewer (alv)Kranthi Kumar
 
User exits
User exitsUser exits
User exitsanilkv29
 
Enhancement framework the new way to enhance your abap systems
Enhancement framework   the new way to enhance your abap systemsEnhancement framework   the new way to enhance your abap systems
Enhancement framework the new way to enhance your abap systemsKranthi Kumar
 

Was ist angesagt? (20)

SAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechSAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH Softech
 
ABAP Object oriented concepts
ABAP Object oriented conceptsABAP Object oriented concepts
ABAP Object oriented concepts
 
Field symbols
Field symbolsField symbols
Field symbols
 
SAP ODATA Overview & Guidelines
SAP ODATA Overview & GuidelinesSAP ODATA Overview & Guidelines
SAP ODATA Overview & Guidelines
 
Badis
Badis Badis
Badis
 
User exit training
User exit trainingUser exit training
User exit training
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
 
Module pool programming
Module pool programmingModule pool programming
Module pool programming
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
 
SAP Smart forms
SAP Smart formsSAP Smart forms
SAP Smart forms
 
Alv theory
Alv theoryAlv theory
Alv theory
 
SAP Adobe forms
SAP Adobe formsSAP Adobe forms
SAP Adobe forms
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
 
Sap abap
Sap abapSap abap
Sap abap
 
Sap abap modularization interview questions
Sap abap modularization interview questionsSap abap modularization interview questions
Sap abap modularization interview questions
 
abap list viewer (alv)
abap list viewer (alv)abap list viewer (alv)
abap list viewer (alv)
 
User exits
User exitsUser exits
User exits
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Enhancement framework the new way to enhance your abap systems
Enhancement framework   the new way to enhance your abap systemsEnhancement framework   the new way to enhance your abap systems
Enhancement framework the new way to enhance your abap systems
 

Ähnlich wie Oo abap-sap-1206973306636228-5

Ähnlich wie Oo abap-sap-1206973306636228-5 (20)

Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .Net
 
Classes2
Classes2Classes2
Classes2
 
Objectorientedprogrammingmodel1
Objectorientedprogrammingmodel1Objectorientedprogrammingmodel1
Objectorientedprogrammingmodel1
 
Opps
OppsOpps
Opps
 
Android Training (Java Review)
Android Training (Java Review)Android Training (Java Review)
Android Training (Java Review)
 
C# interview
C# interviewC# interview
C# interview
 
C# program structure
C# program structureC# program structure
C# program structure
 
Learn C# Programming - Classes & Inheritance
Learn C# Programming - Classes & InheritanceLearn C# Programming - Classes & Inheritance
Learn C# Programming - Classes & Inheritance
 
Evolution of c# - by K.Jegan
Evolution of c# - by K.JeganEvolution of c# - by K.Jegan
Evolution of c# - by K.Jegan
 
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
 
VB.net
VB.netVB.net
VB.net
 
Spring from a to Z
Spring from  a to ZSpring from  a to Z
Spring from a to Z
 
Csci360 20 (1)
Csci360 20 (1)Csci360 20 (1)
Csci360 20 (1)
 
Csci360 20
Csci360 20Csci360 20
Csci360 20
 
Chap11
Chap11Chap11
Chap11
 
Unit 3 Java
Unit 3 JavaUnit 3 Java
Unit 3 Java
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Advance oops concepts
Advance oops conceptsAdvance oops concepts
Advance oops concepts
 
Java 06
Java 06Java 06
Java 06
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
 

Oo abap-sap-1206973306636228-5