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: 

User exit with CMOD

former_member233553
Active Participant
0 Kudos

While I am going to save the required user exit then system is showing this warning "this exit already exist in other project" so in this situation how I will mapping the same user-exit into different my SAP PROJECT in CMOD.

1 ACCEPTED SOLUTION

shashi_thirus
Participant
0 Kudos

Hello Krishna,

Exit not allowed to implement multiple times, we can implement single time only.

If you want to use the same exit first deactivate the Project (Already user exit Implemented Project) and apply your logic in the same Project in your exit. It will work out.

Go through the below link you have better idea on Enhancements(User exits and Customer exits)

http://wiki.sdn.sap.com/wiki/display/ABAP/Enhancements+(User+Exits+and+Customer+exits)


Regard's,

Shashi Kanth.

6 REPLIES 6

Former Member
0 Kudos

Hi Kumar,

The flaw of the EXIT is it can be implemented only in one project.

1. Go to table MODSAP. Give the enhancement name in MEMBER field and get the SAP extension name.

2. In the table MODACT give field MEMBER( Enhancement) as the SAP Extension name which you got from the MODSAP table.

3. Now you can get the project name.

Modify the exit with the project and put condition for your T-Code of Company code or valid differentiation

former_member195402
Active Contributor
0 Kudos

Hi,

in CMOD call menu

Goto => Find

and you are in the Repository Info System for Customer Projects.

Press button All Selections (or Shift+F9).

Then you can search the Customer Project for an Enhancement (for example CNEX0006) or for an Enhancement Component (for exampple EXIT_SAPLCJWB_002).

Regards,

Klaus

anilkumar_kalkivai
Active Participant
0 Kudos

Hi,

One exit can be used only in one project.

you can find the project name based on the exit name using tables MODACT , MODSAP (which are given yakub shah).

If you want to use the same exit in another project, then try deactivating the project in which the exit is used. but it is not recommended.

It is Better put your logic in the same project based on some condition.

Regards,

Anil.

shashi_thirus
Participant
0 Kudos

Hello Krishna,

Exit not allowed to implement multiple times, we can implement single time only.

If you want to use the same exit first deactivate the Project (Already user exit Implemented Project) and apply your logic in the same Project in your exit. It will work out.

Go through the below link you have better idea on Enhancements(User exits and Customer exits)

http://wiki.sdn.sap.com/wiki/display/ABAP/Enhancements+(User+Exits+and+Customer+exits)


Regard's,

Shashi Kanth.

former_member184569
Active Contributor
0 Kudos

Try finding out if there are any explicit/implicit enhancements provided in the object. You can make independent enhancements in these spots provided in an object.

Former Member
0 Kudos

One exit we can use more than one time.Under the exit there is a sap include in which we can add custom include along with specific condition check for the custom include.. otherwise while the user exit will executed all custom include will be executed accordingly.