Object Oriented Programming Part 1
Object Oriented Programming Part 1
Programming in ABAP
1. Class :-
A class is a blueprint for creating objects.
2. Objects :-
Object is an instance of a class.
Types of Classes :-
a) Global Class :-
A global class is a class that can be accessed from any ABAP program within
the same system.
2. Exception Class :-
An exception class in ABAP is a special type of class used for defining
custom exceptions. These exceptions represent specific error conditions
or situations that can occur during program execution.
These classes are responsible for handling data retrieval, storage, and
manipulation operations, ensuring that data is effectively managed and
maintained within the system.
These tests verify that each unit of code behaves as expected under
various conditions and inputs.
Unlike global classes, which are defined independently and can be accessed
from any part of the system, local classes are confined to the program or
function module in which they are declared.
Dedicated to one program only. We can create local classes with the help of
SE38 transaction code.