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

How to trigger error message from MM06 while saving?

former_member569532
Participant
0 Likes
1,259

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
Read only

Sijin_Chandran
Active Contributor
0 Likes
1,062

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
Read only

former_member214878
Active Participant
0 Likes
1,062

Hello Anu,

Have u tried BADI_MATN1 ?

Regards,

Ravindra Sonar

Read only

Sijin_Chandran
Active Contributor
0 Likes
1,063

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).

Read only

0 Likes
1,062

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

Read only

0 Likes
1,062