Skip to Content
0
Former Member
Sep 06, 2013 at 08:32 PM

Use of SAPTableFactoryCtrl.Table in Microsoft Visual Studio Express 2012

123 Views

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.