add lower cases for the validation of sap code