The present invention relates to novel N-substituted azaheterocyclic compounds of the general formula
wherein X, Z, R1, R2 and r are as defined in the detailed part of the present description, or salts thereof, to methods for their preparation, to compositions containing them, and to their use for the clinical treatment of painful, hyperalgesic and/or inflammatory conditions in which C-fibers play a pathophysiological role by eliciting neurogenic pain or inflammation, as well as their use for treatment of indications caused by or related to the secretion and circulation of insulin antagonising peptides, e.g. non-insulin-dependent diabetes mellitus (NIDDM) and ageing-associated obesity.