A new efficient procedure to calculate the structure constants in the Green's-function method is presented. The conventional algorithm in terms of the Ewald sums is replaced by alternate and quite convenient analytic expressions. As a specific test the conduction bands of solid neon are obtained. The relationship with the Segall-Yang approach is discussed.