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: 

How to trigger error message from MM06 while saving?

former_member569532
Participant
0 Kudos

Hi Experts,

Is there any BADI/USEREXIT/ENHANCEMENT to show error message from MM06 while saving.Becasue system is allowing to delete even inventory item in

the warehouse.

Please advice how to show error message.

Thanks & Regards,

Anusha.B

1 ACCEPTED SOLUTION

Sijin_Chandran
Active Contributor
0 Kudos

Hi Anu ,

After googling so much I can't find with any valid User Exit or BADI.

So you can try with Implicit Enhancement in  program MM03GF00.

Inside

FORM BUCHEN .

ENDFORM.

Write your code before

CALL FUNCTION 'UPDATE_MATERIAL_LVORM' IN UPDATE TASK.

Almost all needed data you can get at that point. (Line number 320).

4 REPLIES 4

former_member214878
Active Participant
0 Kudos

Hello Anu,

Have u tried BADI_MATN1 ?

Regards,

Ravindra Sonar

Sijin_Chandran
Active Contributor
0 Kudos

Hi Anu ,

After googling so much I can't find with any valid User Exit or BADI.

So you can try with Implicit Enhancement in  program MM03GF00.

Inside

FORM BUCHEN .

ENDFORM.

Write your code before

CALL FUNCTION 'UPDATE_MATERIAL_LVORM' IN UPDATE TASK.

Almost all needed data you can get at that point. (Line number 320).

0 Kudos

Thank you for your reply.

Previously i have implemented BADI and user exits.But i don't know how to insert my code in

MM03GF00.

How to write code in MM03GF00.It is a SAP standard include.

Kindly advice.

Thanks & Regards,

Ansuha.B