Field groups

来源:互联网 发布:淘宝上买的拳皇2013 编辑:程序博客网 时间:2024/05/11 05:19
FIELD-GROUPS

Syntax

FIELD-GROUPS { header | field_group }.

Effect

Declaration of a field group for the extract dataset of the program. Each field group represents the name of a line structure of the extract dataset. You can create as many field groups as you wish in a program. You define the actual components of a field group with the statement INSERT.

The denominator of a field group is either the predefined name header or any name field_group. If you declare a field group header, it automatically becomes the beginning part of all remaining field groups of the program and its components constitute the standard sort key of the extract dataset for the statement SORT.

The statement FIELD-GROUPS is possible in the global declaration-part of an ABAP program, as well as in the subprograms and function modules. Field groups that are declared in procedures are visible only there.

Note

As you can only define global data objects as components of field groups with the statement INSERT, we recommend to declare field groups only in the global declaration part as well.

Example

Siehe INSERT.

原创粉丝点击