Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Classic Lists →  Processing Lists in the List Buffer →  MODIFY LINE 

MODIFY LINE - source

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... [LINE VALUE FROM wa] 
    [FIELD VALUE dobj1 [FROM wa1]
                 dobj2 [FROM wa2] ...]
    [LINE FORMAT ext_format_options]
    [FIELD FORMAT dobj1 ext_format_options1
                  dobj2 ext_format_options2 ...].

Extras

1. ... LINE VALUE FROM wa

2. ... FIELD VALUE dobj1 [FROM wa1] dobj2 [FROM wa2] ...

3. ... LINE FORMAT ext_format_options

4. ... FIELD FORMAT dobj1 ext_format_options1 ...

Effect

Specification of source fields for MODIFY LINE. Additions modify the list line once this has been overwritten with the content of the sy-lisel system field.

Addition 1

... LINE VALUE FROM wa

Effect

The LINE VALUE addition overwrites the whole list line with the content of wa.

Addition 2

... FIELD VALUE dobj1 [FROM wa1] dobj2 [FROM wa2] ...

Effect

The FIELD VALUE addition overwrites the output areas of individual dobj1 dobj2 ... data objects that are shown in the list line with the current content of these objects, or (if specified) the content of the data objects wa1 wa2 .... wa or wa1 wa2 ... expect character-like data objects, which are truncated if they are too long. For data objects that are too short, the line or the output areas are filled from the right with blank characters. The FIELD VALUE specification overrides the LINE VALUE specification.

If data objects dobj1 dobj2... appear more than once in a line with the same name, then only the first object is processed. If a data object dobj1 dobj2 ... is not found at all, the specification is ignored.

Addition 3

... LINE FORMAT ext_format_options

Addition 4

... FIELD FORMAT dobj1 ext_format_options1 ...

Effect

For ext_format_options, one or more additions of the FORMAT statement can be specified. The addition FRAMES cannot be used. The LINE FORMAT addition formats the whole list line accordingly; FIELD FORMAT formats only the output areas of the dobj1 dobj2 ... data objects that are output in the list line. The FIELD FORMAT specification overrides the LINE FORMAT specification.

If data objects dobj1 dobj2... appear more than once in a line with the same name, then only the first object is processed. If a data object dobj1 dobj2 ... is not found at all, the specification is ignored.