Application Development and Automation 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: 
Read only

Enhancement

Former Member
0 Likes
1,383

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

1 ACCEPTED SOLUTION
Read only

abdul_hakim
Active Contributor
0 Likes
1,367

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

9 REPLIES 9
Read only

abdul_hakim
Active Contributor
0 Likes
1,368

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

Read only

0 Likes
1,367

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

Read only

0 Likes
1,367

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

Read only

0 Likes
1,367

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..

Read only

0 Likes
1,367

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

Read only

0 Likes
1,367

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??

Read only

0 Likes
1,367

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

Read only

0 Likes
1,367

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,367

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