The reaction of diketene (I) with 2-ethylhexylamine (II) gives N-(2-ethylhexyl)acetoacetamide (III), which is reduced to the target compound with H2 over Raney-Ni in methanol.