Page 1 of 1

User-exist for material/batch deletion

Posted: Wed May 08, 2019 2:48 am
by GreenGreen
Dear Experts,

In ECC 6.0, a material can be marked on deletion flag even the stock quantity > 0.

Regarding this, is there any user-exit, method/Class or BAPI that can be used with Tx code MM06 and MSC2N, so that when user try to delete the material at different level, system can check where stock exists and prompt error?

Thank you.

Green Green

Re: User-exist for material/batch deletion

Posted: Thu May 09, 2019 4:32 am
by Gothmog
Doesn't look like there is one.
In MM06, you could implement enhancement point BUCHEN_01 (for enhancement spot ES_SAPMM03G).

Re: User-exist for material/batch deletion

Posted: Mon May 27, 2019 2:22 am
by GreenGreen
Dear Gothmog,

Thanks for your advise.

I tried to set break-point in BUCHEN_01 by SE20, but system not allow me to create Enhancement there.

Thanks & regards,

Green Green

Re: User-exist for material/batch deletion

Posted: Wed May 29, 2019 4:52 am
by Gothmog
Strange - this enhancement spot is NOT set as SAP internal.

Try this way:
- go to module BUCHEN in include MM03GI00 in transaction SE80
- click on the Enhance button in the toolbar
- right-click on enhancement point BUCHEN_1, menu Enhancement operations/Create implementation

You should be able to add an implementation with your code.