SAS 数据集成:SAP 表提取错误

发布于 2024-11-29 08:13:52 字数 1176 浏览 1 评论 0原文

这是错误代码:

Line 115: ERROR: RFC_ERROR_SYSTEM_FAILURE Error in module RSQL of the database interface.    NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements. `

错误日志:

NOTE: Libref SAPENG was successfully assigned as follows: 
  Engine:        R3 
  Physical Name: PRORELOC
101        %rcSet(&syslibrc);
102        
103        %let etls_recnt = 0;
104        %macro etls_recordCheck;
105           %let etls_recCheckExist = %eval(%sysfunc(exist(SAPEng.CDPOS, DATA)) or
106                 %sysfunc(exist(SAPEng.CDPOS, VIEW)));
107        
108           %if (&etls_recCheckExist) %then
109           %do;
110              proc sql noprint;
111                 select count(*) into :etls_recnt from SAPEng.CDPOS;
112              quit;
113           %end;
114        %mend etls_recordCheck;
115        %etls_recordCheck;
MPRINT(ETLS_RECORDCHECK):   proc sql noprint;
MPRINT(ETLS_RECORDCHECK):   select count(*) into :etls_recnt from SAPEng.CDPOS;
ERROR: RFC_ERROR_SYSTEM_FAILURE
Error in module RSQL of the database interface.

知道为什么会发生这种情况吗? 我尝试提取的表称为 CDPOS。其他SAP表没有错误

This is the error code :

Line 115: ERROR: RFC_ERROR_SYSTEM_FAILURE Error in module RSQL of the database interface.    NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements. `

Error Log :

NOTE: Libref SAPENG was successfully assigned as follows: 
  Engine:        R3 
  Physical Name: PRORELOC
101        %rcSet(&syslibrc);
102        
103        %let etls_recnt = 0;
104        %macro etls_recordCheck;
105           %let etls_recCheckExist = %eval(%sysfunc(exist(SAPEng.CDPOS, DATA)) or
106                 %sysfunc(exist(SAPEng.CDPOS, VIEW)));
107        
108           %if (&etls_recCheckExist) %then
109           %do;
110              proc sql noprint;
111                 select count(*) into :etls_recnt from SAPEng.CDPOS;
112              quit;
113           %end;
114        %mend etls_recordCheck;
115        %etls_recordCheck;
MPRINT(ETLS_RECORDCHECK):   proc sql noprint;
MPRINT(ETLS_RECORDCHECK):   select count(*) into :etls_recnt from SAPEng.CDPOS;
ERROR: RFC_ERROR_SYSTEM_FAILURE
Error in module RSQL of the database interface.

Any idea why this happen ?
The table i tried to extract is called CDPOS. There is no error on other SAP table

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夕色琉璃 2024-12-06 08:13:52

RFC_ERROR_SYSTEM_FAILURE 表示 RFC 调用出错,通常会生成短转储(事务 ST22)和/或系统日志条目(SM21)。检查这些日志以找出到底出了什么问题。

RFC_ERROR_SYSTEM_FAILURE means that the RFC call went wrong, usually producing a short dump (transaction ST22) and/or system log entries (SM21). Check these logs to find out what exactly went wrong.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文