OO ABAP SAP

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

13 comments

Comments 1 - 10 of 13 previous next Post a comment

  • + priyank.dev priyank.dev 10 months ago
    hi pls send me a copy to priyank.dev@gmail.com.iam really impressed by your presentation and each and every details you sketched in so detail.
  • + guestcd46a347 guestcd46a347 2 years ago
    for more abap resources check
    http://sapdocs.info/tag/abap/
  • + deealimi deealimi 2 years ago
    Sorry, just notice that you can download these slide by clicking on ’download file’ on your right hand side and a screen will popup....
  • + deealimi deealimi 2 years ago
    They are not my slides to download. You’ll have to ask the author to send you a copy.
  • + guestaaef49 guestaaef49 2 years ago
    i am not able to doenload the file ,



    how to doen load file ple expline
  • + raysubrat raysubrat 2 years ago
    hi i like ur presentation. can i get a copy of this.?
  • + guest21aad8 guest21aad8 2 years ago
    hi i am subrat i like ur presentation on oops abap , so can i get a copy of this.
  • + deealimi deealimi 2 years ago
    I like your sides. Can I get a copy, please?







    dee.alimi@gmail.com.







    Thnaks. Dee
  • + gummadisrikanth srikanth gummadi 2 years ago
    can u send the presentation to my mail-id please
    my mail id is gummadisrikanth@gmail.com

    Thanks in advance
  • + abduls abduls 2 years ago
    Hi, There is no download option .Can any one forward that PDF to my Mail Id.

Comments 1 - 10 of 13 previous next

Post a comment
Embed Video
Edit your comment Cancel

14 Favorites

