sap.sap_operations.abap_transports_info module – Fetch transport requests from SAP ABAP system based on search criteria
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_transports_info
.
New in sap.sap_operations 1.13.0
Synopsis
Fetch transport requests from SAP ABAP system based on search criteria
Information if fetched from SAP ABAP system using remote enabled RFC CTS_WBO_API_READ_REQUESTS_RFC
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 |
---|---|
List of attributes keys to read Default: |
|
Transport request category ‘K’ = Workbench ‘W’ = Customizing ‘*’ = any category Choices:
|
|
SAP ABAP system client If not provided, current client (mandant) will be used. |
|
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 If not provided, current user will be used. Use ‘*’ to search for all owners. |
|
If true read attributes of transport request Choices:
|
|
If true read task headers of transport request Choices:
|
|
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 |
|
Target system Default: |
|
Transport request status ‘D’ = Changeable (including ‘L’) ‘R’ = Released (including ‘O’) ‘*’ = all statuses (default) Choices:
|
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: Find all my transport requests in current system and client that are in changeable status
sap.sap_operations.abap_transports_info:
rfc_connection:
ashost: application-instance-hostname
client: '000'
user: DDIC
passwd: "SecretPa$$word"
sysnr: '00'
- name: Find all my transport requests in current system and client that are released
sap.sap_operations.abap_transports_info:
transport_status: R
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 |
---|---|
List of transport requests with information about them Returned: success Sample: |