The job SAP starts and is submitted by manager to agent. The job appears to have been submitted by WA agent to SAP.
The user is able to verify that job completes in the SAP instance. However, WA agent never sends the complete state to manager. Also, normal command jobs run on the agent send by same manager.
Release : 11.x/R12.x
Component : Workload Automation System Agent for SAP
Following error may be seen in the agent logs.
XX/XX/2022 00:00:12.345-0400 1 main.Thread-8.CybSAPConfigAnalyzer.validateSapConfig[:1002] - Error: failed to connect to SAP. <com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to message server on host sap1234.example.com failed
Connection parameters: TYPE=B DEST=COR:800:EN:AUTOMATE MSHOST=sap1234.exzmple.com R3NAME=COR GROUP=Automation_COR PCS=1
TIME Thu Mar 7 00:00:00 2021
COMPONENT NI (network interface)
Add and entry for SAP instance in:
If the SAP instance is called COR and port is 3600, then entry will be like below (pre-pend instance with sapms):
If port and instance name is unknown, then consult SAP admin. After the entry has been added, restart WA agent.
Sample SAP instance used by agent (instance name used here is COR, change it accordingly):