Curt, while Spanair is no *A member, they are a partner of LH M&M. So I would not see why one should not get miles on this flight. They would - however - probably not count towards status. To be certain, I would book that flight under the JK flight number and not the SK one.