【发布时间】:2020-04-06 11:22:20
【问题描述】:
在给定名称的情况下,我想自省 RFC 的输入参数(也可能还有输出)。 我找到了 node-rfc 库本身使用的方法 RfcGetParameterCount 和 RfcGetParameterDescByIndex。但我无法弄清楚如何使用 client.invoke() 或任何其他方式调用这些方法。
【问题讨论】:
-
这能回答你的问题吗? Getting RFC Function Module Parameters in C#
-
@Suncatcher 上面的 C# 链接提供了 RfcRepository.GetFunctionMetadata 作为解决方案。对于 node-rfc,我找不到类似的东西。
-
我的意思是 this answer 建议模块
RFC_METADATA_GET也可以称为 node-rfc 形式 -
是的,这与下面回答中的 RFC_GET_FUNCTION_INTERFACE 相同。
-
不一样,功能更丰富,你试过吗?它允许在没有 RTTS 的情况下获取原始类型的结构化参数
标签: node.js sap saprfc function-module