04-20-2015 8:35 AM
Hello all,
Need help on how to deactivate the overwrite exit of a class method so that the original method only will get executed.
I don't want to delete the exit as I will need it again.
THanks in advance
Best regards,
Karthik
04-21-2015 8:05 AM
04-21-2015 1:43 PM
Hello Karthik,
Check the package of the Overwrite Exit. It is probably associated to a switch that is switched on.
If there is no switch assigned to the package, this is why it is always on
Then you have no other choice to create a business function with a switch (TA SFW2, SFW1).
If your package becomes a switchable package, you may have to revised what is included in this package, since all type of 'extensions' will be then switchable.
This means table appends, Domain fixed value appends, View appends, Extension indexes, switch BC sets, etc. These are repository objects that are switchable through their packages, as well as Enhancement Implementations, such as Overwrite Methods.
If you create Business function will most probably need to make it reversible (see Properties Tab in TA SFW2). This will allow you to switch it on and off for testing purposes, but be careful, once the switched-on Business function reaches production system, it is no longer possible to switch it off.
Usually, business functions can be made reversible if there is no possibility of data loss when they are switched off. This implies that physical tables do not contain switchable appends.
Switch Framework - SAP Library
Regards,
Pascale Boyer
SAP SFW IMS Support