‎2008 Dec 18 3:37 PM
Hi
After creating a project from CMOD,while giving a enhancement name by clicking on enhancement assignments , it is throwing error as
"SAP enhancement V45A0003 already belongs to project Zxxxxx"
How to resolve it..
regards
chandrakanth.k
‎2008 Dec 18 4:00 PM
Hello Chandrakanth,
imagine, you want to drive to the supermarket with your car. But your wife tells you, that your son is already using it, as he wants to drive to the cinema.
Now you have the following options:
1. Get your son out of the car and drive to the supermarket
2. Getting into the car as co-driver of your son. Then first drive to the cinema and afterwards to the supermarket.
3. Getting into the car as driver and ask your son, if he want's to be your co driver. Then drive to the supermarket first, and - in case it's still required - to the cinema.
Best regards
Stephan
‎2008 Dec 23 4:51 AM
>
> Hello Chandrakanth,
>
> imagine, you want to drive to the supermarket with your car. But your wife tells you, that your son is already using it, as he wants to drive to the cinema.
>
> Now you have the following options:
>
> 1. Get your son out of the car and drive to the supermarket
>
> 2. Getting into the car as co-driver of your son. Then first drive to the cinema and afterwards to the supermarket.
>
> 3. Getting into the car as driver and ask your son, if he want's to be your co driver. Then drive to the supermarket first, and - in case it's still required - to the cinema.
>
> Best regards
>
> Stephan
Love this analogy. I'll try to interprete this and let me know if I'm making some mistakes.
Your enhancement already used in other project, hence you have several options:
1. Get rid of existing implementation in that enhancement and put your code in it.
2. Write your code after existing codes, means that existing code will be processed prior your new code.
3. Write your code before existing codes, means that existing code will be processed after your new code.
This is a nice blog that discuss on how to implement option 2 and 3 elegantly.
If you can find multiple implementation Badi that can be used for your requirement, it always the best approach. However, if you can not found it, try check on that blog and apply it if needed.
Regards,
Abraham
‎2008 Dec 19 4:57 AM
Hi....
The enhancement u want to use for ur purpose is already active(included) with the project
ZXXXX(u specified).
Jus do ur coding in the exit of that enhancement without disturbing the other code that is
already there.
U write ur code and activate the exit(INCLUDE). Thats all.
U dont need to again go for creating a project in CMOD.
To check whether the exit u r using is active, go to CMOD, give that project name
ZXXXX(u specified), and in the components check for the exit. It should be active(Green Button)
befor the exit name.
Regards,
Veeranji Reddy P.
‎2008 Dec 19 5:11 AM
hi,
the user exits are not a reusability. if u assign a enhancement to a project. we cannot use the same enhancement in the different project. better u can search for any badi.
regards,
sathis.
‎2008 Dec 22 12:59 PM
Hello,
Customer enhancements are not reusable. That means if it is already assigned to a project you can not use it again for another purpose.
In your scenario you need to find a appropriate BADI for your transaction. Because BADI can be reused multiple times in diffrent implementations.
Regards
Arindam
‎2008 Dec 22 1:00 PM
Hi,
You know the enhancement is a one time used component and is specific to a z program.
The error you got might be because of it.
I agree with the Veeranji Reddy said above, see whether your project name is active , if it is active , I mean green color, if not need to activate it.
Here u201CSAP enhancement V45A0003 already belongs to project Zxxxxxu201D
Here V45A0003 which Predefine sold-to party in sales document for other enhancement.
Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
Some times , you get error due to some un refreshed data in the system variables, try once again .
Thank you,
Lakshmi Narayana
‎2009 Feb 04 2:35 PM