java 調用SAP RFC函數錯誤信息


RFC接口調用SAP如果有異常會通過com.sap.mw.jco.JCO$Exception: 拋出異常
在開發中遇到的異常有如下

用戶名密碼可能是錯誤或者用戶無權限,確認用戶,必要時聯系SAP負責人,檢查用戶
(103) RFC_ERROR_LOGON_FAILURE: ##.#####,####
(103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)

call信息沒有填寫完整,檢查配置文件各個SAP配置信息是否完整
(101) RFC_ERROR_PROGRAM: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx

ip地址失敗:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

組權限訪問 server文件沒更新.
(102) RFC_ERROR_COMMUNICATION:Connect to message server failed

C:\WINNT\system32\drivers\etc

端口號錯誤報錯信息:
(103) RFC_ERROR_LOGON_FAILURE: ## 502 ########

超時:
(103) RFC_ERROR_LOGON_FAILURE: Timeout

執行函數,函數的問題
(104) RFC_ERROR_SYSTEM_FAILURE: Error in module RSQL of the database interface.執行函數

(104) RFC_ERROR_SYSTEM_FAILURE: An error occurred when receiving a complex parameter.

(106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet

返回的表沒有值.那個表連第一行都沒有,取不到
(106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet

語法錯誤
(104) RFC_ERROR_SYSTEM_FAILURE: Syntax error in program SAPMV50A

找不到行
(106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not ha:ve any rows yet

輸入參數不能插入SAP函數輸入字段中.
(122) JCO_ERROR_CONVERSION: Integer '4234243' has to many digits at field PO_ITEM


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM