ADKJ-24讲-Basic Data Types_EN

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
▪ 完成本节课,我们将能够: • 定义表类型并在ABAP程序中作为定义数据对象的基础使用 • 定义复杂的结构并在ABAP程序中作为定义数据对象的基础使用 • 使用类型池帮助定义全局常量,并在ABAP程序中使用
Data types
▪ Cross-program (globally known) data types can be defined in the ABAP Dictionary. You can reference these data types in every ABAP program in the SAP system with the TYPE addition for corresponding ABAP statements.
Data types
▪ To define data objects in the ABAP programs, you can use the abovementioned type definitions with the exception of the domain. The arrows show how they can be used together.
▪ 要在ABAP程序中定义数据对象, 我们可以使用上面提及的除了域 以为的类型定义。箭头显示它们 如何能够被一起使用。
Data types
▪ Ideally, data elements use domains to define their technical properties. An ABAP program cannot, however, access domains for defining data objects.
SAP BC400
Basic Data Types
基本的数据类型
ห้องสมุดไป่ตู้
Lesson Overview
▪ In this lesson, you learn about the basic data types and their use with one another.
▪ 本节课,我们学习基础的数据类型和它们的使用
Lesson Objectives
▪ After completing this lesson, you will be able to: • Create domains and use them in data elements • Define data elements and use them as the basis for defining data objects in ABAP programs • Define structures and use them as the basis for defining data objects in ABAP programs
▪ 完成本节课,我们将能够: • 创建域并在数据元素中使用 • 定义数据元素并在ABAP程序中作为定义数据对象的基础使用 • 定义结构并在ABAP程序中作为定义数据对象的基础使用
Lesson Objectives
▪ After completing this lesson, you will be able to: • Define internal tables and use them as the basis for defining data objects in ABAP programs • Define complex (nested / deep) structures and use them as the basis for defining data objects in ABAP programs • Define global constants with the help of a type pool and use them in ABAP programs
▪ 跨程序的数据类型能够在ABAP字 典中定义,我们可以在SAP系统的 每个ABAP程序中对相应的ABAP语 句使用TYPE来参照这些数据类型。
Data types
▪ The type group is actually a relict from past times (before Release 4.5a), when it was not yet possible to create own global, complex data types for declaring data objects in ABAP. The type group is still used for this. In future, when you create a new global, complex data type, you should use the options provided by the Dictionary structures. In addition, the type group for creating global constants was and is used. The use of global constants is also supported by ABAP objects in the form of constant attributes of a class. However, if you want to program in a non-object oriented way, only the type group for defining a global constant remains.
▪ 类型组实际是过时的,当在ABAP中为声明 数据对象而创建自己的全局的、复杂的数据 类型不可能的时候使用的。类型组依然为此 被使用。将来,当我们创建新的全局的、复 杂的数据类型的时候,我们赢使用ABAP结 构提供的选项。另外,为创建全局常量的类 型组被使用。这种全局常量的使用,也以类 常量属性的形式被ABAP对象支持。但是, 如果我们想要程序为非面向对象的方式,只 有为定义全局常量的类型组保留。
相关文档
最新文档