How to run a query using the K2 connect TestCockpit
See the preceding topic for details on how to create the service object: Create a Service Method. The K2 connect Test Cockpit is a data query tool that runs queries at design time against the local SAP Instance.
- To open the K2 Test Cockpit, right click on the BAPI method in the explorer or click on the Test Cockpit icon from the Service Object Designer.
- This example will use the K2 connect Service Object Service.
- Click on the icon on the right to load the K2 connect Test Cockpit.
- The K2 connect Test Cockpit will load. Once it has loaded select Load Interface and the K2 connect Test Cockpit will populate as shown below.
- From the Input section, scroll down and enter a date (today's date can be used).
- To perform a search for example All employees with their first name starting with A, scroll down to FirstName_M and enter A*. Click Execute.
- Minimize the Input section. From the Output section, locate PERSONAL_DATA and click Show Details.
- To view the contents of the returned data structure, scroll from left to right.