Hello,
Well then change the select statement so that it works after the upgrade.
When doing a select count(*) there is always an answer, even if it's 0, so the fact that sy-subrc is always zero makes sense.
"What's in the check function module? Maybe that also needs upgrading."
Nailed it.
regards
Rick