on 01-18-2008 10:58 AM
Hi all,
in MM06 i given a deletion flag for one material, when i went to sale order VA01 and creating a order it is giving a warning message and procedding but i want to put a Error message where can i do it pls help me.
Hi Hari,
As per my knowledge in the standard only warrning message will come,but if you want error message you need to activate user exit at sales order level. you can use the fallowing User Exit,
USEREXIT_SAVE_DOCUMENT_PREPARE
Progarm
MV45AFZZ
Discuss with ABAPer tell your requirement
If you use this user exit the sales order will not get save with deleted material.
I hope it will help you,
Regards,
Murali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hari,
You can have this solution also.( rather than modifying standard sap)
Use X-distr.chainStatus field in material master.
(MARA-MSTAV)
Define a sutable status at SPRO>>Logistics general>>Material MAster>>Settings for key fields>>Data relevant to SD>>Define Sales Status.
For each atatus you can have various slaes transactions blocked/allowed. Define suitable status and update the Material master with the status. System won't allow the sales order.
Hope this helps(Reward! if it helps)
Regards,
Chaitanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sure you can do it ......identify the message class just click on the message as you said it is a warning message
then goto the program ( sapmv45a ) standard program for VA01 and serach for the message and then edit it .
for seeing message class and message type TC - SE91
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.