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

Cannot activate User Exit

Former Member
0 Likes
1,524

Hey everyone,

i want to add a column to the output in MD04. For that i want to use the User Exit "M61X0002".

I wrote some test code in the corresponding Z-Include "ZXM61U03".

I entered the transaction SMOD and activated the User Exit.

Now when i enter MD04, it is compiling something, but the test code does not execute.

And when i go to Settings->User Exit, it is greyed out and i cannot select a user exit.

How can i get the User Exit to work?
Thanks in advance!

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
1,284

You must create a project in CMOD and activate the project. Don't use SMOD, it's reserved to SAP (or to the rare clients who created some user exits).

Read only

RobertVit
Active Contributor
0 Likes
1,284

Hi,

try to use BAdI MD_ADD_COL_EZPS.

See also

https://blogs.sap.com/2013/08/12/badis-for-mrp/

Kind regards
Robert
Read only

Former Member
0 Likes
1,284

sandra.rossi thanks for your answer, it works now!
Is there a possibility for a user to set the User Exit to be on by default, so they do not have to manually select it every time?

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,284

I don't understand the question. Create a project in CMOD is the only way to implement and activate a Customer Exit. It's like asking is it mandatory to activate automatically a program when it's saved. It's just not how it works, The process of activating takes only 0.001% of your global time.