Connecting
Connecting with the cdata.sapbusinesswarehouse Module:
The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:import cdata.sapbusinesswarehouse as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=http://localhost:8000/sap/bw/xml/soap/xmla;")
Once the connection is created, you can use it to execute subsequent SQL queries.