Friday, September 2, 2011

BC427:Enhancements Framwork , Unit 3: Enhancements Points, options and Sections


* In the graph above , the enhancements points and sections and BAdIs that have been created using the new technology are grouped together and managed using enhancements spots.

*Collected enhancements spots comprise both simple enhancements spots and/or other collected enhancements spots.They serve to semantically bundle enhancements spots.

-------------------------------------------------------------------------

Explicit enhancement point :
 option provided by SAP to allow you to enhance SAP source code without making modefications.It is implemented using the syntax 'ENHANCEMENT-POINT ...'

Explicit enhancement section :
option provided by SAP to allow you to replace SAP source code section without making modefications.The replaced SAP source code is enclosed by the statements 'ENHANCEMENT-SECTION ...' and 'END-ENHANCEMENT-SECTION'

*Explicit enhancements points/sections are always embeded in enhancements spots.

*Explicit enhancement points/sections that alow you to enhance/replace source codes are called dynamic.

*Explicit enhancement points/sections that alow you to enhance/replace declerations are called static.

 

How to use the explicit enhancements points/sections?
To use explicit enhancement points and sections , implement an 'enhancement implementation' (an implementation of the heiger-level enhancement spot).
The following steps describe how to use explicit enhancement points and enhancement sections:

1.Display SAP object (FM,program , method)
2.search for the required enhancement point/section
3.In GUI status,choose the enhancement button
4.Create the enhancement implementation using the context menu of the enhancement point/section
5.specify the name of the enhancement implementation (starts with Y or Z)
6.Enter the source code
7.In GUI status , choose 'Activate Status'

No comments:

Post a Comment