Application Development 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: 

BADI's

Former Member
0 Kudos

Hi guys,

I have copied MB_MIGO_BADI as ZZMB_MIGO_BADI and i put a break-point in the method LINE_MODIFY actually i have to write some code related to MIGO transaction code for goods issue in that Method. But what i wonder is that particular ZZMB_MIGO_BADI is not getting triggered and i also tried to write

user-exits for MIGO Transaction Even that is not getting triggered if i save or do any changes in MIGO Transaction Code for goods issue.

So i am in deep trouble and i am unable to understand what to do now. As i need to submit this today. So guys please help me rewards is guaranteed.

Regards,

Naveen Kumar T.

6 REPLIES 6

Former Member
0 Kudos

Hi Naveen,

After putting the code in user-exit have you activated your project in CMOD?

Regards,

Atish

0 Kudos

yes atish i have did that..... even i am not able to get that User-Exit or Badi get triggered. Can you please help me in this?

0 Kudos

Hi Naveen,

With out writing your code, just put breakpoint- hard code BREAK-POINT and check whehter that BADI/EXIT is meeting your requirement.

Thanks,

Anitha

Former Member
0 Kudos

mb_migo_badi....what is it? i cannot find any such badi in my system. to activate badi implementation you need to go to se19, give your implementaion and activate it.

Probably we are working in different system, go to se18 and give this badi name. On meny bar click on implementation and see overview, if nothing is there then create it, you need to give implementation name.

Then go to se19 activate your implementation and then put a breakpoint.

If an implementation is already there and you want to add your code over there. Go to implementation overview, chck for the name. Check whether it is acive or not. Go to se19 give that implementation name in interface tab double click on that method put breakoint and check.

0 Kudos

Hi swetha,

i have did what you have wote here.... but i am still not getting that BADI triggered when i save any changes in MIGO Transaction code.. and i have found one WB2_MIGO_PROCESS impelementation technique which is getting triggered. but it is standard Implementation i think... i will not be able to change it so i copied it in as ZMB2_MIGO_PROCESS and put a break-point in it but even this not getting triggered so is there any problem with our SAP or is this a normal issue.... i am unable to understand what to do .. so pleqase can you help in anyway .

Regards,

Naveen Tiramdasu.

0 Kudos

Hi,

To implement BAdI you will have to use transaction SE19.

Please follow steps -

SE19

Enter ZMB_MIGO_BADI

Select 'Create'

Enter Definition name as MB_MIGO_BADI.

Modify Method POST_DOCUMENT as per your requirement. To get proper coding.

Goto SE18 -> Enter BADI definition as MB_MIGO_BADI

From Menu

GOTO->Sample Code ->Display ( and you will get all methods, double click on any method to get sample code.

if your MSEG tableis having custom fields, it will be automatically populated in POST_DOCUMENT method.

if the above is not work then You may need to open an OSS note with SAP on this issue.This might be a bug in the BADI itself.

Regards