I am having a Parameter P_STATUS which will refer the Ztable and Zdataelement.
P_STATUS holds only 3 values like ' ALL' , 'ACT', 'INV' .
For validation of P_STATUS how should i worte the code like this but it is not working correctly.
IF P_STATUS IS INITIAL..
IF P_STATUS NE ' ALL' or
P_STATUS NE 'ACT' or
P_STATUS NE 'INV' .
other than 3 any value should be error.
Reward is sure.