These types of enhancement are predefined in the following places of an ABAP program:
• At the end of an include (some restrictions apply; for example, at the end of a method include)
• At the end of Private, Protected and Public sections of a Class
• At the end of the Implementation of a Class
• Before the END INTERFACE in an Interface definition
• At the end of a structure definition
• At the beginning and at the end of: forms, functions, methods
• In the parameters list of a method, at the end of: CHANGING, IMPORTING and EXPORTING
To see what Implicit Enhancements are available; in the ABAP editor follow this path: Edit->Enhancement Operations->Show Implicit Enhancement Options.
Screen Shots
Friday, May 7, 2010
Explicit Enhancements
These are predefined enhancement sections, usually defined by SAP. Explicit Enhancements are stored in Enhancement Spots. In program RIAUFMVK you can see some examples of them.
Explicit Enhancements are pretty easy to implement; in the ABAP editor, get into the Enhancement Mode by clicking the spiral button. Then, right click into the enhancement point you plan to implement and select Enhancement Implementation->Create. You will be asked a name and a description and after this you can simply add your code.
Screen Shots
Explicit Enhancements are pretty easy to implement; in the ABAP editor, get into the Enhancement Mode by clicking the spiral button. Then, right click into the enhancement point you plan to implement and select Enhancement Implementation->Create. You will be asked a name and a description and after this you can simply add your code.
Screen Shots
Subscribe to:
Posts (Atom)