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: 

Reuse of Enhancements

Former Member
0 Kudos
319

Hi Everybody,

Can we use an enhancement already in use in one project for another project?

If not what is the solution?

Thanks and Regards

Nazmul Azad

5 REPLIES 5

Former Member
0 Kudos
148

Use BADI it will not affect the other projects.

Regards,

Sowmya

Former Member
0 Kudos
148

Hi,

Use BADI it will affect the other projects.

Former Member
0 Kudos
148

Hi,

You can not use same enhancement in more than one project if it is in active state in the first one.

The only way is to inactive it in the first and use it inthe second.

Regards,

Anirban

Former Member
0 Kudos
148

Hi Nazmul Azad,

In General, Enhancements is the area where you modified or created or added some functionality it affects to the entire server.

In CMOD when you create a project, you will be assigning one enhancement component to it. If you need to create the project for the same component then it doesn't allow you.

When you consider in the case of BAdi, You can use a BAdi and implement it for your requirement many times. You will pick one BAdi that suits your requirement and you will create an Z implementation and use it and you write your code in it.

Similarly you can implement many times. Here you can create your custom BAdi's also, here one more advantage is it also supports OO Concepts.

If you need to use the functionality of already existed project, you should either deactivate or delete it and you can create one more project with that functionality.

If not you will go for BAdi.

Reward points if it helps you.

Cheers,

Swamy Kunche

Former Member
0 Kudos
148

BADI can be reusable