The S-layer protein SbpA of Bacillus sphaericus CCM 2177 recognizes a pyruvylated secondary cell wall polymer (SCWP) as anchoring structure to the peptidoglycan-containing layer. Data analysis from surface plasmon resonance (SPR) spectroscopy revealed the existence of three different binding sites with high, medium and low affinity for rSbpA on SCWP immobilized to the sensor chip. The shortest C-terminal truncation with specific affinity to SCWP was rSbpA(31-318). Surprisingly, rSbpA(31-202) comprising the three S-layer-like homology (SLH) motifs did not bind at all. Analysis of the SbpA sequence revealed a 58-amino-acid-long SLH-like motif starting 11 amino acids after the third SLH motif. The importance of this motif for reconstituting the functional SCWP-binding domain was further demonstrated by construction of a chimaeric protein consisting of the SLH domain of SbsB, the S-layer protein of Geobacillus stearothermophilus PV72/p2 and the C-terminal part of SbpA. In contrast to SbsB or its SLH domain which did not recognize SCWP of B. sphaericus CCM 2177 as binding site, the chimaeric protein showed specific affinity. Deletion of 213 C-terminal amino acids of SbpA had no impact on the square (p4) lattice structure, whereas deletion of 350 amino acids was linked to a change in lattice type from square to oblique (p1).