N-(4-carbamimidophenylamino) phenylglycineamide derivative compounds having the formula: ##STR1## in which E, g.sup.1, g.sup.2, Q, R and X.sup.1 to X.sup.4 are each as defined in the description, and hydrates or solvates and physiologically acceptable salts thereof can be used as inhibitors of the formation of the coagulation factors Xa, IXa and thrombin induced by the factor VIIa and by the tissue factor. These compounds can be used as medicaments for the treatment and/or prevention of thromboses, apoplexy, cardiac infarction, inflammation and arteriosclerosis or as antitumor agents.