Shear force is the variation of bending moment with respect to distance along the longitudinal axis of the beam and it can be related as V=dM/dX So, the shear force will be zero when the bending moment is constant throughout the beam.