Skip to main content

An unofficial library to run SAP logged into the selected ambient with the credentials provided, facilitating Scripting.

Project description

Welcome to Sap Manager!

A library that facilitates the creation of a session in SAP, through the credentials provided and information from the environment, promoting the ease of logging in and working with SAP's native Scripting.

Sap

A Class who starts SAP logged into the selected system with the credentials provided, facilitating Scripting.

Attributes

Attribute Type
system str
mandt str
user str
password str
path str or None
  • system: the system (by SID) you will use.

  • mandt: the mandt you will use in the system.

  • user: the user of the account you will use to login.

  • password: the password of the account you will use to login.

  • path: the path to saplogon.exe, If None the path used in the default SAP installation will be used.

  • language: the language that will be used in SAP, by default is "EN".

  • timeout: the timeout max value that will be used in SAP to connect into system, default is 10.

Example:

from sapmanager import Sap

session = Sap("PRD", "500", "Renks", "password")

After success, it will be possible to use the SAP scripting with your account already logged in the selected system.

Returns

Returns an object of type win32com.client.CDispatch ready to use an SAP session, by convention the variable is named "session".

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

sapmanager-1.2.4.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

sapmanager-1.2.4-py3-none-any.whl (4.9 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