A procedure for the calculation of the two-body spectral function of a
finite nucleus is presented. This spectral function is used to calcul
ate the longitudinal part of the O-16(e,e'pp) cross section assuming p
lane waves for the outgoing nucleons. Short-range correlation effects
are included in the pair-removal amplitudes by adding corresponding de
fect wave functions that are obtained from the solution of the Bethe-G
oldstone equation in the finite nucleus. The associated G matrix is us
ed as the effective interaction in a large but finite model space to c
alculate the pair-removal amplitudes in a random-phase approach. The r
esulting spectral functions exhibit clear differences between differen
t realistic interactions in the momentum range 2-5 fm(-1) for the init
ial proton momenta.