When trying to retrieve the spool list of an SAP job in WCC, the following error is received:
Error: E139011 Agent error response: [R/3 Code: E;064;No authorization to execute the operation]
Workload Automation AE System Agent with SAP Plug-in
The request top retrieve the spool list is sent from WCC to the SAP Agent plug-in. This in turn connects to SAP and invokes the BAPI_XBP_JOB_SPOOLLIST_READ_20 function module.
The error is returned from SAP to the Agent and back to WCC. In short, the default SAP user which is stored on the Agent in the <agent_root_dir>/<sap_destination>.properties file does not have the necessary permissions on the SAP system to run the BAPI_XBP_JOB_SPOOLLIST_READ_20 function module.
Add the missing authorization in the RFC-users profile and/or have your SAP Admins check the user's authorizations for running the BAPI_XBP_JOB_SPOOLLIST_READ_20 function module on the SAP destination.