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

Trigger an action after Material Save

Former Member
0 Likes
656

Hello ,

I have a requirement where I need to trigger an action ( A custom method)after saving a material thru MM01/MM02.

I looked for User exits and BADIs in these transaction but none of them seem to be helpful.

Can anyone suggest me an user exit/BADI or possible another way of doing it.

Thanks

Pravin

Hello ,

I have a requirement where I need to trigger an action ( A custom method)after saving a material thru MM01/MM02.

I looked for User exits and BADIs in these transaction but none of them seem to be helpful.

Can anyone suggest me an user exit/BADI or possible another way of doing it.

Thanks

Pravin

2 REPLIES 2
Read only

Former Member
0 Likes
491

use Workflow

Read only

Former Member
0 Likes
491

Hi Pravin,

You can find the BAdI by your own for any transaction. Just follow the steps mentioned below and you will get the list of BAdI.


Method 1:
Go to Tranaction: SE24.
open class CL_EXITHANDLER
Open the method " GetInstance"
Put Break point in the statement

 call method cl_exithandler=>get_class_name_by_interface 



Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.

Method 2:
find the Package name and go to the tranaction SE84.
Enter the package name
inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement.

Thanks,

Chidanand