‎2008 Jul 04 10:12 AM
hi
is it possible to add own code after the last line of code of any standart class
method?
if yes , how to do it?
‎2008 Jul 04 10:39 AM
Hi,
I don't think it will be possible to change the standard class method . There is no specific procedure for this.
you can change the standard code by using SSCR keys(access keys ) but this not preferable.
Thanking You.
Kind Regards,
Ravi Sankar
Edited by: Ravi Sankara. Z on Jul 4, 2008 3:09 PM
‎2008 Jul 04 10:39 AM
Hi,
I don't think it will be possible to change the standard class method . There is no specific procedure for this.
you can change the standard code by using SSCR keys(access keys ) but this not preferable.
Thanking You.
Kind Regards,
Ravi Sankar
Edited by: Ravi Sankara. Z on Jul 4, 2008 3:09 PM
‎2008 Jul 04 12:56 PM
Hi Marat,
Yes, it is possible. You can add a post-exit method which will be called right after the method.
To do this, in SE24, open the class and create a new enhancement implementation (in the menu Class > Enhance).
After doing this, click on the method name after which you want to execute your code and select Edit > Enhancement Operations > Insert Post-Method.
This step will generate a local class implementation and you can write your own code here.