Hear from Salesforce leaders on how to create and deploy Agentforce agents.
Contact Us 1-800-596-4880

SAP JCo Server Services Configuration

If you want to receive IDocs or be called as a BAPI and don’t want to use the PORT number as the value for jcoGwService, then you will have to modify the Operating System services file:

  • Unix-based systems: /etc/services

  • Windows: C:\WINDOWS\system32\drivers\etc\services

This configuration is needed by JCo in order to be able to start the JCo Server, which needs to communicate to the SAP Gateway.

You can access the SAP Gateway on every application server under the TCP port sapgw{nr}, where {nr} is the instance number of the application instance.

You will need to add that SAP Gateway entry in the services file. So, for example, if you are trying to reach your SAP instance 21, then you will need to add:

sapgw21  3321/tcp
text

For more information, please check your SAP documentation.

Complete SAP Services List

Services Mappings