从现有数据库表创建内部表的语法? [英] Syntax for creating internal table from existing database table?
问题描述
我是 ABAP 的新手.开始学习内部表.我正在阅读创建内部表的方法.
I'm new to ABAP. Started learning about internal tables. I was reading on the ways to create internal tables.
我使用以下语法从现有数据库表创建内部表:
I came across the following syntax to create an internal table from an existing database table:
data: it_mara type table of mara.
我很困惑,因为 mara 是一张桌子,如果 l.h.s 和 r.h.s 是同一类型,那么它不应该只是:
I'm confused since mara is a table and if both l.h.s and r.h.s are of the same type then shouldn't it be just:
data: it_mara type mara.
mara已经是table了,还需要什么转换成table?
What is the need to convert mara into a table when it is already a table?
推荐答案
MARA
是一个透明的表,这意味着它与结构类型 MARA
同时起作用.这就是 SAP 的工作方式.:)
MARA
is a transparent table which means that it functions at the same time as the structure type MARA
. This is the way SAP works. :)
这篇关于从现有数据库表创建内部表的语法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!