Part 2: Testing the K2 connect Service Object and K2 SmartObject

This tutorial is a continuation of Configuring a K2 connect Destination. If you have not already completed Configuring a K2 connect Destination, please do so now before beginning this tutorial, as we will be using the destination for the exercises in this tutorial.

Using the same K2 connect destination that we configured in Configuring a K2 connect Destination, we will explore the available BAPIs in the SAP system, then test a specific BAPI with the K2 connect Test Cockpit. Essentially, we just want to check that our SAP environment is visible and that we can interact with BAPIs on the target SAP environment. From here, developers would normally take over and create Service Objects and SmartObjects for the SAP system (and that is expanded on in Part 3). For testing purposes, however, it is a good idea to generate a SmartObject so that we can verify that the entire SAP-connect-blackpearl stack is working as expected.

For this exercise, we will use the BAPI_EMPLOYEE_GETDATA BAPI. We will first test the BAPI using the K2 connect Test Cockpit. If the test is successful, we will create a new K2 connect Service Object, then publish it to a K2 connect server. We will generate a SmartObject, then use the SmartObject Service Tester to confirm our SAP connection is behaving as we expect it to.

Next Step: Part 3: Developing with K2 connect