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

Problem related BADI

Former Member
0 Likes
943

Hi folks,

I have to create BADI for displaying pop up in MIGO transaction for those material which are on hold in Purchase Requistion.I have already built up logic for that .I have found definition name for BADI also.I dont know where to put the code for pop up display .Should i create new badi implementation with name starting with 'ZXXXXXX' and give existing definition to that interface.Where i should put my code so that pop up will be displayed?

Hi folks,

I have to create BADI for displaying pop up in MIGO transaction for those material which are on hold in Purchase Requistion.I have already built up logic for that .I have found definition name for BADI also.I dont know where to put the code for pop up display .Should i create new badi implementation with name starting with 'ZXXXXXX' and give existing definition to that interface.Where i should put my code so that pop up will be displayed?

7 REPLIES 7
Read only

Former Member
0 Likes
895

Hi,

A BADI is nothing a abstract class. So, you should just create a implementation for the same and write the code in the method that is appropriate for your requirement.

You can create the implementation from SE18 and give whatever name you want for the same. Once you activate the BADI and the implementation you will see the effect in the standard transaction.

REgards,

Ravi

Note : Please mark all the helpful answers

Read only

0 Likes
895

Hi,

Goto SE19 --> Give the implementation name Z*** --> Give the definition name --> Click on the interface tab -->

It will show you the available methods for the interface --> Double Click on any method --> Write the Code --> Save and activate your implementation.

<b>Reward points if it helps.</b>

Message was edited by: Amit Mishra

Read only

Former Member
0 Likes
895

Hi Nirad,

if you know the definition of the BADI, go with that and Create the implementation from <b>SE19 not from SE18</b>.

in SE19 give the Implementation name Z***** and then create while doing that it will ask the Definition give the Definition which is already with you, and try to implement your logic for popup in one of the methods of the interface, it depends on your logic, where you want to give the popup.

Regards

vijay

Read only

0 Likes
895

Vijay,

You can create a implementation for a BADI from SE18 as well. Your statement is misleading.

Regards,

Ravi

Message was edited by: Ravikumar Allampallam

Read only

0 Likes
895

Hi,

i guess SE18 is for creating Definition, SE19 is used to create Implementation.

Regards

vijay

Read only

0 Likes
895

Yes, but you can create / change / delete implementations of a specific BADI from SE18 itself. In fact, if you want to list the implementations for a specific BADI, SE18 is the only place.

When you highlight the statement, it misleads the users that you cannot create a implementation from SE18.

In fact you wouldn't even need to go SE19 transaction as you can do everything from SE18 itself.

Regards,

Ravi

Read only

0 Likes
895

Thanks for the info.

Regards

vijay