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

Re: Notification priority

$
0
0

Hi Varun,

 

Here is the User-Exit Soultion for your Query.

I have just tested this.

You will get this error message, when user tries to change Priority value in the Notification, once the Order has been created.

Capture.JPG

 

Details:


User-Exit:

QQMA0014


Code you need to provide in the Include.(Tested and working well)

DATA: LV_PRIOK TYPE VIQMEL-PRIOK,
       LV_AUFNR TYPE VIQMEL-AUFNR.
SELECT SINGLE AUFNR FROM VIQMEL INTO LV_AUFNR WHERE QMNUM = I_VIQMEL-QMNUM.
IF I_VIQMEL-AUFNR IS NOT INITIAL.
   SELECT SINGLE PRIOK FROM VIQMEL INTO LV_PRIOK WHERE QMNUM = I_VIQMEL-QMNUM.
   IF I_VIQMEL-PRIOK <> LV_PRIOK.
     MESSAGE: 'Priority change is not allowed once Order has been created' TYPE 'E'.
   ENDIF.
ENDIF.



Best of Luck !


Jogeswara Rao K


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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