Dhivya,
Solution
Put the following code in the include ZXQQMU20of user-exitQQMA0014.
IF i_viqmel-phase = '4'.
IF i_viqmel-bezdt <> sy-datum.
MESSAGE 'Changes to the Reference Date/Time not allowed.' TYPE 'I'.
RAISE exit_from_save.
ENDIF.
ENDIF.
This gives rise to the error popup shown below when we change the Reference date value of the NOCO popup.
Note
- System proposes the current date as reference date which you do not want to get altered. Above code compares the value in the Reference date field with current date and throws the above error in case it is different.
- If your requirement is for a particular Notification type (say M2) then the first line of the code becomes
IF i_viqmel-phase = '4' and i_viqmel-qmart = 'M2'.
Hope this helps
Good luck
KJogeswaraRao