CData Python Connector for SAP ERP

Build 22.0.8462

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy. For this connector, either of the following URL formats are acceptable when creating the engine:

Format 1


from sqlalchemy import create_engine
engine = create_engine("saperp:///?Host=sap.mydomain.com;User=EXT90033;Password=xxx;Client=800;System Number=09;ConnectionType=Classic;")

Format 2


from sqlalchemy import create_engine
engine = create_engine("saperp://EXT90033:xxx@/?Host=sap.mydomain.com;Client=800;SystemNumber=09;ConnectionType=Classic;")

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462