在C#中获取RFC功能模块参数 [英] Getting RFC function module parameters in C#
问题描述
我当前正在C#中使用SAP .NET Connector 3.0,我想从给定的功能模块中获取诸如Import,Export和Table之类的参数。
I am currently using the SAP .NET Connector 3.0 in C# and I want to get the parameters like Import, Export and Table from a given function module.
是
推荐答案
假设您是指功能模块的接口定义中,连接器库中已经包含了从SAP系统查询和解释此RFC元数据的功能。
Assuming that you are referring to a function module's interface definition, the functionality to query and interpret this RFC meta data from a SAP system is already contained in the connector library.
作为NCo 3.0的入口点,在类 RfcFunctionMetadata
中查看其官方API文档 NCo30APIDocumentation.chm ,然后遍历其Items。您可以从方法 RfcRepository.GetFunctionMetadata(string functionName)
中获取特定ABAP功能模块的 RfcFunctionMetadata
对象。
As an entry point for NCo 3.0, have a look into its official API documentation NCo30APIDocumentation.chm at class RfcFunctionMetadata
and loop over its Items. You can get the RfcFunctionMetadata
object for a specific ABAP function module from method RfcRepository.GetFunctionMetadata(string functionName)
.
这篇关于在C#中获取RFC功能模块参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!