Application Development 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: 

Custom Enhancement

Former Member
0 Kudos

Hi All,

I have a custom enhancement implementation.Though the Enhancement is active the code associated with the enhancement is not getting executed.

Should the the Enhancement implementation necessarily be assigned to a switch for it to get executed.Please clarify.

Regards,

Roopa

Edited by: Roopa R on Jun 18, 2008 1:36 PM

4 REPLIES 4

Former Member
0 Kudos

Hi Roopa,

check the below points.

1. Create a break point in your enhancement. and run the transaction.

2. is your enhan. implementation is active? if not go to se19 than activate the enhan.implementation.

for more detail about ehancement impletementation refer the below links.

[/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners|/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners]

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915]

Reward if found helpful.

Regards,

Boobalan Suburaj

Former Member
0 Kudos

Hi,

Assign the enhancement to a project in CMOD and activate the project.

Regards,

Vijaya Lakshmi

Former Member
0 Kudos

Hi Roopa,

All the standard SAP Enhancements are seen in SMOD. Here we will be viewing all the components for the particular packages.

After picking up the correct one that suits to our requirement we will go to CMOD, and create a ZXXX customer project there. After that you will be importing the particular exit and click on the components tab respectively.

For knowing that whether your enhancement is active or not you will be clicking on the function module exits and insert a break point over there. Inside the function module exits there will be includes. In that includes you will writing your code.

For Ex: EXIT_SAPMM06E_006 in that include write break username , by this that particular exit gets triggered for your ID only. Similarly you will be ruuning your transaction by giving some input details, so by this you will be checking for the exits.

In the same way for BADI's also to find a exact BADI you will be creating an implementation on the interface tab there you will be finding number of methods. Inside the methods you will putting a break point and activate them.

Then you will run your transaction.

Cheers,

Swamy Kunche

Former Member
0 Kudos

Yes Rupa,

Unless and untill the enhancement is not assigned to a project and the project is not active , your code will not execute.

Go to Transaction CMOD and assign the exit to an implementation project .