Updated on 2023-05-17 GMT+08:00

SapRfcConfig

Path

com.roma.apic.livedata.config.v1.SapRfcConfig

extends

java.util.Properties

Description

This class is used together with SapRfcClient to configure the SAP client.

Method List

Returned Type

Method and Description

Object

put(String key, Object value)

Set configuration parameters.

Method Details

public Object put(String key, Object value)

Set configuration parameters.

Input Parameter

  • key indicates the key in configuration information.
  • value indicates the key value in configuration information.
    The following configurations are supported:
    • jco.client.ashost: SAP server IP address
    • jco.client.sysnr: system ID
    • jco.client.client: SAP group
    • jco.client.user: SAP username
    • jco.client.passwd: password
    • jco.client.lang: login language
    • jco.destination.pool_capacity: maximum number of connections
    • jco.destination.peak_limit: maximum number of connection threads
    • apic.async: indicates whether asynchronous calling is used. The value true indicates asynchronous calling, and the value false indicates synchronous calling. The default value is false.

Returns

Key values.