abap学习笔记

记录一下学习心得[@more@]

1.abap数据类型

c 字符型

d 日期

f 浮点

i 整型

n 数字文本

p 压缩

t 时间

x 16进制

2.系统参数

sy-subrc返回代码值(在sql成功返回0)

sy-tcode 事务

sy-uname 登录名

sy-uzeit 当前时间

sy-datum 当前日期

sy-tabix 数据index

sy-dbcnt 数据count

refresh 清除没有header line 的内表

clear 清除有header line 的内表

free 用在他们之后

include  用write输出一个图标

append lines of itab1 to itab2 [index] 将itab1所有数据插入到itab2中[第index位置之前]

delete itab index n 删除第n行

delete itab from n1 to n2 删除从n1到n2行

delete adjacent duplicates from itab 删除重复行

3.call function 'sapgui_progress_indicator'

exporting

text = '系统处理中,请等待'.

请使用浏览器的分享功能分享到微信等