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

CMOD

Former Member
0 Likes
2,214

Hi Experts,

I want to know, How to careate a Project using transaction CMOD.

Actully my requirement is I want to Create a Menu Exit. For that I need to create Project.

Can Any body tell me the step by step procedure.

I will Reward The maximam points.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,009

Hi

<b>Customer Enhancement Projects</b>

SAP application programmers create SAP enhancements in transaction SMOD using function module exits, menu exits, and screen exits.

Customers are given a catalog containing an overview of existing SAP enhancements. They can then combine the SAP enhancements they want into an enhancement project using transaction CMOD.

SAP enhancements are made up of component parts. These components include function module exits, menu exits, and screen exits. A specific component may be used only once in a single SAP enhancement (this guarantees the uniqueness of SAP enhancements).

Customer enhancement projects consist of SAP enhancements. Each individual SAP enhancement may be used only once in a single customer enhancement program (this guarantees the uniqueness of a customer project).

SAP application programmers preplan function module exits, menu exits, and screen exits for their applications and combine them to create useful enhancements for the R/3 System.

Customers create their own enhancement projects for their systems using SAP enhancements. You can customize the individual components of an enhancement project by creating your own include programs (for function module exits), texts (for menu exits), and subscreens (for screen exits).

<b>Creating Customer Enhancement Projects</b>

Start the project management function (transaction CMOD) and give your enhancement project a name. SAP recommends that you think up a naming convention for all of your projects. You can, for example, include the project's transaction or module pool in its name. All enhancement project names must be unique. Next, branch to the project's attributes and enter a short text describing the enhancenent project. The system inserts all of the project's other attributes (such as created by, created on, or status).

<b>Assigning SAP Enhancement to customer projects</b>

Use the project management function (transaction CMOD) to assign SAP enhancements to customer enhancement projects. Enter the names of the SAP enhancements you want to use on the appropriate screen.

The search function gives you a catalog-like overview of existing SAP enhancements. From there you can select those enhancements that are of interest to you.

<b>Reward if usefull</b>

11 REPLIES 11
Read only

Former Member
0 Likes
2,009

Go to CMOD

give a name of project say YPROJECT

enter T_CODE

and then u can use the exit in components.

reward if useful.

Amit Singla

Read only

former_member404244
Active Contributor
Read only

0 Likes
2,009

Please make sure you do read this in the link that Nagraj has posted above :

"Specifying a menu text and activating your project are not the only steps you need to take to make your own menu item work. <b>After you carry out these steps, your menu item will appear, but it will not call a corresponding function. To attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text.</b> This function module exit is part of the same SAP enhancement that contains the menu exit you used. Creating Customer-Specific Function Modules tells you more about how to use function module exits."

Read only

abapdeveloper20
Contributor
0 Likes
2,009

Hi,

Menu exits allow you to add your own functions to the pulldown menus in standard R/3 transactions.

To take advantage of a menu exit, you first need to create a project as described in the section Creating an add-on project. Then, you must include the SAP enhancement package that contains the menu exit you want to use in your project.

From the main screen of the Project management transaction, proceed as follows:

1.Select Enhancement components and choose Change.

2.The system lists all customer exits contained in the enhancements included in your project.

3.Place the cursor on the menu exit you want to add your own function to.

4.Choose Edit component.

5.The system displays technical information about the menu entry. It also displays two input fields where you can specify a language and the text you want your menu item to have.

6.Enter the name of your menu function (such as Special order method) in the field New text. Choose Save text.

7.Your special menu function will not appear in the pulldown menu of the corresponding standard transaction until you activate your enhancement project.

8.Specifying a menu text and activating your project are not the only steps you need to take to make your own menu item work. After you carry out these steps, your menu item will appear, but it will not call a corresponding function. To attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text. This function module exit is part of the same SAP enhancement that contains the menu exit you used. Creating Customer-Specific Function Modules tells you more about how to use function module exits.

Reward if useful

Rgds,

Lakshmiraj

Read only

Former Member
0 Likes
2,010

Hi

<b>Customer Enhancement Projects</b>

SAP application programmers create SAP enhancements in transaction SMOD using function module exits, menu exits, and screen exits.

Customers are given a catalog containing an overview of existing SAP enhancements. They can then combine the SAP enhancements they want into an enhancement project using transaction CMOD.

SAP enhancements are made up of component parts. These components include function module exits, menu exits, and screen exits. A specific component may be used only once in a single SAP enhancement (this guarantees the uniqueness of SAP enhancements).

Customer enhancement projects consist of SAP enhancements. Each individual SAP enhancement may be used only once in a single customer enhancement program (this guarantees the uniqueness of a customer project).

SAP application programmers preplan function module exits, menu exits, and screen exits for their applications and combine them to create useful enhancements for the R/3 System.

Customers create their own enhancement projects for their systems using SAP enhancements. You can customize the individual components of an enhancement project by creating your own include programs (for function module exits), texts (for menu exits), and subscreens (for screen exits).

<b>Creating Customer Enhancement Projects</b>

