Batch input and controls-SAP NOTE 311440

SAP NOTE 311440解释了在批处理输入(如BDC)中涉及SAP控件时可能出现的问题,如错误记录、后台处理时的CNTL_ERROR异常。解决方案包括避免使用依赖于前端控制的批处理输入,转而使用直接输入或BAPI。此问题在4.6A版本之后更常见,因为这些版本中控件使用增多。
摘要由CSDN通过智能技术生成

      user需要在NOTES系统输入invoice信息,然后通过调用RFC把invoice信息传给SAP来park invoice。就录了个MIR4的BDC,然后将这段代码加到一个RFC里。NOTES系统调用这支RFC的时候就老是出现问题,invoice数据传不过来。NOTES抓到的error为CNTL_ERROR。

      到网上查了下,发现SAP针对这个问题有个note,SAP note 311440。根据里面的解释,batch input(包括BDC)如果涉及到SAP控件,就会出现问题。在R3 4.6版本以前使用的控件比较少,所以比较少出问题。从R3 4.6版本以后,使用控件数量大大增加,因此使用batch input经常会出现这个问题。如果能通过direct input或者BAPI实现与batch input相同的功能,最好就不要使用batch input。

      下面是SAP NOTE 311440的详细说明。

 

SAP Note 311440 - Batch input and controls

Note Language: English Version: 12 Validity: Valid Since 07.05.2001

Summary

Symptom

 

Errors occur when you process or record batch input sessions if the

application uses frontend controls such as the ALV grid or tree. Typical

cases:

(1)The batch input recorder does not record any actions or frontend control

data.

(2) When you process batch input sessions in the background, a

termination or an ABAP short dump with the exception condition CNTL_ERROR

occurs. The exception condition is caused in the control framework (program

SAPLOLEA or also CL_GUI_*).

(3) When you process batch input sessions in the background, a

termination occurs with the message

'Editor could not be initialised' in the batch input log.

Processing a Call Transaction ... Using (processing mode N) in the

background, a termination occurs with the message:

'Exception condition ERROR_DP initialized'

Since controls are only used more frequently as of Release 4.6A, these

problems generally do not occur in Releases < 4.6.

 

Additional key words

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值