Skip to Content
0

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

Dec 10, 2017 at 12:08 PM

35

avatar image
Former Member

我写了一个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");

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers