The present invention relates to a novel process for preparing amidrazones of the formula (I) wherein R, R
1
, R
2
, A, B, W, Y and n have the meanings as indicated in the description. Further, the invention relates to novel compounds used as intermediates in this process and to processes for their preparation.