2006 Mar 14 2:37 PM
Hi everyone,
We are trying to use an enhancement that was also used in one of the other projects. Its been released and in production. Does anyone have any documentation on this kind of development? If so, please send them to [email protected].
Also, any kind of enhancement document..do we need to assign enhancements to a business object? if so, why??
Thanks
Thilothama
2006 Mar 14 2:45 PM
Hi,
You can implement User exits/Customer exits only once.
If you want to have multiple implementation then you should go for BAdi.
Regards,
Abdul
Hi everyone,
We are trying to use an enhancement that was also used in one of the other projects. Its been released and in production. Does anyone have any documentation on this kind of development? If so, please send them to [email protected].
Also, any kind of enhancement document..do we need to assign enhancements to a business object? if so, why??
Thanks
Thilothama
2006 Mar 14 2:45 PM
Hi,
You can implement User exits/Customer exits only once.
If you want to have multiple implementation then you should go for BAdi.
Regards,
Abdul
2006 Mar 14 3:18 PM
So if the project in which we have the enhancement components is active and used in one implementation, we cannot use the same enhancements again? How can I use Badi's? Please send some documents if you have...
Can I change the existing enhancement in production to BADI and then use my project's enhancement also as BADI?? Please explain the procedure i should follow..
Thank you Abdul..
Thilothama
2006 Mar 14 3:24 PM
Hi,
Once You have implmented an user exit/customer exits you cannot re-implement it again.Now SAP is delivering everything based on BAdis so it would be worth if you learn this new beautiful technology.
You need to check whether your program is offering BADIs if so you can implement it.
There are lots of resources available on SDN.
Please go thru the knowledg pool http://help.sap.com
I am having some useful documents on this i shall forward it to your mail id.
Note:Pre-requisite for learning BADI is ABAP OBJECTS.
Regards,
Abdul Hakim
2006 Mar 14 3:38 PM
Here is my confusion.
As like any other program, we do changes to the enhancement code and reactivate the project, assign to a transport and then move it to the production - it should overwrite the existing codes right? why not this can happen??? What happens in BADI?? So I still have the implementation 1 in production in userexit and implement a BADI for my project which uses the same userexit as that of imple1??? Please clarify Abdul..
I greatly appreciate your rapid responses..
2006 Mar 14 4:20 PM
Hi Thilo,
The way BADI and user exits are implemented are entirely different.BADI is based on OO Concepts.It is possible to implement a BADI more than once.But the sequence in which they are called are unpredictable.
For ur question,Assume that i have an exit called SAPLMF01_EXIT_001 and i have implemented it in a project called TEST01.I have done this for transaction let us say VA01.And this has been moved to production.After some point of time there are some requirement needs to be implemented for other transaction MM01 in that situation you wont be able to create another project with this same exits.This is the significance of multiple implementation.But in BADI you can easily do it.
BADI is based on methods not function modules or subroutines..
Hope this will clarify you basic doubts..
REgards,
Abdul Hakim
2006 Mar 14 4:32 PM
Abdul,
Can I not do the changes in TEST01 itself using if/case and reactivate the same project and move it to production again? (is this what are you saying that I cant do more than one implementation??) Also my transactions are same and I have to use the same enhancements.
But there should be BADI available already for this enhancement - provided by SAP right?? or can I create a new BADI??
2006 Mar 14 4:43 PM
Hi Thilo,
You can do like what you have said.That is fine.
What i am trying to say is you cannot have two instances of the same enhancement.
For BADI SAP should provide it in the transaction.You are 100% right...
Regards,
Abdul Hakim
2006 Mar 14 5:04 PM
Hi Thilothama,
<b>You can make changes to an existing enhancement & move it to Production just like any other Program</b>.. What is the name of the enhancement that you are working on?
Regards,
Suresh Datti
2006 Mar 14 2:46 PM
The exits that I've used, you don't have to assign to a business object.
http://help.sap.com/saphelp_46c/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
Regards,
Rich Heilman
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |