Near-field numerical analysis of surface plasmon polariton propagation on metallic gratings