The interaction of cyclic enol esters with diversely substituted anilines and ethyl glyoxalate yields, under Sc(OTf)3 catalysis, disubstituted N-aryl lactams in a multicomponent reaction. The protocol allows access to the trans stereoisomers after an epimerization of the initial mixture in which the cis isomers predominate. Vinyl acetate yields quinoline derivatives, whereas isopropenyl acetate leads to the corresponding Mannich adducts.