Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Enhancement spot & line diff

Former Member
0 Likes
530

Whats the diff b'tween enhencement spot & enhencement line.

Pls explain.

Thanks

Whats the diff b'tween enhencement spot & enhencement line.

Pls explain.

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
507

see this :

Madhavi

Read only

Former Member
0 Likes
507

hi,

Enhancement points are like hooks where you can attach your own piece of code and coding in an enhancement point is no different than a normal coding , just that it is a point in the standard program into which you can give your own custom logic.

There are 2 types of enhancements given by SAP:

1. Explicit enhancement points: Go to program RIAUFMVK . You can see ENHANCEMENT-POINT at many places. These are all explicit enhancement points and you can easily implement these points . Simply press shift+F4 and then go to the point which you want to implement. Right click on it and follow the path Enhancement implementation->create. Give the name of the implementation and the assign it to a package(shoud not be a Z package).

Once it is created you can start your coding as you normally do.

2. Implicit enhancement points are not very stable and should be the last resort after you have explored all the user exits , BAdIs and explicit points. In order to find out the implicit enhacement points , press shift+F4 then goto menu option Edit->Enhancement Operations->show implicit enhancement options. This will bring up all the points that you can enhance. This will appear as a line with arrows. To implement this you have to follow the same procedure as for explicit enhacement points.

So enhacement point works like the other codes . Just that you should know which one to implement and where. As far as possible avoid implicit enhacements as they are not very stable at present and even if you are going for it keep a back-up of your code always.

enhancement spots

The enhancement spots are used to manage explicit enhancement options. Enhancement spots carry information about the positions at which enhancement options were created. One enhancement spot can manage several enhancement options of a Repository object. Conversely, several enhancement spots can be assigned to one enhancement option.

for further information on spots look at:

http://help.sap.com/saphelp_nw04s/helpdata/en/91/f1e540f8648431e10000000a1550b0/content.htm