Start the project management function (transaction CMOD) and give your enhancement project a name. SAP recommends that you think up a naming convention for all of your projects. You can, for example, include the project's transaction or module pool in its name. All enhancement project names must be unique. Next, branch to the project's attributes and enter a short text describing the enhancenent project. The system inserts all of the project's other attributes (such as created by, created on, or status).

<b>Assigning SAP Enhancement to customer projects</b>

Use the project management function (transaction CMOD) to assign SAP enhancements to customer enhancement projects. Enter the names of the SAP enhancements you want to use on the appropriate screen.

The search function gives you a catalog-like overview of existing SAP enhancements. From there you can select those enhancements that are of interest to you.

<b>Reward if usefull</b>

Read only

0 Likes
2,009

Hi Experts,

First of all thanks for all your replies.

I refer this document.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/19760043b111d1896f0000e8322d00/content.htm

But I can't create the project. I confused the following lines from the above document.

1. Choose Create.

2. Describe the nature of the project by providing a short descriptive text.

3. Choose Save.

The system then prompts you to assign a change request. This assignment allows you to transport the project and its components into a productive system once you have completed it.

<b>4. Specify which SAP enhancement packages you want to include in your project by choosing SAP enhancements.

5. Enter the names of these SAP enhancements in the spaces provided.

You should choose enhancement packages that logically belong together. For example, if you are planning to use several enhancements that deal with Materials Management modules, you can include all of these enhancements in the same project. If you are working on enhancements that deal with different applications, or if the enhancements are not logically related, you should include these enhancements in separate projects.</b>

Can any one help me?

Thanks.

Read only

0 Likes
2,009

>

> <b>4. Specify which SAP enhancement packages you

> want to include in your project by choosing SAP

> enhancements.</b>

<i>Which transaction do you want to enhance, Please identify a suitable enhancement first. If you want the methods to identify an enhancement, please do a search on the forum and you will get a lot of hits.

Once you identify the correct enhancement, take a look at its components in transaction SMOD. Identify the correct menu exit for your requirement and the corresponding customer function exit.

Then go to CMOD and create a project and in the enhancement assignments section put in the name of the enhacement, then click on the components button to see them. Now you can implement the components you need.</i>

><b> 5. Enter the names of these SAP enhancements in the

> spaces provided.

> You should choose enhancement packages that logically

> belong together. For example, if you are planning to

> use several enhancements that deal with Materials

> Management modules, you can include all of these

> enhancements in the same project. If you are working

> on enhancements that deal with different

> applications, or if the enhancements are not

> logically related, you should include these

> enhancements in separate projects.</b>

<i>This is only applicable if you are using more than one enhancements in the same project, and is only a guiding principle.

When you are creating the project if you find that the enhancement you want to use is already used in some other project, contact the person who made the other project and obtain permission to change </i>

Hope it helps.

Read only

0 Likes
2,009

Hi Srihari Hebbar,

Thanks for your promt reply. I created the project.

Thanks for ilesh 24x7 also.

Thanks.

Read only

Former Member
0 Likes
2,009

Hi here is the another way for doing MENU exit...

FYI....

MENU EXITS

Menu exits allow you to add your own functionallity to menus. Menu exits are implemented by SAP, and are reserved menu entries in the GUI interface. The developer can add his/her own text and logic for the menu.

Function codes for menu exits all start with "+"

Example

We want to create a new menu item in the Office menu. The text for the menu should be "Run ZTEST", and the menu will

run report ZTEST.

Goto transaction SE43 Area Menu Maintenance

In Area Menu Paramenter type 'S000' (S triple Zero)

Select Change and ignore all the warning screens

Expand the office menu. In the buttom of the office tree you will find a menu named "Customer function"

Double click on the text. In the pop-up screen change the text to "Run ZTEST". Note that the trsnaction code is +C01

Goto transaction SE93 and create transaction +C01 that calls report ZTEST.

Now you will se the menu displayed in the office tree. If you delete transaction +C01 again, the new menu will dissapear.

===================================================

The previous reply where you wrote that you are confused.

It is well explained. Just try to follow the steps given in that. Before using CMOD you should understand the use of REQUEST and PACKAGES.

Just try to follow the steps given here.

1. Choose <b>Create</b>.

2. Describe the nature of the project by providing a <b>short descriptive text</b>.

3. Choose <b>Save</b>.

The system then prompts you to assign a <b>change request</b>. This assignment allows you to transport the project and its components into a productive system once you have completed it.

4. Specify which SAP enhancement <b>packages</b> you want to include in your project by choosing SAP enhancements.

5. Enter the names of these SAP enhancements in the spaces provided.

You should choose enhancement packages that logically belong together. For example, if you are planning to use several enhancements that deal with Materials Management modules, you can include all of these enhancements in the same project. If you are working on enhancements that deal with different applications, or if the enhancements are not logically related, you should include these enhancements in separate projects.

<b>Reward if it is useful...</b>

Message was edited by:

ilesh 24x7

Read only

0 Likes
2,009

ilesh,

I think what you have described here, is adding a new menu item to the existing area menu S000, and not creating an implementation for an existing menu exit.

Correct me if I am wrong.

Message was edited by:

Srihari Hebbar