源代码增强的一点说明(souce code enhance )
souce code enhance 分为显式和隐式两种。
下面以显式创建为例子:
1、在ABAP编辑器中, 打开想要编辑的程序,切换到可编辑模式
2、在源代码中的指定位置右键,弹出菜单,选择 Enhancements #Create Option
此处说明一下:你需要进入Utilities》设置》ABAP Editor 中,将downwards-comp.Line Lngth(72)的复选框取消勾选,否则在创建源代码增强的的时候,会提示消息creating of enhancements supported only for line length > 72 。
3、在弹出的对话框中,选择ENHANCEMENT-POINT(增强点) 或ENHANCEMENT-SECTION(增强部分),然后在后面填写名称,如'ZEH1'。
4、选择有条件调用还是无条件调用。
对于有条件调用和无条件调用的说明:
- As an unconditional call (the enhancement option then receives in the source code the addition "STATIC"):
In such "static" enhancements, data declarations - for example - can be added or replaced. The call of enhancements is independent of the client - the choice of a "static" call should therefore be carefully thought out beforehand.
- As a conditional call:
The enhancements implemented here are "dynamic" - that is, they are called in connection with the switch settings.
5、创建增强点,并填入增强点名称,如'ZSP1',描述,pakage,如果有请求号,需要将请求号填入,还有开发类等。
说明:一个增强点名称下,可以分配多个增强点,既,这里可以创建多个增强点。
6、选择右下角的对号,回到abap编辑器中,你会发现光标位置出现类似如下代码ENHANCEMENT-POINT ZEH1 SPOTS ZSP1 ZSP2 .
需要说明的时候,在创建的时候,注意命名的问题,需要以字符Z或Y开头
源代码增强的一点说明(souce code enhance )的更多相关文章
- 第四代增强 源代码增强(ABAP Source Code Enhancements)
显式代码增强的创建 se38打开你要增强的程序 进入编辑状态 在菜单栏选择: Edit->Enhancement Opreations->Create option. 此时弹出Create ...
- [SAP ABAP开发技术总结]增强Enhancement
声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...
- mysql-5.6.34 Installation from Source code
Took me a while to suffer from the first successful souce code installation of mysql-5.6.34. Just pu ...
- Visual Studio Code预览版Ver 0.3.0试用体验
当你开始阅读这篇文章时,请先不要把Visual Studio Code和.net.Windows联想到一起,因为VS Code是一个跨平台,支持30多种语言的开箱代码编辑器.不管你是.Net.Java ...
- 微软良心之作——Visual Studio Code 开源免费跨平台代码编辑器
微软良心之作——Visual Studio Code 开源免费跨平台代码编辑器 在 Build 2015 大会上,微软除了发布了 Microsoft Edge 浏览器和新的 Windows 10 预览 ...
- EFW框架源代码版本升级记录说明
回<[开源]EFW框架系列文章索引> EFW框架源代码下载V1.3:http://pan.baidu.com/s/1c0dADO0 EFW框架实例源代码下载:http://p ...
- 微软 Virtual studion Code
在 Build 2015 大会上,微软除了发布了 Microsoft Edge 浏览器和新的 Windows 10 预览版外,最大的惊喜莫过于宣布推出免费跨平台的 Visual Studio Code ...
- Android源代码之Gallery专题研究(1)
前言 时光飞逝,从事Android系统开发已经两年了,总想写点什么来安慰自己.思考了非常久总是无法下笔,认为没什么好写的.如今最终决定写一些符合大多数人需求的东西,想必使用过Android手机的人们一 ...
- C# Task 源代码阅读(1)
平时我们开发中,经常使用Task,后续的.net版本种很多都和Task有关,比如asyn,await有了Task 我们很少就去关注Thread 了.Task 给我们带来了很多的便利之处.是我们更少的去 ...
随机推荐
- 钩子与API截获
http://www.pudn.com/Download/type/id/19.html
- angular8 大地老师学习笔记---第六课
export class TodolistComponent implements OnInit { public keyword:string; public todolist:any[]=[]; ...
- 个人MySQL的事务特性原理学习笔记总结
目录 个人MySQL的事务特性原理笔记总结 一.基础概念 2. 事务控制语句 3. 事务特性 二.原子性 1. 原子性定义 2. 实现 三.持久性 1. 定义 2. 实现 3. redo log存在的 ...
- CentOS7离线安装mysql5.6
下载mysql5.6,系统选择redhat,版本选择RHEL7,下载RPM Bundle后得到一个tar文件.这里得到文件MySQL-5.6.44-1.el7.x86_64.rpm-bundle.ta ...
- ubuntu安装nfs服务
安装: sudo apt-get install nfs-kernel-server 修改配置文件 /etc/exports 增加以下内容: /NFS *(rw,sync,no_root_squash ...
- Java学习日报9.22
/* * 信1905-2班 * 杨传伟 * 2020.9.22 * 20194074 * 账号密码默认 666666 */package atm; import java.util.*;public ...
- Dreamoon Likes Coloring 【CF 1329 A】
传送门 思路:"Dreamoon will choose a number pipi from range [1,n−li+1](inclusive) and will paint all ...
- Scanner详解
java.util.Scanner 是 Java5 的新特征,我们可以通过 Scanner 类来获取用户的输入 1)public static void main(String[] args) { S ...
- String类型 堆/字符串池的理解
1 package test; 2 3 public class StringTest { 4 5 public static void main(String[] args) { 6 7 /** 8 ...
- 【译】深入理解Rust中的生命周期
原文标题:Understanding Rust Lifetimes 原文链接:https://medium.com/nearprotocol/understanding-rust-lifetimes- ...