cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add method in BADI implementation ??

11-08-2005 10:46 PM
1339 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

Hi,

I have implemented the MB_MIGO_BADI and its called ZMB_MIGO_BADI. Can I add my own methods in it ?

My idea is to put to and get from the data to a subscreen that i invoke from this BADI.

I want to display a list of values taken from a DB field and display in the subscreen.

Any tips ??

thanks

0 Likes

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

HI,

You can create your own method.

Double Click on the Implementing Class.It will take you to the class interface.Here you can add your methods & define its parameters & do the abap coding.

Former Member
0 Likes

Hi Rad,

You cannot add new methods to an implementation. You can always add methods to the definition (se18) which in turn will be reflected in the implementation. But even then you cannot use it for the purpose you specified.

For your requirement, you should have a separate class which has all the required methods for extracting the values and displays them on the screen. You can then use this class in the BADI implementation.

Hope this helps.

Regards

YM

Please reward points to helpful answers

Former Member
0 Likes