In this paper we prove the global second derivative estimates for the second boundary value problem of the prescribed affine mean curvature equation where the affine mean curvature is only assumed to be in L. Our result extends previous result by Trudinger and Wang in the case of globally bounded affine mean curvature and also covers Abreu’s equation.