LOAD-OF-PROGRAM

Syntax 语法

LOAD-OF-PROGRAM.

Effect 作用

This event keyword defines an event block whose event is triggered by the ABAP-runtime environment when an executable program, a module pool, a function group or a sub-routine pool is loaded in the internal session.

这个事件关键字定义了一个当一个可执行程序,一个模块池,一个函数组或者一个子程序池在内部会话中被加载时被ABAP运行环境触发的事件块。

When calling a program through SUBMIT or through a transaction code, then, at every call, a new internal session is opened and the event block is executed once at every call. You can initialize global data objects of the program here.

当通过SUBMIT或者通过事务码来调用一个程序时,那么,在每一个调用中,将会打开一个新的会话并且这个事件块在每个会话中会被立即执行。你可以在这初始化程序的全局数据对象。

At the first call of an external Procedure (sub-program or function module), the framework program of the called procedure is loaded into the internal session of the caller, thus triggering the event LOAD-OF-PROGRAM. The event block is executed before the called procedure. At any further call of a procedure of the same framework program by a caller of the same internal session, the event LOAD-OF-PROGRAM is triggered no longer.

在第一次调用一个外部过程(子程序或者函数模块),被调用过程的程序框架将会被加载到调用者的内部会话中,就这样触发了事件LOAD-OF-PROGRAM 。事件块在被调用过程之前被执行。在任何一个被调用者的相同会话具有相同程序框架的过程的深度调用中,事件LOAD-OF-PROGRAM 不再被触发。

Note

The event LOAD-Of-PROGRAM should mainly be used to initialize global data when calling external procedures or Transactions. If you call executable programs with SUBMIT, we recommend that you use the event INITIALIZATION, as the Starting values for parameter and selection criteria are set after LOAD-OF-PROGRAM (see program flow after SUBMIT).

当调用外部过程或者事务时,事件LOAD-OF-PROGRAM 应当主要被用来初始化全局变量。如果你用SUBMIT调用可执行程序,我们建议你用事件INITIALIZATION,因为参数字段或者标准选择的初始值是在LOAD-OF-PROGRAM 之后被设置的。(参见程序flow after SUBMIT).

转载于:https://www.cnblogs.com/clsoho/archive/2010/02/05/1664329.html

LOAD-OF-PROGRAM相关推荐

  1. 解决An attempt was made to load a program with an incorrect format.问题

    有一个项目使用到Oracle Client,然后部署的时候出现以下问题. Could not load file or assembly '*******' or one of its depende ...

  2. Could not load file or assembly An attempt was made to load a program with an incorrect format.

    http://blog.crowe.co.nz/archive/2007/11/05/Could-not-load-file-or-assembly-name-or-one-of.aspx 这个错误折 ...

  3. JavaScript词法作用域的简单介绍

    by Michael McMillan 迈克尔·麦克米兰(Michael McMillan) JavaScript词法作用域的简单介绍 (An easy intro to Lexical Scopin ...

  4. WCF 4.0 Issues with IIS 7.0 on x86 and x64 bit Machines(转载)

    If you are experienced with WCF, you know that in case of installing IIS after installing .NET frame ...

  5. 基于Apache(without ssl)的svn环境搭建

    搭建的过程是按照tortersSVN的教程,特别注意的是要额外下载一个sspi的so文件. 提示:XP sp2已经还有了sp1 ps 遇到的问题,还是遇到了一些问题,网搜了下,列在这儿: 1.出现&q ...

  6. 基于Eclipse的TI集成开发环境IDE-CCSv5使用教程

    TI嵌入式处理器的集成开发环境(IDE)包括调试器,编译器,编辑器,DSP/BIOS操作系统等等,现在最新的CCSv5 IDE基于Eclipse开源软件框架(v4+)并融合了TI设备的支持与功能,适用 ...

  7. Ubuntu下bpf纯c程序的编写与运行

    1. 前言 搭建bpf运行环境真的是很费时间,踩过的坑也不少,今天也是因为虚拟机扩容崩了,重新安装了最新的ubuntu,bpf运行环境得以搭建完成,也算是破而后立.现在将bpf运行环境搭建和bpf纯c ...

  8. bcc Reference Guide 中文翻译

    bcc Reference Guide 文章目录 bcc Reference Guide BPF C Events & Arguments 1.kprobes 2.kretprobes 3.T ...

  9. eBPF bcc实例分析

    更多文章目录:点击这里 GitHub地址:https://github.com/ljrcore 上一篇博客简单介绍了 eBPF 并介绍了 bcc 框架的安装及简单应用,本篇开始实战,动手写 bcc 程 ...

  10. Eclipse for Android 开发环境搭建及各种坑

    由于公司还有一些老项目,不得不再重装一下 Eclipse,中间遇到了不少坑,把流程记录一下. 一.下载安装 下载 Eclipse 路径: https://www.eclipse.org/downloa ...

最新文章

  1. ubunntu安装php7.0_在 Ubuntu/Debian 下安装 PHP7.3 教程
  2. 【java】兴唐第二十节课(Collection 和 ArrayList)
  3. .net EF框架 MySql实现实例
  4. 使用JUnit 5 执行条件和并发测试
  5. C# 3.0 New Language Features (Part 2)
  6. CRC16循环冗余校验 RTU-MODBUS标准 Linux C
  7. Linux删除证书文件命令,Linux基础面面观之文件复制、移动、删除的命令
  8. 简单的exp全备份脚本及部署过程(step by step)
  9. 搞懂这三个指标,数据分析起码少费一半力
  10. 停止、删除所有的docker容器和镜像
  11. 如何看待基于OpenStack与Docker技术的云计算建设
  12. Java中的原型设计模式
  13. Spring Boot 2.4.0-RC1, 2.1.18, 2.2.11 和 2.3.5 发布
  14. Ubuntu下安装有道词典
  15. 摄影焦距和物距的关系_摄影的焦距是多少?
  16. 马斯克与Twitter风波大戏
  17. 五大学科竞赛(一)介绍
  18. 【程序源代码】微信小程序商城管理系统(Java后台+微信小程序)最新版
  19. 2023年第一批拟授予信息系统建设和服务能力贯标企业名单公示
  20. vs2010 sp 1 下载

热门文章

  1. django 给单个文件加log_django配置日志模块
  2. 我的世界服务器自定义怪物怎么用,我的世界 教你自定义怪物属性
  3. Mongoose介绍和入门​​
  4. PSIM软件中 Simplified C Block模块 和 C Block模块区别
  5. STM32F103单片机使用DMA功能读取ADC采样数据
  6. 关于大量数据的随机打乱重保存.(少了详细解释,之后会更新)
  7. 【转】DLL中类的显式链接
  8. 51Nod:1268 和为K的组合
  9. Pandas(鸢尾花案例:groupby, agg, apply)
  10. linux service命令解析(重要)