Establishing a Connection
The objects available within our connector are accessible from the "cdata.sapbusinesswarehouse" module. To use the module's objects directly:
- Import the module as follows:
import cdata.sapbusinesswarehouse as mod
- To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
mod.connect("User=myuseraccount;Password=mypassword;URL=http://localhost:8000/sap/bw/xml/soap/xmla;")
Connecting to SAP Business Warehouse
To connect, set the URL property to a valid SAP Business Warehouse server base URL and provide authentication. The connector must connect to SAP Business Warehouse instances hosted over HTTP with XMLA access.
Authenticating to SAP Business Warehouse
The following authentication methods are supported:
- Basic
- Anonymous Authentication (None)
- Kerberos
Basic
Set User and Password and set AuthScheme to Basic.
Anonymous Authentication
If anonymous authentication is available, set AuthScheme to None to avoid authentication.
Kerberos
See Using Kerberos for details on how to authenticate with Kerberos.
Securing SAP Business Warehouse Connections
By default, the connector attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.