Symptoms
K2 connect issue - identical functions one returns data but second function does not
Diagnoses
On SAP we have created 2 Remote enabled functions which both use the same export tables
The Function works as it should on SAP and populates the export table with the correct details. When running the first function through the K2 connect ? test cockpit the export table is populated as expected however when running the second function nothing is populated in this table even though when running on SAP the data is present.
Resolution
Enabling debugging in SAP allowed us to pinpoint the problem - the data was read from a field that had turned the related party name into capitals and K2 is case sensitive and couldn?t handle it like SAP directly.