Skip to content

Client Information Required

Client Information Required in SAP Connector Prerequisites.

3 min read Updated SS

Client Information Required#

The following is the complete list of information that must be collected from the client before the adapter can be configured.

SAP System Connection#

Information Needed Example Notes
SAP System ID (SID) DE1 The SAP r3name; 3-character system identifier
SAP Client number 800 SAP logon client (Mandatory)
SAP Message Server hostname sapsrv-01.example.local Message server host for load-balanced logon
SAP Message Server port 3611 Typically 36NN, where NN = system number (e.g., 3600 for SYSN 00)
SAP System Number 10 2-digit instance number (sysnr), e.g., 00, 10
SAP Logon Group HEAL_APP10 Logon group configured for monitoring the user
SAP RFC username BASIS User authorized to call RFC function modules
SAP RFC password <password> Will be Base64-encoded for config
SAP logon language en ISO language code

Connection method: The adapter uses message server logon (group-based load balancing), not direct application server logon.

Provide mshost, msserv, r3name, and group. Not as host and sysnr.

SAP Instance to Monitor#

For every SAP instance (ECC, SolMAN, etc.) that should be monitored, the following information is required:

Information Needed Example Notes
Instance internal name sapsrv-01 Used as the sap_instance_name: typically <host>_<SID>_<SYS00>
Instance Heal name SAP_Node1 How this instance appears in Heal (must match heal_name and a1_logscan_heal_instance_mapper)
JCo destination file name ABAP_WITH_POOL_ECC The file_name used in the sap_connection and sap_instance tables

Heal Platform Registration#

Information Needed Example Notes
Heal agent UID 69279e63-bc77-4ef7-8362-abd930099f0c UUID from the Heal platform
Heal instance name / UUID 16ea5052-847a-48c8-97da-f50b2d1ef5a1 UUID of the Heal instance
Logscan instance name SAP_Node1 Must match sap_instance.heal_name

SAP Authorization Requirements#

The RFC user (e.g., BASIS) must have authorizations to call the following function modules. Confirm with the customer’s BASIS team which modules are licensed and enabled on their system.

Function Module Authorization Object Notes
SWNC_GET_WORKLOAD_SNAPSHOT S_RFC with FUNC=SWNC_GET_WORKLOAD_SNAPSHOT Core workload metrics
SWNC_GET_STATRECS_FRAME S_RFC with FUNC=SWNC_GET_STATRECS_FRAME Transaction statistics
CNV_MBT_READ_ST22_DUMPS S_RFC, S_DEVELOP, or Basis auth ABAP dump count
/SDF/GPC_GET_TRFC_ERRORS S_RFC tRFC error count
/SDF/EWA_GET_UPDATE_ERRORS S_RFC Update error count
TRFC_QOUT_GET_ERROR_QUEUES S_RFC qRFC outbound error queues
TRFC_QIN_GET_ERROR_QUEUES S_RFC qRFC inbound error queues
TRFC_QOUT_GET_CURRENT_QUEUES S_RFC qRFC outbound current queues
TRFC_QIN_GET_CURRENT_QUEUES S_RFC qRFC inbound current queues
ENQUEUE_READ S_RFC, S_ENQ Lock entry count
RFC_READ_TABLE S_RFC, S_TABU_DIS for TBTCO Background job count

The minimum requirements for basic monitoring are:

  • SWNC_GET_WORKLOAD_SNAPSHOT,
  • SWNC_GET_STATRECS_FRAME,
  • RFC_READ_TABLE.

Disable others in sap_instance_functional_module_mapping if not needed.

Network Requirements#

From To Port Protocol Purpose
Adapter host SAP message server 36NN (e.g., 3611) TCP Initial logon and dispatcher routing
Adapter host SAP application servers 33NN (e.g., 3310) TCP RFC calls after message server routing
Adapter host MySQL host 3306 TCP Reading adapter configuration

Note: Message server logon uses the message server port for initial contact, then RFC is routed to application server ports (33NN). Both must be open in firewalls.

Platform Prerequisites#

Java & Libraries#

Requirement Value
Java Java 8
SAP JCo JAR sapjco3.jar (in sapadaptor/lib/)
SAP JCo native library libsapjco3.so on LD_LIBRARY_PATH
Database MySQL with SAP adapter tables populated
# Required before starting the adapter:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/heal/ext-system-adapter/sapadaptor/lib

Required Files and Folders#

Path Purpose
/opt/heal/ext-system-adapter/sapadaptor/lib/sapjco3.jar SAP JCo Java library
/opt/heal/ext-system-adapter/sapadaptor/lib/libsapjco3.so SAP JCo native library
/opt/heal/ext-system-adapter/conf/ Source .jcoDestination files
/opt/heal/ext-system-adapter/conf/enct/ Temporary runtime copies used by JCo
/opt/heal/ext-system-adapter/conf/sapTaskType.properties Optional task type labels for transaction step names

JCo Destination File#

The adapter reads the source .jcoDestination file from file-path, decodes the Base64 password, writes a temporary copy to temp_filePath, uses that file for the SAP call, and deletes the temporary file afterward.
Template (stored in conf/ as ABAP_WITH_POOL_ECC.jcoDestination):

jco.client.client=800
jco.client.user=YOUR_USER
jco.client.passwd=<password>
jco.client.lang=en
jco.client.mshost=YOUR_MESSAGE_SERVER
jco.client.r3name=YOUR_SID
jco.client.group=YOUR_LOGON_GROUP
jco.client.msserv=36NN
jco.client.sysnr=NN
jco.destination.pool_capacity=3
jco.destination.peak_limit=10

Note: jco.client.passwd must be Base64-encoded. The adapter detects properties whose key contains `passwd` and decodes them at runtime.

Adapter Framework Tables (from adapter.sql)#

Required by the framework are as follows:

Table Purpose
adapter_chain_config Chain definitions (extractor class, sleep interval, thread pools)
adapter_chain_worker Worker class registrations
adapter_chain_repository MySQL connection pool config for repository beans
worker_chain_mapping Worker-to-chain execution order
worker_parameters Runtime key-value parameters per worker
a1_logscan_heal_instance_mapper Binds the adapter instance to the Heal agent/instance
a1_adapter_state Internal state tracking
heal_kpis Maps internal KPI IDs to Heal platform KPI IDs
domain_to_heal_kpi_mappings Domain-level mapping from sap_kpis to heal_kpis

heal_kpis and domain_to_heal_kpi_mappings are not mentioned in the previous documentation. They are required for KPI routing to the Heal platform.