ABAP Flashcards
___________ allows grouping of similar classes in a general-to-specific hierarchy.
Inheritance
Often described as a “is a” relationship
Inheritance promotes “programming by difference” which means ___.
the subclass only defines those things that are different
To use inheritance, in the child class, add _____ to the first line of the class definition.
INHERITING FROM parent
Can the inheriting class delete anything from the parent?
No
But the child class can redefine method implementation.
The method is noted as a REDEFINITION
METHODS display_doc REDEFINITION
To call a method of the parent (such as when you want to call the original method as part of a method’s redefinition, use____
SUPER->
TRUE/FALSE
A subclass may use the superclass constructor as is, or the subclass may create a new constructor with a new interface.
TRUE
The constructor is the only method in ABAP objects that is ___, meaning that two active methods share the same name.
overloaded
What’s the code for the subclass constructor if it wishes to call the superclass constructor?
super->construtor ( params ).
TRUE/FALSE
A private component (attribute or method) of a superclass cannot be referenced by the subclass.
TRUE
In the definition of an object, the sections must appear in order. What’s the order?
PUBLIC SECTION
PROTECTED SECTION
PRIVATE SECTION
Which attributes and methods are visible to its children?
PUBLIC and PROTECTED
What are 5 ways of fitting ERP to needs of a company?
- Personalization: setting default values for fields, hiding fields, creating menu paths, etc. Typically done by end user.
- Configuration: using existing controls within the software to conform its functionality to the desired behavior.
- Modification: changing the core software to reflect variant customer execution. Also called customization. NOT RECOMMENDED
- Enhancement: adding to established system elements (without changing standard SAP code).
- Customer Development: creating unique elements within the system environment (without changing standard SAP code). *Add on top of SAP - standalone
Some sources use the terms Configuration and Customization synonymously. We properly consider them distinct terms where their definition is as reflected above.
Which ERP method may be considered the best?
Worst?
Customer Development
Modification
Typical landscape involves multiple systems. Name 4
development (DEV)
testing (QAS)
production (PROD)
training (TRN).
Each statement begins with a _______
keyword