Phenylpiperidinecarboxamide derivatives of the formula (I) in which the symbols R R R and R are each as defined in the description and salts metal complexes and N oxides of the compounds of the formula (I) and the use thereof for controlling phytopathogenic harmful fungi and processes for preparing compounds of the formula (I).