Skip to main content

Connect python to SAP

Project description

saptools

Python SAP integration.

VBS Conversion

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

Usage:

from saptools import sap_converter

sap_converter.convert_file(Document="myVBSscript.vbs", out_file="converted.py")

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:

from saptools import saptools


# Session 0
session = saptools.SAP_connect()

# Session 1
session = saptools.SAP_connect()(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.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

saptools-0.2.1-py3-none-any.whl (1.4 kB view details)

Uploaded Python 3

File details

Details for the file saptools-0.2.1.tar.gz.

File metadata

  • Download URL: saptools-0.2.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for saptools-0.2.1.tar.gz
Algorithm Hash digest
SHA256 70310b493585c83e75ee90ac7f2fe04b091eef1c6e6d286003f6f0d4c0745bdf
MD5 3a912ce33d8650cfc2e44c5dd872683d
BLAKE2b-256 9146bc9da1c7153ae0b015be7b2e123126971948ecd868bb1144116c95c6d146

See more details on using hashes here.

File details

Details for the file saptools-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: saptools-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for saptools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1174454aaefac5841b55249b308aaa17db16eca75156ff06699e0698f84f5c8
MD5 c47193646dd8167a03815fee71770395
BLAKE2b-256 4a73799c88620c141d1ccb4f18a97f3905ee13c29bf02f15c6d27d7ec51a4f2c

See more details on using hashes here.

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