$ 0 0 You can use the system variable SY-TCODE.You can give a check If SY-TCODE = 'qa12' or 'qa14'.If it is coming from some other program, you can store this value in a variable and do the validation. Regards, Philip.