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

Coding in BAdi

Former Member
0 Likes
509

Hi,

I wanted to know is there any difference in the coding done in BAdi and in the way we code in simple reports or userexits.

If yes, then wht is the diff plz guide.

Regards,

Akrati

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
476

Hi,

Basically to implement some BADI you have to implement class which implements the BADI's interface. You can see a name of the interface in transaction SE18 - tab Interface. When you click on Implementation -> Create, system will create class which will implement interface. So you just implement some methods of standard ABAP class. Hence there are no big differences between programming reports and BADIs. There are some restriction when your work inside the class.

Cheers

3 REPLIES 3
Read only

mvoros
Active Contributor
0 Likes
477

Hi,

Basically to implement some BADI you have to implement class which implements the BADI's interface. You can see a name of the interface in transaction SE18 - tab Interface. When you click on Implementation -> Create, system will create class which will implement interface. So you just implement some methods of standard ABAP class. Hence there are no big differences between programming reports and BADIs. There are some restriction when your work inside the class.

Cheers

Read only

Former Member
0 Likes
476

Please have a look at below link under Business Add-Ins and you will get the details about this.

[Business Add-Ins|https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050#section11 [original link is broken]]

I hope it helps.

Thanks,

Vibha

Please mark all the useful answers

Read only

Former Member
0 Likes
476

Badi is having interface, only those elements can be used in badi like FM, import and export parameters will be there in badi also