The invention relates to the novel substituted carboxamides of general formula(I), wherein A, B and R1 to R5 are defined as in claim 1, the tautomers,enantiomers, diastereomers, mixtures and salts thereof, especially thephysiologically salts thereof with inorganic or organic acids or bases, whichhave valuable properties. The inventive compounds have an antithromboticeffect and are factor Xa inhibitors.