sap.sap_operations.abap_transport_create module – Create transport request in SAP ABAP system
Note
This module is part of the sap.sap_operations collection.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install sap.sap_operations
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: sap.sap_operations.abap_transport_create
.
New in sap.sap_operations 1.13.0
Synopsis
Create transport request in SAP ABAP system
Module uses following SAP ABAP system remote enabled RFCs: CTS_API_CREATE_CHANGE_REQUEST CTS_API_READ_CHANGE_REQUEST
Uses NWRFC binary to connect to SAP and call remote enabled RFCs.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.6
pyrfc >= 2.7.0
See documentation for SAP pyrfc http://sap.github.io/PyRFC/pyrfc.html
SAP nwrfc SDK installed, see https://support.sap.com/en/product/connectors/nwrfcsdk.html
Parameters
Parameter |
Comments |
---|---|
Transport request category Choices:
|
|
SAP ABAP system client |
|
Transport request description |
|
Dictionary with HTTP(s) connection parameters and configuration to connect to SAP ABAP system |
|
SAP ABAP connection client (mandant) Default: |
|
SAP ABAP system hostname (to connect via http/https) |
|
SAP ABAP connection user language Choices:
|
|
SAP ABAP connection user password This is a no_log parameter - values will not be logged in ansible output |
|
SAP ABAP http(https) connection port Default: |
|
Flag to select connection protocol
Choices:
|
|
SAP ABAP connection user |
|
Transport request owner |
|
Dictionary with RFC connection parameters and configuration to connect to SAP ABAP system |
|
SAP ABAP application instance hostname |
|
SAP ABAP connection client (mandant) Default: |
|
SAP ABAP application system connection group (when connected to message service) |
|
SAP ABAP connection user language Choices:
|
|
SAP ABAP application message server hostname |
|
SAP ABAP message server service msserv is needed only, if the service of the message server is not defined as sapms<SYSID> in /etc/services. |
|
SAP ABAP connection user password This is a no_log parameter - values will not be logged in ansible output |
|
Importing parameters of RFC call are returned by the RFC call Usually, you do not need the IMPORT parameters in the result of Connection.call(). If return_import_params is set to Setting return_import_params to There is no equivalent parameter when connecting via HTTP(s), see http_connection. Choices:
|
|
ABAP allows two different ways to store strings A fixed length string type C and a dynamic length string type STRING. Strings of type C are padded with blanks, if the content is shorter than the predefined length. In order to unify the connectors behavior regarding strings, the rstrip option was introduced. If set to True, all strings are right-stripped before being returned by an RFC call. See <http://sap.github.io/PyRFC/client.html> There is no equivalent parameter when connecting via HTTP(s), see http_connection. Choices:
|
|
SAP ABAP system id (SID) |
|
SAP ABAP application system number |
|
Trace level for NW RFC SDK (0-3) Choices:
|
|
SAP ABAP connection user |
Notes
Note
This module is community supported
Module interface (parameters, output) expected to be stable but not guaranteed
Module planned to be released on Ansible Automation Hub after collecting some feedback
There is no guarantee that this module will be officially supported by Red Hat
Examples
- name: Create transport request in SAP ABAP system
sap.sap_operations.abap_transport_create:
description: Transport request description
owner: DDIC
client: "000"
category: K
rfc_connection:
ashost: application-instance-hostname
client: "000"
user: DDIC
passwd: "SecretPa$$word"
sysnr: "00"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
ABAP transport info for created transport request Returned: success Sample: |
|
ABAP transport request id of created transport request Returned: success Sample: |
|
RFC return code ‘000’ - success, all other codes are errors Returned: success Sample: |