INITIALIZATION

 

INITIALIZATION

Syntax 语法

INITIALIZATION.

Effect 作用

This event keyword defines an event block whose event is triggered by the ABAP runtime environment during the flow of an executable program, directly after LOAD-OF-PROGRAM and before the selection screen processing of any existing standard selection screen. This gives you the one-time opportunity to initialize the input fields of the selection screen, including those defined in the logical database linked with the program.

这个事件关键字定义了一个在一个可执行程序运行期间被ABAP运行环境触发的事件块,直接出现在LOAD-OF-PROGRAM 之后并且在任何存在的标准选择屏幕处理之前。这就给你了一度的机会来对选择屏幕上的输入字段初始化,包括那些定义在和程序相关联的逻辑数据库中的字段。

Note

When an executable program defines a standard selection screen, it is called again by the ABAP runtime environment after execution, which triggers the INITIALIZATION event again. In this case, initializing parameters or selection criteria of the selection screen has no effect, because they are automatically supplied with the preceding user inputs from the selection screen during the selection screen event AT SELECTION-SCREEN OUTPUT. To explicitly initialize the selection screen for each call, you must use the event AT SELECTION-SCREEN OUTPUT.

当一个可执行程序定义一个标准的选择屏幕,它在执行之后再一次被ABAP运行环境调用,这就又一次触发了INITIALIZATION事件。在这种情况下,初始化参数或者是选择屏幕的标准选择将不再起作用,因为它们已经自动地被在选择屏幕事件AT SELECTION-SCREEN OUTPUT中之前的屏幕上的用户输入所填充。

Example 例子

Refer to the example for reporting events. 参考reporting events的例子。

转载于:https://www.cnblogs.com/clsoho/archive/2010/02/01/1661061.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值