2005 Sep 08 3:12 PM
Hello everybody,
I have to add an authorization to MB1C so that the user can't introduce a specific movement to a type of material and it can to other type of material.
I've not found some standard object what do it this. So I've created a new object, and in the user exit xxx validate the check, but when I should show the error, it shows "cancelled update" and I must go to SM13.
Are there another way to do this ? Any idea ?
Best regards
Paloma
2005 Sep 08 3:18 PM
2005 Sep 08 4:48 PM
Hi,
Exit EXIT_SAPLMBMB_001 is called in update task when saving the material doc. If you issue an error message here you will get an update error.
Try user exit EXIT_SAPMM07M_001 ( ZXMBCU02 ) in enahncement MBCF0002 . This will throw error on screen itself. You can also use MB_CHECK_LINE badi which has same functionality.
Cheers.