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

Re: IW52- Reference Date - to make non editable

$
0
0

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.

Capture.JPG

 

Note

  1. 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.
  2. 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


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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