Skip to content

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

MODIFY LINE - source

Quick 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

Specifies 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 addition LINE VALUE overwrites the whole list line with the content of wa.

Addition 2

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

Effect

The addition FIELD VALUE 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 padded from the right with blanks. If specified, FIELD VALUE overrides LINE VALUE.

If data objects dobj1 dobj2... appear more than once in a line with the same name, only the first object is edited. If a data object dobj1 dobj2 ... is not found at all, it 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 statement FORMAT can be specified. The addition FRAMES cannot be used. The addition LINE FORMAT formats the whole list line accordingly; FIELD FORMAT formats only the output areas of the dobj1 dobj2 ... data objects displayed in the list line. If specified, FIELD FORMAT overrides LINE FORMAT.

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