Skip to Content

CMOD Activation/Deactivation

Hi,

Can someone give me details on exactly what activating or deactivating a CMOD project does?

(I'm guessing it controls if the code executes or doesn't depending on the status)

Do I need to deactivate the project if I am making a change to existing exit ABAP Code in the CMOD project?

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2013 at 03:38 AM

    Hi Kenneth,

    1. You are right.

    I just did a debug to check this.

    If you deactivate the project then the code inside the INCLUDES don't get executed.

    2. You don't need to deactivate the project if you are making changes to the ABAP code in CMOD. I guess you are doing changes in Development server only. After thorough testing you can transport the code as usual.

    In Development server other bw developers might get affected if they are also extracting data at the same time. But deactivating the project is not the solution. They might end up in getting wrong data if CMOD project is deactivated.

    Please see the below link for some conceptual details.

    http://wiki.sdn.sap.com/wiki/display/ABAP/Customer+Exits+(CMOD)

    Regards,
    Sujit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 21, 2013 at 07:39 AM

    Hi,

    No need to Deactivate project (CMOD).

    Required to activate Enhancement FM - EXIT_SAPLRSAP-001 or 002 /003.

    Activate include program and collect it.

    Required to collect Datasource and structure it which enhanced fields added.

    Regards.

    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.