Step1. Create a program and define the constructor in both the super and sub class. Constructor is always executed form the super class to
Category: Uncategorized
Use of ME Keyword
Step1. Create a proram in Tx- SE38. Step2. Execute the program and we find the below output. Step3. Now declare a local variable within the
OO EXCEPTION- CX_NO_CHECK
Exception class- CX_NO_CHECK Exceptions that are defined using sub classes of CX_NO_CHECK may not be explicitly declared in the interface of the procedure. Class
OO Exception-Message Class with Exception Class
Step1. Creae a message class in Tx- SE91 with the below message numbers and texts. Step2. Go to Tx-SE24 and create an exception class.
OO Exception: Global Exception with Function Module
Step1. Here we have the Exception class created in SE24 which is inherited form CX_STATIC_CHECK. Step2. Here we have the methods inherited form super
OO Exception- Global Exception Class
Step1. Go o Tx- SE24 and provide an Exception class name and select Create button. Step2. Super class here is CX_STATIC_CHECK and select