【发布时间】:2012-08-18 18:06:17
【问题描述】:
我正在尝试通过 MVC3 应用程序上的 SAP Connector 3.0 从 SAP 获取数据。
连接没有问题。
我的问题是当我尝试从它说的表中设置结构的值时
“TABLE [STRUCTURE ZHRS_ABSENCES]:无法设置值(存储元素值的数组为空)”
我的代码如下:
//create function
IRfcFunction function = conex.Repository
.CreateFunction("Z_HR_PORTAL_GET_EMPLOYEE_DATA");
//get table from function
IRfcTable absenceHoli = function.GetTable("P_ABSENCES");
//setting value to structure
absenceHoli.SetValue(0, "0000483"); //this is where the error occurs
【问题讨论】:
标签: c# .net sap connector sap-dotnet-connector