Related substance A was obtained by condensation of 4-[3-(piperazin-1-carbonyl)benzyl]-2H-phthalazin-1-one with 2-fluoro-5-[(4-oxo-3,4-dihydrophthalazin-1-yl)methyl]benzoic acid;related substance B was obtained by condensation of 4-[3-(piperazin-1-carbonyl)benzyl]-2H-phthalazin-1-one with butyric acid;related substance C was obtained from phthalide and 3-cyanobenzaldehyde via nucleophilic substitution,cyanohydrolysis,hydrazinolysis and amidation.These related substances were prepared under mild reaction conditions,simple operation and high purity,and their chemical structures were confirmed by LR-EI-MS,1H-NMR and 13C-NMR,which can be used for the quality study and control of olaparib.