Exception:- It is a program abnormal situation or condition where the normal execution flow of the program is disturbed and the programs terminates prematurely
Author: coderobbot
Exception Handling in Function Modules [with message class]
Step1. So here we have the message class with two message texts 000 and 001. Step2. FM importing parameters. Step3. FM exporting parameters. Step4.
Exception Handling in Function Module
Step1. Let’s have a FM with the below importing parameters. Step2. Export parameters. Step3. Here define the exceptions to be raised in the FM source
Pre, Post & Over Write-Exit
For any SE24 class method we can define pre-exit, post-exit and overwrite-exit method by enhancing the original method.We can apply pre exit and post exit
Explicit Enhancement: Enhancement Section
Enhancement Section: If the business process needs to skip some standard code and to execute some custom code on top of it, then Enhancement section
Explicit Enhancement: Enhancement Point
Creating Enhancement point really makes sense to enhance SAP standard program where the business needs some specific functionality that could not be achieved by implicit