Users may noticed SAP jobs going in to UNKNOWN state or report back as UNKNOWN status. The agent and manager logs may report following error(s).
Failed to process an incoming AFM string: 2022XXXX 00001234+0100
ACE_SCH WA_AGENT 12345.123456_1/WAAE_WF0.1/MAIN STATE UNKNOWN Status(Unknown)
LStatus(SAP_CHAIN_GET_STATUS- JCoException: No more memory available to add rows to an internal table.)
Plugin(sap) User(WA_AGENT) Host(#######)
Release : 12 or above
Component: Workload Automation Agent
The Agent uses SAP JCo (Java Connector) to submit jobs to SAP. If JCo reports an exception, then there is some issue with SAP application side.
Following error indicates there is a problem with database used by the SAP side.
LStatus(SAP_CHAIN_GET_STATUS- JCoException: No more memory available to add rows to an internal table.)
The agent is reporting it is UNKNOWN because SAP is not providing any exit code. It is just reporting a text error message.
Applications normally send a numeric error code which most application and WA Agents can report back as FAILED or SUCCESS.
User(s) will need to check with SAP admin or SAP Support for any database side issues.