Hi Vineeth
Solution:
Option1
- Forget about Notes and their behavior.
- Assume your Order is PM02 (and Notification can be any type which is integrated with it).
- Remove the OIAL Req. (mandatory) setting for VIQMEL-QMTXT field for that Notification type. Means shift it it back to Input.
- Now make field CAUFVD-KTEXT Req. in OIAN for Order type PM02.
- Here on when you try to Save the Order (PM02) without Short text, it will not let you Save throwing the following error in status bar
Option2
First 3 steps are same as above
4. Now put the following code in the include ZXWOCU07 (of user-exit: IWO0009, F/exit: EXIT_SAPLCOIH_009).
IF caufvd_imp-auart = 'PM02' AND caufvd_imp-ktext IS INITIAL.
MESSAGE: 'Field Description must still be filled.' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
After this the Order Save behavior is as under:
When you try to save the Order without the Order short text, it throws the following error.
Close pop-up > hit Enter > Fill the Order short text > click Save. The Order will be save alongwith Notification .
Good luck
KJogeswaraRao