SAP RFC user 最小权限
今天作了幾個rfc供外圍系統調用,他們使用.net。
在.net調用時,提示“Lookup of function ET_PRDATA metadata failed for destination ZNMMPT_EXPORT_PR”。
這個錯誤,是由于GetFunctionMetadata()函數引起的,對此,NC03.0 API文檔文檔的描述是:
If the requested metadata is not in the cache and a destination is available a lookup is executed. If the lookup fails an exception is thrown.
If the metadata is not in the cache and no destination is supplied (i.e., destination is null), this method returns null.
?
出錯原因:用于連接SAP User的權限不夠。該RFC User的user type首先需要設置為communication。如果單獨給該user維護Role的話,該Role只需要增加一個權限對象S_RFC即可。S_RFC權限對象有三個字段:RFC_TYPE, RFC_NAME, ACTVT.
????????????? RFC_TYPE只能勾選FUGR;ACTVT只能是16(execute);RFC_NAME中填寫的內容是函數組,需要包含SYST、RFC1、RFCH以及所調RFC所在的函數組。基本上可以滿足遠程調用,如果還是不行,可以使用st01對RFC User進行權限的trace.
?
?
?
以上信息參考http://gestapo.diandian.com/post/2012-07-20/40030084963;
?????????????????http://blog.sina.com.cn/s/blog_473e013d0100y4pd.html
轉載于:https://www.cnblogs.com/lnu2471/p/3528454.html
總結
以上是生活随笔為你收集整理的SAP RFC user 最小权限的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux 安装nginx php my
- 下一篇: 递归算法经典实例python-Pytho