If in the Business object mapper NULL Value Option of that field is set to "Return alternate on null / Set null on alternate" with Null replacement value defined as " " (quote-space-quote), the generated code is missing the EndIf statement.
Set
If
Me
Else
End
A related but different problem appears when business object is saved if NULL Value Option is set instead to Return Alternate on Null: In that case an error ocurrs because Strataframe apparently sends a NULL to be saved, and Sql Server protests.
http://forum.strataframe.net/FindPost11844.aspx
(Be sure to copy out the second UI post after your download the first ZIP)