5-phenyl-substituted N-(tetrazol-5-yl)- and N-(triazol-5-yl)arylcarboxamides of the general formula (I) are described as herbicides.In this formula (I), W, X, Y, Z and R are radicals such as hydrogen, organic radicals such as alkyl, and other radicals such as halogen. A and B are N and CY.