Function Module Exception Handling
Exception handling is the integral part of the designing the application. By raising the exception, we are providing the oppertunity to the Caller program to handle the exception in its own way. Visit Raising & Handling Non-class based exceptions to learn more on exception handling and flow control with flow-chart. Checkout all post related to…
RFC Calls: Function Module Parameter Passing
Parameter Passing in the RFC Function Module Calls Today we will discuss how system take care of the obligatory parameter passing in the RFC function module. Generally, when we call the FM without passing the obligatory parameter, system would raise the exception CALL_FUNCTION_PARM_MISSING and would lead to run time error. Now, when we call the…
RFC Calls II – Solution to mandatory Parameters to FM
In the last post , we have seen how system take care of the obligatory parameters even though the calling program doesn’t pass it to the RFC FM. Why does system needs to do that: Error handling. RFC FM can be called from outside SAP application also. If we don’t pass the obligatory parameters, it…
Function Module Pass by Value – Data Loss
When we design the Function Module, we can specify either Pass by Value or Pass by Reference for a parameter. It is very important to pay close attention while designing the FM where we are using the Table Types as the variables. Have you ever seen a situation where you can see the data in…
Finding Hidden Function Group Includes
When we generate Remote Enabled Function (RFC) or Update FM, system would generate some includes. These includes wont be displayed when see all the includes of the Function Group. So, lets see how to easily find them out. RFC Long time ago, I wrote about RFC Calls: Function Module Parameter Passing. In this post, I…
Raising & Handling Non-class based exceptions – I
Exceptions are way to communicate effectiently to the caller about something went wrong. So, the caller of the FM or method, would process them accordingly. Checkout all post related to Exception Raising & handling:
Raising & Handling Non-class based exceptions – II
In continuation to previous post on Raising & Handling Non-class based exceptions, lets see the message addition RAISING along with the overall flow control. Checkout all post related to Exception Raising & handling: Message RAISING When we raise the exception by statement RAISE, it doesn’t provide us the default details. If we are interested in…