The SAP DB ODBC driver fulfils the ODBC 3.51 interface specification.
When developing your own applications, note that these differentiate between ODBC 2.x and ODBC 3.x versions. You should therefore use the function SQLSetEnvAttr to set the SQL_ATTR_ODBC_VERSION before you request a connection handle with SQLAllocHandle.