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 that trigger after saving Material document (MIGO)

Former Member
0 Likes
4,110

Hi,

I want a Badi that trigger after saving Material document (MIGO) ie after updating the MKPF and MSEG tables

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,620

These steps should enable you to find any BADI related to any transaction in a matter of minutes.

1) Go to the transaction SE37 to find your function module.

2) Locate the function SXV_GET_CLIF_BY_NAME.

3) Put a breakpoint there.

4) Now open a new session.

5) Go to your transaction.

6) At that time, it will stop this function.

7) Double click on the function field EXIT_NAME.

😎 That will give you name of the BADI that is provided in your transaction.

Regards,

Kashyap

These steps should enable you to find any BADI related to any transaction in a matter of minutes.

1) Go to the transaction SE37 to find your function module.

2) Locate the function SXV_GET_CLIF_BY_NAME.

3) Put a breakpoint there.

4) Now open a new session.

5) Go to your transaction.

6) At that time, it will stop this function.

7) Double click on the function field EXIT_NAME.

😎 That will give you name of the BADI that is provided in your transaction.

Regards,

Kashyap

4 REPLIES 4
Read only

Former Member
0 Likes
1,621

These steps should enable you to find any BADI related to any transaction in a matter of minutes.

1) Go to the transaction SE37 to find your function module.

2) Locate the function SXV_GET_CLIF_BY_NAME.

3) Put a breakpoint there.

4) Now open a new session.

5) Go to your transaction.

6) At that time, it will stop this function.

7) Double click on the function field EXIT_NAME.

😎 That will give you name of the BADI that is provided in your transaction.

Regards,

Kashyap

Read only

h_senden2
Active Contributor
0 Likes
1,620

badi MB_MIGO_BADI or MB_DOCUMENT_UPDATE

regards

Hans

Read only

Former Member
0 Likes
1,620

MB_DOCUMENT_UPDATE :- BADI when updating material document: MSEG and MKPF

MB_DOC_BADI_INTERNAL :- BAdIs During Creation of a Material Document (SAP Internal)

Edited by: krupa jani on Nov 25, 2008 10:01 AM

Read only

Former Member
0 Likes
1,620

HI

try to find BAdi yourself. its improve your confidents

go to SE24-> give the class name as CL_EXITHANDLER

go to get_instance method.

put a break-point on call method cl_exithandler=>get_class_name_by_interface

call your Transaction code

you will be stopped at that method.

In the exit-name you will get all the badi names.

Regards.

Jay