2008 Jul 16 11:19 AM
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
2008 Jul 16 11:22 AM
Use BADI it will not affect the other projects.
Regards,
Sowmya
2008 Jul 16 11:23 AM
2008 Jul 16 11:38 AM
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
2008 Jul 16 11:47 AM
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
2008 Jul 16 12:45 PM