# Step 3: Create Logical System for Workato
If you have no plans to use IDocs but only RFCs, you may skip along to step 6 where we show you how to configure Workato's OPA. In this example, since we named the RFC Destination to "WORKATOTST", we will need to define the same in the RFC Destination input here. Enter your RFC Destination created in the previous step. Remember to save this port as you will need it later on. When prompted for your port, you may either create a new port or have one generated for you. Use the transaction WE21 to define a port for sending and receiving IDocs of type Transactional RFC. Save and you should see your newly created RFC destination. Make sure that the communication type is set to Unicode. Proceed to the MDMP & Unicode or Unicode tab. In the Technical Settings tab, select the Registered Server Program option and enter in WORKATO(Case sensitive) as the program ID. Select the TCP/IP Connection folder and select the create button. In SAP, use Transaction SM59 to create a new RFC Destination of type TCP/IP (type T). # Configure IDoc and RFC in SAP # Step 1: Register a Program ID for Workato in SAPGUI If you encounter error at any step, please review the Troubleshooting section. IV/ Configure SAP connector in Workato UI.III/ Configure Workato On-prem agent on SAP server.II/ Create a Workato integration user in SAP.Please follow these steps strictly in this sequence to configure the connection: The SAP On-premise connector can connect to both on-premise SAP system and SAP system on a server behind the corporate firewall. # How to connect to SAP On-premise on Workato If you have trouble connecting to Workato via RFCs, please review the Troubleshooting section. Find out how to set up an API endpoint on Workato and connect SAP directly to Workato here. RFCs can also be configured to leveraged to call Workato directly from your SAP instance. Workato can call SAP RFCs in an SAP system to fetch the data returned or make synchronous updates to the SAP data.
It is the process of calling a function module which is residing on a different machine from the caller program. RFC is a SAP protocol that handles communications between SAP systems and third party applications. IDoc is independent of the direction of data exchange, having both Outbound and Inbound capabilities. Any application can use IDoc by following the syntax and semantics of IDoc. IDoc is an open interface which is independent of the internal data structure stored in SAP, and independent of sending or receiving applications. It is simply a data container used to exchange information between SAP systems or between SAP and 3rd-party systems.
The term IDoc stands for intermediate document. Transactional RFC (invoke synchronous RFC and BAPI in SAP).
The connector supports the following communication methods with SAP: Please refer to SAP Note 1077727 - SAP JCo 3.0 release and support strategy (opens new window) for details on JCo versions. It requires the SAP Java Connector (JCo) to work. Workato's On-premise SAP connector supports SAP ERP ECC 6.0 and later, SAP CRM, SAP SRM, SAP SCM, and any other modules compatible with the NetWeaver platform. Using Workato, you can build powerful automation around SAP and other applications, without writing a line of code. The connector supports using IDoc or RFC to communicate with SAP. Workato SAP On-premise connector allows you to connect with SAP system on-premises or on a server behind a corporate firewall.
SAP is an enterprise resource planning software used by the largest corporations in the world.