当前位置:网站首页>SAP abap 数据类型,操作符和编辑器-02
SAP abap 数据类型,操作符和编辑器-02
2022-06-22 15:01:00 【雨天行舟】
数据类型,操作符和编辑器-02
ABAP 代表 - 高级业务应用程序编程。它是一种用于为 SAP R/3 系统开发应用程序的编程语言。
ABAP 的最新版本称为 ABAP Objects,支持面向对象的编程。 SAP 将运行使用 ABAP/4(早期 ABAP 版本)编写的应用程序以及使用 ABAP 对象的应用程序。
没有进一步的告别,让我们深入了解 ABAP。
请注意,本教程不会详细介绍 ABAP 语言结构(阅读起来会变得非常无聊),而是会快速介绍关键概念以帮助您入门,这样您就可以将注意力集中在更重要的主题上。
数据类型
在 ABAP 中声明变量的语法 -
DATA Variable_Name Type Variable_Type
例子:
DATA employee_number Type I.
以下是 ABAP 支持的数据类型列表

处理数据——赋值
a=16.
move 16 to a.
write a to b.
算术运算
compute a = a*100.
控制语句
下面的控制语句可以使用- - If…EndIfLOOP
if [not] exp [ and / or [not] exp ].
........
[elseif exp.
.......]
[else.
.......]
Endif.
选择语句
Case variable.
when value1.
.........
when value2.
.........
[ when others.
.........]
Endcase.
Do.
while循环结构
While <logical expression>.
.....
.....
Endwhile.
do循环结构
Do <n> times.
.....
.....
Enddo.
逻辑语句
- GE or >=
- GT or >
- LE or <=
- LT or <
- EQ or =
- NE or <>
ABAP/4 Editor
最后,作为开发人员,您将在此处花费大部分时间来创建/修改程序。 事务代码:SE38
参考:https://www.guru99.com/introduction-to-abap.html
边栏推荐
- odoo部署到服务器并配置为服务
- Merge sort of sorting
- Navicat premium connecting to Oracle database (Graphic tutorial)
- Discover the number of media new users can insert
- vector的模拟实现
- SAP 中的 ABAP 查询教程:SQ01、SQ02、SQ03-017
- New load balancing webclient CRUD
- 转:杰克·韦尔奇:战略就是要少点沉思,敏于行动
- HMS core news industry solution: let technology add humanistic temperature
- Linux安装mysql
猜你喜欢

Uni develops wechat applet to customize automatic camera detection (portrait + ID card)

84. (cesium chapter) movement of cesium model on terrain

Navicat premium connecting to Oracle database (Graphic tutorial)

阿里云中间件的开源往事

SAP 脚本教程:SE71、SE78、SCC1、VF03、SO10-013

Scala language learning-05-a comparison of the efficiency of recursion and tail recursion

10款超牛Vim插件,爱不释手了

Jenkins 通过检查代码提交自动触发编译

uni开发微信小程序自定义相机自动检测(人像+身份证)

Quickly play ci/cd graphical choreography
随机推荐
Binary search (integer binary)
Navicat Premium 连接Oracle 数据库(图文教程)
How safe is the new bond
The difference between nvarchar and varchar
[Newman] postman generates beautiful test reports
The MIHA tour club in June is hot! 500+ posts, more than HC, just this summer (with internal promotion method)
Advanced thinking on application scenarios of standardization, maximum normalization and mean normalization
[Shanda conference] project initialization
快速玩转CI/CD图形化编排
微信小程序头像挂件制作
Luogu p2466 [sdoi2008] Sue's small ball solution
Promoting compatibility and adaptation, enabling coordinated development of gbase may adaptation Express
Be an we media video blogger, and share the necessary 32 material websites
C language learning -17- function is passed in as a parameter
【山大会议】项目引入 Redux
SAP ABAP BAPI-016
【山大会议】WebRTC基础之用户媒体的获取
解决mysql远程登录报权限问题
Odoo local document function development record
stack和queue的模拟实现