Hi friends : I am getting following error on this Microsoft Visual Studio Express 2012 code. Trying to call a SAP Function Module.
Code :
fieldSelection.AppendRow()
i_field_Object = fieldSelection.ColumnName(1)
fieldSelection.Value(1, i_field_Object) = "I" <------- Error showing on this line
fieldSelection.Value(1, "OPTION") = "BT"
fieldSelection.Value(1, "CR_ON_LOW") = Form1.X_Ship_Dt_Frm.Text
fieldSelection.Value(1, "CR_ON_HIGH") = Form1.x_Ship_Dt_To.Text
Error :
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: Parameter not optional.