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

2 question on cmod

Former Member
0 Likes
2,069

hi, kindly comment in point form. no need to provide link as i have read the link from other post.

thanks

1) if customer want to implement the exit, say for example, the enhancement SDVFX001, exit EXIT_SAPLV60B_001, then the customer need to create a project in cmod where enhancement SDVFX001 assigned to this new project. correct?

2) how to know what enhancement to assign to which project in cmod?

3) the statement "INCLUDE ZXVVFU01" in EXIT_SAPLV60B_001 is sap standard, right? and we as customer will put our code or our FM in this include, right?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,643

Hi,

1) Yes..A project needs to be created..And this enhancement needs to be added to this project..Then the project should be activated..

2) You can create a new project..and assign the enhancment to the project..It is not mandatory that this enhancement should go to this project..

3) Yes..You will be putting the code in the include...

THanks,

Naren

9 REPLIES 9
Read only

Former Member
0 Likes
1,644

Hi,

1) Yes..A project needs to be created..And this enhancement needs to be added to this project..Then the project should be activated..

2) You can create a new project..and assign the enhancment to the project..It is not mandatory that this enhancement should go to this project..

3) Yes..You will be putting the code in the include...

THanks,

Naren

Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
1,643

1) yes

2) A project is a container that includes any enhancement you need to achieve your goal. So, you first have to figure out which enhancement's objects (like function modules, screens etc) are called in the standard flow and insert those into your project. An enhancement can only belong to one CMOD project.

3) yes

Read only

Former Member
0 Likes
1,643

Hi,

1.yes, we need to create a project in cmod and assign the enhancement SDVFX001 to that.

2. read the documentation of the enhancement in smod, you will get to know why to use the enhancement.

3.We write the code in the INCLUDE ZXVVFU01.

regards,

keerthi.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,643

1) Yes

2) If you do F4 help on the project field in CMOD, there will be a field called "Enhancement Component" where you can put the component name. You will then get the Project which it is assigned to.

3) The INCLUDE statement is standard, but the INCLUDE does not really exist untill you create it. So if you go to that function module and double click on the include name, the system will ask you if you want to create it. You simply say yes, and then add your code into the include.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,643

1. The customer need not create a enhancement project as such, it is optional like SPRO customizing project. Though, having a enhancement project in CMOD would be good, but if they already did many enhancement without opening formal project it doesn't makes sense for small enhancements.

2. To know which enhancement is assigned which project, you can use CMOD itself or use table MOD0 which maps them both.

3. Yes you are right, the include needs to be created, if it is for the first time.

Read only

Former Member
0 Likes
1,643

hi,

from your question.

1. yes you need to create project in CMOD to activate the enhancement.

2. buy search only you can find them, one thing if you give the same project name that displays message like 'the project is already exist'.

3. correct.

once again the difference between cmod and smod.

1. enchacements are grouped together in an inactive stage in SMOD.

2. You have to active those enhancements by proving project name in CMOD.

thanks

i guess my reply help you a bit little.

sarath

Read only

0 Likes
1,643

hi,

thanks.

in short, can i say if want to implement an exit which not yet implemented, then we must create project and assign the enhancement to the project and activate it then only we can put code in the include, correct?

rgds

Read only

0 Likes
1,643

You could do it the other way around, but all must be done in order for the user exit to work. You could create the include first, then put the code in it, the go to CMOD and create a project and include the enhancement component.

Regards,

Rich Heilman

Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
1,643

Yes, but first you assign the enhancement to the project, then write your code and only then do you activate the project.

At least this is the usual sequence, but you can change the sequence of writing the code and activating the project.