Uses a cursor to read
entries from a database table.
Syntax
FETCH NEXT CURSOR <c> INTO <target>.
If the cursor <c> is
linked with a selection in a database table, FETCH writes the next line of the
selection into the flat target area <target>.
FIELD-GROUPS
Declares a field group for
an extract dataset.
Syntax
FIELD-GROUPS <fg>.
This statement defines a
field group <fg>. Field groups define the line structure of an extract dataset.
You can also define a special field group called HEADER: When filling the
extract dataset, the system automatically prefixes any other field groups with
this field group.
Field symbols are
placeholders or symbolic names for other fields. Pointed brackets are part of
the syntax for field symbol names. The <type> addition allows you to specify the
type of a field symbol. The STRUCTURE addition forces a structured view
of the data objects that you assign to the field symbol.
The system searches the
field <text> for the pattern <p>. The SECTION OFFSET <off> LENGTH <len> OF
addition tells the system to search only from the <off> position in the length
<len>. IGNORING CASE or RESPECTING CASE (default) specifies whether the search
is to be case-sensitive. In Unicode programs, you must specify whether the
statement is a character or byte operation, using the IN BYTE MODE or IN
CHARACTER MODE (default) additions. The MATCH OFFSET and MATCH LENGTH additions
set the offset of the first occurrence and length of the search string in the
fields <p> and <l>.
Introduces a subroutine
<form>. The USING and CHANGING additions define the subroutine�s
parameter interface. The subroutine end with ENDFORM.
FORMAT
Sets formatting options
for list output.
Syntax
FORMAT� <optioni>
[ON|OFF]�
The formatting options
<option i
> (such as color) set in the
FORMAT statement, apply to all subsequent output until they are turned off using
the OFF option.
FREE
Release space in memory.
Syntax
FREE <itab>.
FREE MEMORY ID(<key>).
FREE OBJECT <obj>.
This statement deletes an
internal table, a data cluster in ABAP memory, or an external object in OLE2
Automation, depending on the variant of the statement used.
FUNCTION
Defines a function module.
Syntax
FUNCTION <func>.
Introduces the function
module <func>. This statement is not entered in the ABAP Editor, but is
automatically generated by the Function Builder in the ABAP Workbench. The
function module definition ends with the ENDFUNCTION statement
FUNCTION-POOL
Introduces a function
group.
Syntax
FUNCTION-POOL.
The first statement in a
function group. This statement is not entered in the ABAP Editor, but is
automatically generated by the Function Builder in the ABAP Workbench. A
function group is an ABAP program that contains function modules.