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
Built Distribution
File details
Details for the file sapmanager-1.2.4.tar.gz
.
File metadata
- Download URL: sapmanager-1.2.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44d7cc805e87682cda7e464d98ff6ee85525997b8a7e9b087fda8b2f2d3ddc23 |
|
MD5 | 0c0ff4d21ce6ffb88462ebd19bc0eb95 |
|
BLAKE2b-256 | a5f488b80d1a5bfbf09304834c957f90a63d1f2dd5762fde5fe21647ad080612 |
File details
Details for the file sapmanager-1.2.4-py3-none-any.whl
.
File metadata
- Download URL: sapmanager-1.2.4-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871eeb231d65dd8b4789fefd53a5528ba4b18cf3c453b1e650db2353667511ba |
|
MD5 | 7b21ea7732821ba4192d66df7dad154f |
|
BLAKE2b-256 | eee8eea1b3142645e1514f2f277d788c55780aef2a229782e30752727f7ccb73 |