0
votes

I want to introspect input parameters (and maybe output as well) of a RFC given it's name. I found methods RfcGetParameterCount and RfcGetParameterDescByIndex which have been used by the node-rfc library itself. But I am not able to figure out how to call these methods using client.invoke() or any other way.

https://www.npmjs.com/package/node-rfc

2
Does this answer your question? Getting RFC Function Module Parameters in C#Suncatcher
@Suncatcher the above link for C# provides RfcRepository.GetFunctionMetadata as the solution. I could not find anything like that for node-rfc.mangesh
I meant this answer which suggests module RFC_METADATA_GET which can be called form node-rfc as wellSuncatcher
Yes, that works same as RFC_GET_FUNCTION_INTERFACE in answer below.mangesh
Not the same, it is much more feature-rich, did you ever tried it? It allows fetching primitive types of structured parameters without RTTSSuncatcher

2 Answers

2
votes

RFC_GET_FUNCTION_INTERFACE returns the parameters of a given RFC.

0
votes

You may try this new rfmcall package: https://www.npmjs.com/package/rfmcall