Symptoms
Issue _1: Customer is getting the following error after executing LoadResults method of K2Connect SmartObject
"Method ‘Method Name' not found".
Issue _2: After creating K2 Connect SmartObject, the input parameter which is not required when execute the method via test cockpit becomes required parameter in SmartObject method.
Diagnoses
I believe the issue _1 can be resolved restarting K2 blackpearl and K2 Connect services before creating service object and SmartObject.
When testing with OOB BAPI, we noticed that if we set the direction for the Function Interface parameter to InOut, the parameter will not set as required when creating SmartObject.
Resolution
Issue_1: Restarting K2 blackpearl and K2 Connect services.
Issue_2: Setting the direction for the Function Interface parameter, Input_Data to InOut resolved the issue.