A thorough integral formulation describing the second harmonic generation under tightly focused linearly and radially polarized beams for an arbitrary distribution of nonlinear susceptibility over surface isotropic media was presented. We numerically simulated effects caused by straight edge region. In particular, we demonstrated that radiation in normal direction, which is forbidden common cas...