我正在尝试通过 rfc 调用(.NET 连接器 3)使用功能模块 RSAQ_REMOTE_QUERY_CALL,但选择参数有问题。我的查询有两个参数:
- 材料 (SP$00001)
- 语言密钥 (SP$00002)
我想从我的 C# 程序中提供它们,并且根本不想使用变体。当我使用变体时 - 查询工作得很好,但是使用参数时,我总是得到 NO_DATA_SELECTED 异常。我附加这样的参数:
var selection = query.GetTable("SELECTION_TABLE");
selection.Append();
selection.SetValue("SELNAME", "SP$00001");
selection.SetValue("KIND", "S");
selection.SetValue("OPTION", "EQ");
selection.SetValue("SIGN", "I");
selection.SetValue("LOW", "Material");
selection.Append();
selection.SetValue("SELNAME", "SP$00002");
selection.SetValue("KIND", "S");
selection.SetValue("OPTION", "EQ");
selection.SetValue("SIGN", "I");
selection.SetValue("LOW", "EN");
这个功能模块可以使用选择参数吗?