![]() |
VOOZH | about |
The CData ODBC Driver for SAP Business Warehouse can be used from any platform or development technology that supports ODBC, including PowerBuilder. This article shows how to connect to SAP Business Warehouse data and execute queries from the Database Painter and controls such as the DataWindow.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
To connect to SAP Business Warehouse, set the URL property to a valid SAP Business Warehouse server base URL. The driver must connect to SAP Business Warehouse instances hosted over HTTP with XMLA access.
The driver supports the following authentication schemes via the AuthScheme property:
By default, the driver 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.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for SAP Business Warehouse. In the Database Painter, you can use wizards and the UI to work with SAP Business Warehouse data.
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve SAP Business Warehouse data into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC" SQLCA.DBParm = "ConnectString='DSN=CData SAPBusinessWarehouse Source'" CONNECT USING SQLCA; dw_sales.SetTransObject(SQLCA); dw_sales.Retrieve();
Download a free trial of the SAP Business Warehouse ODBC Driver to get started:
Download NowLearn more:
👁 SAP Business Warehouse IconThe SAP Business Warehouse ODBC Driver is a powerful tool that allows you to connect with live data from SAP Business Warehouse, directly from any applications that support ODBC connectivity.
Access SAP Business Warehouse data like you would a database - read, write, and update SAP Business Warehouse Tables, etc. through a standard ODBC Driver interface.