saprfcjco

RFC destination authentication from Non-SAP system


I'm trying to call a BAPI from Non-SAP system using SAP JCo. It expects a user, password. Can a user/pwd can be created specifically for RFC destination or should we use actual SAP user id?


Solution

  • The authentication happens in SAP, thus, you must use SAP user and password to connect via jco connection string. Typically, you will need to request your SAP team to create a system user in SAP with the authorization to access BAPIs. Then, you would use jco to build the connection string or connection object with SAP server name, system number, client number, SAP system user name and password.