Screen output without connection to user

在远程调用中遇到系统故障,显示'屏幕显示时没有连接到用户'。此问题可能由于后台运行的程序尝试输出屏幕或用户授权不足引起。解决方案包括修改RFC功能模块以避免显示屏幕,确保使用对话类型的RFC用户,或者在外部程序无SAP GUI时避免屏幕输出。
摘要由CSDN通过智能技术生成

系统故障:“屏幕显示时没有连接到用户”。

在远程函数调用中,为RFC异常系统故障显示以下消息之一:
" CPIC服务器发送屏幕&P1 &P2(终止)"
(&P1 =节目名,& P2 =屏幕号)
从3.0F版本开始:
"屏幕显示没有连接到用户。"

ABAP运行时错误

  • 在射频识别客户端:呼叫功能远程错误
    ,,长文本:,"服务器发送屏幕...(终止)”
  • 在RFC服务器上:DYNPRO_SEND_IN_BACKGROUND
    ,,长文本:,,“不连接用户的屏幕显示。”

原因和条件

系统试图使用RFC连接显示屏幕或列表。
这种错误可能发生在以下情况下:

  • 两个遥控系统之间或一个遥控系统内的遥控通信。可能会出现以下错误:
  • 如果您在后台进程中运行调用程序,而服务器程序试图输出屏幕或列表,则无论用户类型如何,通信总是会中断。确保RFC服务器程序始终在对话过程中运行。
  • 如果在对话过程中运行调用程序,该操作会导致通信终止,因为用户没有足够的授权。RFC连接中的用户不是DIALOG类型。检查用户配置文件(交易SU01或工具-→管理,用户-→用户维护-→用户、后台或BDC时,一旦调用的功能模块试图显示屏幕或列表,它就会终止。如果目标系统是内核版本为3.0E或更低版本的R/3系统(您可以使用事务SM51中的“发布信息”功能来检查这一点),就会出现这种情况。
  • 如果RFC通信是在R/3系统和外部程序(如C或Visual Basic程序)之间进行的,则无论用户类型如何,当输出屏幕时,通信总是中断。这种情况的例外是如果外部程序有一个SAP图形用户界面。有关更多信息,请查阅系统日志(事务SM21)或错误消息“屏幕输出不连接用户”。您也可以参考转储分析(事务ST22)。

解决办法

  • 在两个遥控系统之间或一个遥控系统内进行遥控通信的情况下,您可以通过以下方式解决问题:
  • 如果在后台作业中运行调用程序,则必须修改被调用的功能模块,使它们不显示任何屏幕或列表。
  • 如果在对话过程中运行调用程序,请使用用户类型为“对话”的RFC用户。

  • 如果RFC通信是在R/3系统和没有带SAP图形用户界面的RFC的外部程序之间进行的,您必须更改调用的功能模块,使它们不显示任何屏幕或列表。

SYSTEM_FAILURE: "Screen displayed without connection to user".

In a remote function call, one of the following messages is displayed for the RFC exception SYSTEM_FAILURE: 
"CPIC server sent screen &P1 &P2 (termination)" 
(&P1 = program name, &P2 =screen number) 
From Release 3.0F: 
"Screen display without connection to user."

ABAP runtime error 

  • On the RFC client: CALL_FUNCTION_REMOTE_ERROR 
    ,,Long text : ,,"CPIC server sending screen ... (termination)"
  • On the RFC server: DYNPRO_SEND_IN_BACKGROUND 
    ,,Long text: ,,"Screen display without connection to user."

Cause and conditions

The system tried to display a screen or list using an RFC connection. 
This error can occur in the following circumstances:

  • RFC communication between two R/3 Systems or within an R/3 System. The following errors can occur:
  • If you run the calling program in a background process and the server program tries to output screens or lists, the communication is always broken, regardless of the user type. Make sure that the RFC server program always runs in a dialog process.
  • If you run the calling program in a dialog process, the action leads to the communication being terminated because the user has insufficient authorization. The user in the RFC connection is not of the type DIALOG. Check the user profile (transaction SU01 or Tools -→ Administration, Users -→ User maintenance -→ User, background, or BDC, the function module called will terminate as soon as it tries to display a screen or list. This occurs if the target system is an R/3 System with a kernel of Release 3.0E or lower (you can check this with the 'Release info' function in transaction SM51.

  • If the RFC communication is between an R/3 System and an external program such as a C or Visual Basic program, the communication is always broken when a screen is output, regardless of the user type. The exception to this is if the external program has a SAP GUI (RFC with SAP GUI). For further information, consult the system log (transaction SM21) or the error message 'Screen output without connection to user'. You can also refer to the dump analysis (transaction ST22).

Solution

  • In the case of RFC communication between two R/3 Systems or within an R/3 System, you can solve the problem as follows:
  • If you run the calling program in a background job, you must modify the function modules called so that they do not display any screens or lists.
  • If you run the calling program in a dialog process, use an RFC user with user type 'Dialog'.

  • If the RFC communication is between an R/3 System and an external program that does not have RFC with SAP GUI, you must change the function modules called so that they do not display any screens or lists.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值