Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How to make fields mandatory in Message Address for Custom Notification.

$
0
0

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 = 'A1'.
   DATA: i_qmsm TYPE TABLE OF viqmsm.
   i_qmsm[] = t_viqmsm[].
   DELETE i_qmsm WHERE kzloesch = 'X'.
   IF i_qmsm[] 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 'A1')

 

Hope this answers your query.

Regards

Jogeswara Rao

 

Edited by: K Jogeswara Rao on Oct 8, 2010 9:21 AM


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>