RE: Error in Passing LCField Array to SAP Daniel W Heichel 15.Aug.13 04:20 AM a Web browser Domino SAP R/3 Integration - SAP Connector All ReleasesWindows
You indicate that this is failing on the LCField.InsertField, and point that out in the code, but you're getting a connection error (Field Count Mismatch). Therefore, you must mean that it's failing on the SAP session call.
All LCField.InsertField does is to put an existing field into a field list.
Beyond that we can't say without knowing more about your BAPI. Does it take in exactly two parameters? An incorrect number of parameters is a standard reason to get a "field count mismatch" error.
Also, the syntax of your Call at the end there doesn't look quite correct. Usually the format will be
count = LCConnection.call
I don't believe that "Call xyz.call" is valid.