The new dynamical diffraction approach to X-ray diffraction on lateral crystalline structures has been developed to investigate the angular and spatial distribution of wavefields in the case of the Bragg–Laue geometry in non-perfect lateral structures. This approach allows one to calculate reciprocal space maps for deformed lateral crystals having rectangular cross sections for both the transmitted and reflected wavefields. Numerical modelling is performed for crystals with different lateral sizes, thicknesses and deformations. The approach can be used in coherent diffraction imaging to simulate Fraunhofer diffraction patterns produced by relatively large deformed crystals.