ABAP里面的OCCURS与HEADER LINE之间的一些区别

本文深入探讨了为什么在软件开发领域,大部分程序员未能晋升为架构师的原因,从技能需求、思维方式到实际操作层面,解析了成为优秀架构师所需的关键要素。

This addition to the statements DATA TABLE OF, DATA RANGE OF, and the obsolete statement DATA OCCURS (which is not allowed in classes) declares a further data object alongside the internal table, known as the header line. This object has exactly the same name as the internal table and has the row type of the internal table as its data type. A header line cannot be declared for internal tables with a table-like row type. This is possible for structured row types with table-like components, however. 

我用中文总结一下:

OCCURS与HEADER LINE都是用来定义内表的语句,OCCURS是3.0版本之前的语句,在4.0系统中已经过时,不推荐使用。但是前者在定义一个内表的同时,还定义了一个数据对象(这个东西其实就是一个工作区,与内表的结构是完全一样的,之后也就演变成了所谓的header line)。


转载于:https://my.oschina.net/lanzp/blog/188369

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值