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

BADI Implementation

Former Member
0 Likes
1,455

Hi All,

I need to implement the BADI PT_ABS_REQ for Absence Validations.

I have gone through the below link:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erphcm/validations%2bfor%2bess%2bleave%2brequest

It is detailed, but I donu2019t have much knowledge about BADI.

What is Enhancement Implementation?

Can anybody please tell me from where I have to copy this BADI (tcode) and where to write the code etcu2026..

Regards,

Dimple

8 REPLIES 8
Read only

Former Member
0 Likes
995

Did you search in SCN?

Okay i will help you to become more lazy

Just go thru this:

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=howtoimplement+badi&cat=sdn_all

Read only

Former Member
0 Likes
995

Copying someone else's code is not a good approach.

What Amit meant (I am sure) is that you should search for some knowledge about BADIs and enhancement points for this requirement and code that requirement carefully.

Sharing code is one thing (not a bad thing) but copy&pasting code regardless of the exact requirement is not a good thing - particularly if the code is not sustainable.

This practice creates "urban legends". Normally (as moderators) we delete such threads, if they are not challenged (which is even better).

Please save yourself a lot of time and read up about enhancement points (e.g. F1 on "enhancement") and then ask a more specific question if you are still stuck somewhere (tell us where you are stuck!).

Please take this in a positive way to help you.

Cheers,

Julius

Read only

0 Likes
995

I like this quote:

" ask a more specific question if you are still stuck somewhere (tell us where you are stuck!)."

Cheers

Read only

Former Member
0 Likes
995

Thanks for the suggestions.

In fact I am not a developer unfortunately I am developing this.

Actually I haven't communicated my problem properly.

In the link I have mentioned above, it was given that

Create an implementation for this BADI. Standard implementation is delivered: Implementation Name CL_PT_ARQ_REQ. In Ecc 5 ( ERP 2004) system, its a BADI Implementation CL_PT_ARQ_REQ and in ECC 6 system its an Enhancement implementation

I have little knowledge on BADI. Just I want know the difference between BADI Implementation and Enhancement Implementation.

If the procedure is same then know issues, if it they are different then I need your help on Enhancement Implementation.

Read only

0 Likes
995

Hi,

Till ECC6, BADI refers to nothing but customer exits where customer can implement his own code on top of the standard code delivered by SAP.

From ECC6 onwards, comes the New BADI concept where the BADI's are delivered as a part of enhancement framework and hence the name enhancement implementation. Though the name differs, it still refers to an implementation from customer and all you have to do is to write your own implementation of methods being defined in the BADI definition.

With the Enhancement framework, a BADI is actually defined through a enhancement spot name in SE18.

The interface ddefined in the abbove section will have all the methods(with signature/parametrs) DEFINED clearly.

Next step is to invoke SE19 transaction and create an enhancement implementation and in that a BADI implementation and define an implemnting class that holds the method implementation of the interface.

Now you can call your BADI implementation using

GET BADI <BADI_NAME>

CALL BADI ......

<removed_by_moderator>

Reegards,

Ragha.

Edited by: Julius Bussche on Nov 4, 2008 1:46 PM

Read only

Former Member
Read only

Former Member
0 Likes
995

Hi Ragha./ Chidanand,

Thank you very much for you help.

I have solved the problem.

Regards,

Dimple

Read only

Former Member
0 Likes
995

Very useful