Substituted carboxylic acid amides of general formula ##STR00001##
wherein A, B, and R.sup.1 to R.sup.5 are as defined herein, and the
tautomers and the salts thereof, particularly the physiologically
acceptable salts thereof with inorganic or organic acids or bases, which
have valuable properties, such as antithrombotic activity and factor
Xa-inhibiting activity.