OO ABAP SAP - Presentation Transcript

  1. Object Oriented ABAP Hyderabad February 24-26th 2006 Instructor: Subhas Katikala.
  2. Workshop Goals This workshop will enable you to:
    • Learn object – oriented concepts.
    • Learn the principle of object - oriented programming.
    • Learn the application of object
    • - oriented ABAP.
  3. Course Contents Object Oriented Concepts Object Oriented Programming. Advantages of the Object-Oriented Approach
    • Methods
    • Syntax and Visibility
    • Instance Methods and Static Methods
    • Constructor
    • Reference Variables
    • Creating References
    • Assigning References
    • Classes
    • Components of a Class
    • Attributes
    • Syntax and Visibility
    • Instance Attributes and Static Attributes
  4. Course Contents
    • Inheritance
    • Super classes and Subclasses
    • Visibility
    • Inheritance and the (Instance) Constructor
    • Parameters
    • Redefining Methods in OOABAP
    • Compatibility
    • Principles of the Narrowing Cast
    • Static and Dynamic Components
    • Final Classes and Methods
  5. Course Contents
    • Polymorphism
    • Advantages Compared to Procedural Programming
    • Abstract Classes and Methods
    • Component Namespaces in Classes
    • Interfaces
    • Defining and Implementing an Interface
    • Working with Interface Components
    • Interface References
      • Narrowing Cast
      • Widening Cast
    • Using Several Interfaces
    • Polymorphism and Interfaces
    • Polymorphism and Inheritance
    • Compound Interfaces
  6. Course Contents
    • Events
    • Define and Trigger Events
    • Handle Events
    • Register and deregister Events
    • Receive a reference from Sender
  7. Object – Oriented Concepts What are Objects ?
    • Object Oriented Programming
    • Encapsulation
    • Inheritance
    • Polymorphism
    • Instantiation
    • Interfacing
    • Events
    OOPS
    • Advantages
    • Simplicity
    • Explicitness
    • Maintainability
    • Future Orientation
    • Classes are the central element of object-orientation.
    • A Class is an abstract description of an object.
    • Classes are templates for objects.
    • The attributes of objects are defined by the components of the class, which describe the state and behavior of objects.
    Classes
    • You define global classes and interfaces in the Class Builder (Transaction SE24) in the ABAP Workbench.
    • They are stored centrally in class pools in the class library in the R/3 Repository.
    • All of the ABAP programs in an R/3 System can access the global classes.
    Classes
  8. Components in a class
  9. Defining Local Classes
    • A complete class definition consists of a declaration part and, if required, an implementation part.
    • The declaration part of a class <class> is a statement block:
      • CLASS c1 DEFINITION.  
      • … . 
      • ENDCLASS.
    • If you declare methods in the declaration part of a class, you must also write an implementation part for it.
    • CLASS c1 IMPLEMENTATION.
    • … .   ENDCLASS.  
    Classes
  10. Attributes
  11. Defining Local Classes Classes
  12. Attributes, Types, Constants - Syntax
  13. Attributes and Visibility
  14. Instance attributes and Static attributes
  15. Methods
  16. Methods : Syntax
  17. Methods and Visibility
  18. Instance methods and Static methods
  19. Instance methods and Static methods : Example
  20. Constructor
  21. Constructor : Example
  22. Static Constructor : Implementation
  23. Static Constructor : Call Examples
  24. Creating Objects
  25. Reference Variables
  26. Creating Objects : Syntax
  27. Assigning References
    • Inheritance allows you to derive a new class from an existing class.
    • You do this using the INHERITING FROM addition in the
    • CLASS <subclass> DEFINITION INHERITING FROM <superclass>
    • statement.
    • The new class <subclass> inherits all of the components of the existing class <superclass>.
    • The new class is called the subclass of the class from which it is derived.
    • The original class is called the superclass of the new class.
    Inheritance
  28. Inheritance
  29. Inheritance : Syntax
  30. Relationships between super classes and subclasses Relationships between super classes and subclasses
  31. Inheritance and Visibility
  32. Inheritance and (Instance) constructor
  33. Parameters and CREATE OBJECT
  34. Redefining Methods in ABAP Objects
  35. Redefining Methods : Example
  36. Compatibility and Narrowing Cast
  37. Principles of the Narrowing Cast
  38. Static and Dynamic Types: Example
  39. Static and Dynamic Types for References
  40. Widening the Cast Static and Dynamic Types for References
  41. Widening the cast
  42. Polymorphism
  43. Polymorphism
  44. Polymorphism
    • Interfaces exclusively describe the external point of contact of a class, but they do not contain their own implementation part.
    Interface
  45. Defining and Implementing Interface
  46. Working with Interface components
  47. Interface References Narrowing casting
    • The assignment of an object reference to an interface reference is known as a narrowing cast since, as with inheritance, only a part of the object interface is visible once you have assigned the reference.
    • With an interface reference, you can no longer address all components in the class carrying out the implementation, but only the components defined in the interface.
    Interface
  48. Interface references widening cast
    • The widening cast is, as with inheritance, the opposite of the narrowing cast: here it is used to retrieve an object reference from an interface reference. Obviously it cannot be statically checked, since an interface can be implemented by more than one class.
    • An object reference cannot be assigned to an interface reference if it has itself not implemented the corresponding interface.
    Interface
    • In the above example, one class is implementing several interfaces. Even if these interfaces contain components with the same name, they are differentiated in the class carrying out the implementation by the prefix “<interfacename>~”.
    Using several Interface
  49. Polymorphism and Interface
    • Objects or Classes use events to trigger Event Handler methods in other objects or classes.
    • When an event is triggered any number of Event Handler Methods can be called.
    • The events of a class can be raised in the same class using the RAISE EVENT Statement.
    • Events have only output parameters which are accepted by the Event Handler Methods as input parameters.
    • The link between the trigger and the handler is established dynamically at runtime using the statement SET HANDLER .
    Events
  50. Events Overview
  51. Triggering and handling Events : Overview
  52. Defining and Triggering Events
  53. Handling and Registering Events
  54. Handling Events
  55. Registering for an Event : Syntax
  56. Deregistration
  57. Registration/Deregistration : Handler Table
  58. Event handling : Characteristics
  59. Events and Visibility

+ Srinu MSrinu M, 2 years ago

custom

17806 views, 14 favs, 7 embeds more stats

OOPS ABAP SAP

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 17806
    • 17754 on SlideShare
    • 52 from embeds
  • Comments 13
  • Favorites 14
  • Downloads 1430
Most viewed embeds
  • 39 views on http://www.wareprise.com
  • 4 views on http://sapturkey.blogspot.com
  • 4 views on http://www.bloxoo.com
  • 2 views on http://static.slideshare.net
  • 1 views on http://71.gmodules.com

more

All embeds
  • 39 views on http://www.wareprise.com
  • 4 views on http://sapturkey.blogspot.com
  • 4 views on http://www.bloxoo.com
  • 2 views on http://static.slideshare.net
  • 1 views on http://71.gmodules.com
  • 1 views on http://www.clearspring.com
  • 1 views on http://www.slideshow.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories