Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to check if a method exist?

Former Member
0 Likes
1,487

I have created a new class "ZCL_IM_ZRSU5_SAPI_BADI" based on Z

RSU5_SAPI_BADI. Added a new method "x', but in the main method I am calling the method "X" but before I call the method I need to check if the method exist. How do I code this ?

2 REPLIES 2
Read only

former_member632729
Contributor
0 Likes
780

Hi ,

By using the class CL_EXITHANDLER you can find out the method exits..

Read only

0 Likes
780

Do you have a sample code?