Skip to content

How can I get the RFCTYPE_TABLE contains parameters #116

Description

@wanwan-chen

This code can get the RFC Function Metadata,but Metadata contains some Rfctable,How can I get the Rfctable parameters ,

With the same input parameters, the results returned by calling RFC with SapNwRfc are inconsistent with those returned by directly calling RFC in SAP. Therefore, I would like to know whether the structure of the RFC returned by SapNwRfc is different from that of direct access in SAP.

var functionMetadata = connection.GetFunctionMetadata("SOME_SAP_RFC");
var functionName = functionMetadata.GetName();
var parameterCount = functionMetadata.Parameters.Count;
foreach (var parameterMetadata in functionMetadata.Parameters)
{
var parameterName = parameterMetadata.Name;
var parameterType = parameterMetadata.Type;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions