‎2009 Jul 26 6:24 AM
I can understand how pre- and post- exit enhancements do not interfere with
a SAP upgrade. I assume that they are maintained separately of the actual
method that they enhance.
But my question is this. How is an overwritten method maintained?
That is, how does the system know where exactly to re-insert the overwritten
code during the SAP upgrade?
Say for example in SAP code I overwrite the following:
RAISE EXCEPTION TYPE X
with
RAISE EXCEPTION TYPE Y
How can i be assured that this code change will migrate properly
during an upgrade?
‎2009 Jul 27 2:28 PM
Hi Gregory,
SAP Standard Functionality like Customer Exits (Screens, programs and tables), BADI, Enhancement points and all the enhancement operation (Pre, Post, Overwrite..). As these are the SAP standard Functionality and changes will be supported by SAP in future too, whether it is upgrade or new release.
So we people need not to worry about it.
If we people do some changes with the help of "Access key" then these changes won't be support by SAP upgrade.
Hope this wiki will give u some more knowledge regarding with Enhancement operation.
[https://wiki.sdn.sap.com/wiki/display/ABAP/EnhancementFramework-ClassEnhancements-Pre-exit,Post-exitandOverwrite-exitmethods-ConceptandSimpleScenarios|https://wiki.sdn.sap.com/wiki/display/ABAP/EnhancementFramework-ClassEnhancements-Pre-exit,Post-exitandOverwrite-exitmethods-ConceptandSimpleScenarios]
Thanks.
Anurag
‎2009 Jul 27 3:04 AM
As long as the Modification Assistant (SE38->Change->Edit->Modification Operations...) was switched on and the developer had made/overwritten the standard SAP code changes using the Modification Assistant before the upgrade, the system is able to find these changes during a kernel upgrade and apply these overwrites successfully as was intended by the customer.
However, if the Modification Assistant was switched off or the code changes were made without using it, every standard SAP code change made by the customer (before the upgrade) have to be manually reimplemented on all "repaired" objects after the upgrade has been completed.
Hope this helps.
Cheers,
Sougata.
‎2009 Jul 27 2:28 PM
Hi Gregory,
SAP Standard Functionality like Customer Exits (Screens, programs and tables), BADI, Enhancement points and all the enhancement operation (Pre, Post, Overwrite..). As these are the SAP standard Functionality and changes will be supported by SAP in future too, whether it is upgrade or new release.
So we people need not to worry about it.
If we people do some changes with the help of "Access key" then these changes won't be support by SAP upgrade.
Hope this wiki will give u some more knowledge regarding with Enhancement operation.
[https://wiki.sdn.sap.com/wiki/display/ABAP/EnhancementFramework-ClassEnhancements-Pre-exit,Post-exitandOverwrite-exitmethods-ConceptandSimpleScenarios|https://wiki.sdn.sap.com/wiki/display/ABAP/EnhancementFramework-ClassEnhancements-Pre-exit,Post-exitandOverwrite-exitmethods-ConceptandSimpleScenarios]
Thanks.
Anurag