This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
When a developer attempts to call a BAPI (Business Application Programming Interface) using the K2 connect Test Cockpit and the BAPI selected exposes SAP Internal Tables, an error is thrown.
|Note: The following error scenario is one scenario where the error is known to occur. Not all steps are shown to reproduce the error.|
The error occurs when the query passed into the BAPI requests an internal table within the BAPI structure which is seen as a structure but is a collection.
Error when the K2 connect Test Cockpit is used
- Create a service object using the K2 connect for SAP Service Object Designer
- Use a BAPI for example HRRCF_GET_PROFICIENCY_HELPLIST, and add the GetList method
- Publish the service object, and enable Create as SmartObject
- Open the K2 connect Test Cockpit and run a query for example pass in the Qualification Group which is an integer (Eg: 60061132)
- The following error is thrown:
Error when the SmartObject Services Tester is used
If the error shown above, generated by the K2 connect Test Cockpit is ignored, and the developer continues to develop the application and creates a SmartObject based on the current service object, the following error will be thrown if the SmartObject Service tester is used
|Note: If any K2 connect queries have been run, it is mandatory that the K2 blackpearl Server is stopped during the update.|
- Ensure that Microsoft Visual Studio is closed (especially when installed on the same machine as K2 connect Server, this is required to update / replace assemblies)
- Stop the K2 connect Server
- Stop the K2 blackpearl Server, (see note above)
- Install the Hotfix
- Restart the K2 blackpearl Server
- Restart the K2 connect Server
- Rerun the query using K2 connect for SAP Test Cockpit, or the SmartObject Services Tester
This Hotfix is contained within the lastest K2 connect for SAP Update. The latest K2 connect for SAP Update is available as an independant installation package which can be found here: http://portal.k2.com/downloads/k2connect/default.aspx