Skip to Content
author's profile photo Former Member
Former Member

Custom Enhancement

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 12:08 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 12:10 PM

    Hi,

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

    Regards,

    Vijaya Lakshmi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 12:25 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 01:01 PM

    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 .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.