Scalar field effects on the orbit of S2 star