K2 connect

This tutorial introduces K2 connect and describes the basic architecture used to expose SAP BAPIs as K2 SmartObjects.

At the end of this tutorial, you should have a basic understanding of K2 connect and how it can expose SAP BAPIs as K2 SmartObjects, and how the SmartObjects methods and properties can then be exposed in user interfaces such as K2 smartforms.

This K2 connect tutorial consists of three parts:

  • Part 1: Configuring a K2 connect Destination
    In Part 1, we will configure a new destination to an existing sample SAP system.
  • Part 2: Testing the K2 connect Service Object and K2 SmartObject
    In Part 2, we will explore the exposed BAPIs in the SAP system and use the K2 connect Test Cockpit to execute a BAPI method, then review the results returned. Using Visual Studio, we will generate a new K2 connect Service Object and add a BAPI method, customizing the list of functions and properties we want returned. We also look at structures within the functions and customize a list of properties within a structure that we will then use in a later step.
  • Part 3: Developing with K2 connect
    In Part 3, we expand on the concepts learned in Parts 1 and 2 and begin developing with K2 connect. We will learn how to apply a filter to SAP methods, so that we can control the BAPI methods returned. We will expand on Service Objects and SmartObjects by manually configuring a custom method, adding custom parameters and mapping those parameters to existing BAPI properties. We will learn how to generate a View from the SmartObject to show how the properties and methods can be integrated into SmartForms as a user interface.
    We will also to extend Service Objects by adding our own custom structures and XML properties. As an optional step, we will apply the extended SmartObjects to SmartForms by calling the methods from multiple BAPIs so that additional, more detailed, information is returned for an SAP employee record.

To get started with this tutorial, begin with Part 1: Configuring a K2 connect Destination.