‎2009 Jun 29 8:58 PM
I am trying to insert a pre-exit method for a an override method.
I get the message that pre/post method enhancements can only be made to
re-defined methods. How would I change this method to a re-defined
one so I can insert a pre-exit method?
‎2009 Jun 30 7:05 AM
Hi,
You are leftwith two options.
1. Redefine the standard SAP Class Method. Forthis you require Access Key. After you redfine method you an insert pre exit or implicit enhacement option.
2. You can goto the super class directly & enhance the class method either to insert pre exit or implicit enhancement option.
The disadvantage with option2 is your code changes will get called where ever the super class is used. If you are going to use the second option make sure that your method gets called only in your class.
For second option you doesn't require accesss key.
Regards,
Mahesh Gattu
‎2009 Jun 30 7:05 AM
Hi,
You are leftwith two options.
1. Redefine the standard SAP Class Method. Forthis you require Access Key. After you redfine method you an insert pre exit or implicit enhacement option.
2. You can goto the super class directly & enhance the class method either to insert pre exit or implicit enhancement option.
The disadvantage with option2 is your code changes will get called where ever the super class is used. If you are going to use the second option make sure that your method gets called only in your class.
For second option you doesn't require accesss key.
Regards,
Mahesh Gattu