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: 

CMOD Project

0 Kudos

Hello experts,

i have small question regarding Customer Exit,

for implementing the exit generally we'll be creating Project in COMD tcode my question is in that project we are writing the code inside INCLUDE PROGRAM

so in that case we can directly write a code in the include program and move it further without creating any project. so why do we need to create any project what is the main purpose of creating project.....

thank you all in advance ............

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Look for CMOD in CALL CUSTOMER-FUNCTION documentation, what will (not) happen if no project was created and activated ?

Regards,

Raymond

4 REPLIES 4

Former Member
0 Kudos

Hi  yogesh,

If you are implementing  first time  any customer exit. then we need to create  project becasue without project  your new code will be not  active in that place.

once you did your code in include  and after that we need to activate project using CMOD thne that customer exit will be activated successfully.

else only  include code without project activation just like garbage code storre in include.

Regards,

Prasenjit Mishra

raymond_giuseppi
Active Contributor
0 Kudos

Look for CMOD in CALL CUSTOMER-FUNCTION documentation, what will (not) happen if no project was created and activated ?

Regards,

Raymond

Former Member
0 Kudos

Hi Yogesh,

The project needs to be created and activated.

The function of this project is to execute the related components implemented, normally this components are  function modules. and finally these functions modules are calling to the "include programs" implemented by customer.

Take in account that the input parameters of your include are the previous ones that contain defined the function module.

regards,

Marc

0 Kudos

thank you experts for your valuable comments finally i came to know about

unless and until will not activate the project that CALL Customer-Function will get ignored so project will activate the hook(Function-Exit) provided by SAP...

thanks a lot ..........