Skip to main content

Connect python to SAP

Reason this release was yanked:

Import errors on SAP converter

Project description

saptools

Python SAP integration.

VBS Conversion

SAPConverter.py takes SAP GUI scripts and converts to drag and drop py.

Run SAPConverter.py open the file for conversion and outfile.py file will contain code you can drag and drop into your project.

For CLI interaction:

SAPConverter.py -f myInFile.vbs -o myOutFile.py

-f and -o are optional and each option will fall back to it's default if not used

Connection to SAP

saptools.py handles the connection to SAP.

Connection defaults to session 0.

To connect to other sessions of SAP send session number as Argument:

# Session 0
session = saptools.SAPConnect()

# Session 1
session = saptools.SAPConnect(1)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saptools-0.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

saptools-0.2-py3-none-any.whl (1.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page