Hello Raj,
- I believe you can have this check using user-exit QQMA0014. But it will be based on a Ztable having fields Company code (BUKRS) and Code Group.
- This exit while Saving the Notification, checks whether the combination of the Companycode and Code Group being used in the Notification exists in the Ztable or not. If it does not then, it will throw an error such as 'The code group used does not belong to this company code' . And the Notification will not be created / updated.
- This check needs to be done to all entries in the exit-tables namely T_VIQMFE, T_VIQMUR, T_VIQMSM and T_VIQMMA. Means you need to loop into the records of each of these tables (whichever is not empty) and check the Code Group and I_VIQMEL-BUKRS value combination exists in the ztable or not.
- So, code will be a bit lengthy over 40 lines,.
Good luck
KJogeswaraRao