An RFC destination must be created on SAP Side. You need to perform the following
SAP RFC server configuration by modifying the
tsap-rfc-server.properties file and the SAP connection
configuration file.
Procedure
-
Enable IDoc reception by setting the
feature.idoc.enable
parameter
to true
in Feature section
.
-
feature.idoc.enabled=true
-
Configure gateway by setting the following three parameters.
-
jco.server.gwhost=##SAP Gateway Host##
-
jco.server.gwserv=##SAP Gateway Service##
-
jco.server.progid=##SAP Program ID##
-
Configure JCO client by setting the following parameters.
-
jco.client.ashost=##SAP Host##
-
jco.client.client=##SAP Client##
-
jco.client.lang=##SAP Language##
-
jco.client.user=##SAP Username##
-
jco.client.passwd=##SAP Password##
-
jco.client.sysnr=##SAP System Number##
-
Enable traces by setting the
jco.server.trace
parameter.
-
Launch the RFC daemon.
The following message appears if the RFC daemon starts successfully.