ABAP:从现有数据库表创建内部表的语法 [英] ABAP: Syntax for creating internal table from existing database table

查看:246
本文介绍了ABAP:从现有数据库表创建内部表的语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是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是一个表,并且如果lhs和rhs是同一类型,那么

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已经是表格时,需要将其转换为表格是什么?

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. :)

这篇关于ABAP:从现有数据库表创建内部表的语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