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

Modification & enhancement

Former Member
0 Likes
1,845

Hi All ,

I have a few doubt regarding enhancement & modification .

when we do changes in sap standard code with access key this is called modification & when we do changes in program , which inturn are called by sap object , this is called enhancement .

Please correct me if i am wrong ....

Now a few question ....

1 when we change code in MV45AFZZ , we do enhancement or modification ???

2 we can do changes in sap object by userexits or BADI . when do we use badi & when do we use userexit ???

3 example of enhancement and modification ????

4 modification are overwritten while upgrade ???

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,300

1 when we change code in MV45AFZZ , we do enhancement or modification ???

<b>---->Modifications</b>

2 we can do changes in sap object by userexits or BADI . when do we use badi & when do we use userexit ???<b>----->We Implement the Pojects , where we can put our own logic.</b>

3 example of enhancement and modification ????

4 modification are overwritten while upgrade ??? --->it depends upon type of Objects(user exit or BADI).

Regards

Prabhu

5 REPLIES 5
Read only

Former Member
0 Likes
1,301

1 when we change code in MV45AFZZ , we do enhancement or modification ???

<b>---->Modifications</b>

2 we can do changes in sap object by userexits or BADI . when do we use badi & when do we use userexit ???<b>----->We Implement the Pojects , where we can put our own logic.</b>

3 example of enhancement and modification ????

4 modification are overwritten while upgrade ??? --->it depends upon type of Objects(user exit or BADI).

Regards

Prabhu

Read only

Former Member
0 Likes
1,300

Hi prabhu ,

Still there are some open question ....

If you have some good PDF document related to enhancent or modification please send it to saurabh.garg@gmail.com

Regards

Saurabh Garg

Read only

Former Member
0 Likes
1,300

hi prabhu ,

please forward the material regarding about enhancement material to

Thanks in advance.

Read only

Former Member
0 Likes
1,300

Hi Saurabh,

Any changes made to the source program comes under MODIFICATION.Therefore changes to SAP source program using access key comes under modification.

where as enhancements means that you add your own functionality without changing the source code.

customer exits and Badis come under this category

user exits come under modifications(technically).

for modifications therefore you need an access key,where as enhancement doesnot require access key

Please REWARD points if useful,

Revert to me back if you have any further queries

Thanks,

Surya Pydikondala

Read only

Former Member
0 Likes
1,300

Hi Saurabh,

Please see my inline comments.

when we do changes in sap standard code with access key this is called modification

--> This is True... Modifications change the logic of the object and hence we replace the code. This asks for access key.

& when we do changes in program , which inturn are called by sap object , this is called enhancement .

--> Enhancement is adding additional logic to the already existing logic fo SAP. This will not modify the object, but enhances it. Hence this does not need any access key.

Please correct me if i am wrong ....

Now a few question ....

1 when we change code in MV45AFZZ , we do enhancement or modification ???

---> If you are entering through 'Change' mode, then it is 'Modification'. Because this include is intended for user exit forms, it might not ask you for access key. If you enter through 'Enhance' mode, then it becomes enhancement.

2 we can do changes in sap object by userexits or BADI . when do we use badi & when do we use userexit ???

---> Both user exits and BADIs allow to enhance sap's objects. In both cases, the hooks are already provided by SAP where we can hang in our code. You can use BADIs for object oriented approach and if the same has to be used based on filter values.

3 example of enhancement and modification ????

---> Use enhancement for positions(hooks) already defined by SAP. You can see this by going to Edit->Enhancement Operations - >Show Implicit Enhancement Options. You just need to add your code here. SPA has now provided a range of implicit options in Source codes, Begining and end of Form Routines, Includes, Class methods, Interface of Class methods etc.. generally customer requiremetns will be satisfied here. If not (Very rarely ), then we can define our own hooks(positions) where we need to add our enhancements. This becomes modidifcation.

4 modification are overwritten while upgrade ???

---> Yes, modifications are overwritten during Upgrade or Import of Support Packages. In that case, these will be shown in Adjustment tool SPAU and the effort that goes in to decide to retain/overwrite the change is more. Hence it it better to go in for an enhancement.

Regards,

Suma