The recent experimental data from the H1 and ZEUS collaborations at HERA collider for diffractive dijet production and open charm production in deep inelastic scattering and photoproduction are presented and compared to next-to-leading order (NLO) QCD predictions.