Skip to Content
avatar image
Former Member

c# call RFC, how to pass OPTIONS and FIELDS parameters to SAP.

我写了一个c#程式,去call RFC_READ_TABLE,请问在程式中,怎么传递OPTIONS的值,去call 这个RFC。
dll:sapnco 3.0
局部调用代码:
SAPRFC = SAPRepo.CreateFunction("RFC_READ_TABLE"); SAPRFC.SetValue("QUERY_TABLE", "ZETS_CALENDAR"); SAPRFC.SetValue("DELIMITER", ",");

SAPRFC.SetValue("NO_DATA", "");

SAPRFC.SetValue("ROWSKIPS", "0");

SAPRFC.SetValue("ROWCOUNT", "0");

SAPRFC.Invoke(SAPDest);

//如何传递OPTIONS的值给,这个RFC调用,方便限制查询条件

pobjRFCData = SAPRFC.GetTable("DATA");

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers