There are 2 ways to make any Notification filed mandatory.
1. Configuration route:
Here Under Plant Maintenance->Maintenance and Service Processing>Maintenance & Service Notifications>Notification Creation>Notification types> Set Field selection for Notifications:
You select influencing button and your notification type then select the Radio button under Required column (against the
field you want to make mandatory)
2. User Exit Route: Through SMOD -->User Exit QQMA0014 -->Cutsomer Exit EXIT_SAPMIWO0_020 -->Include ZXQQMU20.
Then put your code in this include.
Code Sample:
IF I_VIQMEL-QMART = 'AC'.
IF T_VIQMSM-MNGRP IS INITIAL.
MESSAGE ID 'IW' TYPE 'I' NUMBER 464 WITH 'Tasks'.
RAISE EXIT_FROM_SAVE.
ENDIF.
ENDIF.
(The above Code makes the 'Tasks' filling mandatory in the Notification type 'AC')
Hope this answers your query.
Regards
Jogeswara Rao
Edited by: K Jogeswara Rao on Oct 8, 2010 9:21 AM