SAP MODIFY LINE MODIFICATION ABAP Statements

Get Example source ABAP code based on a different SAP table
  



MODIFY LINE - source

Short Reference


ABAP 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 ...].

ABAP Addition
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 ...

What does it do? 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.
• LINE VALUE FROM MODIFY LINE

ABAP Addition

What does it do? The LINE VALUE addition overwrites the whole list line with the content of wa.
• FIELD VALUE FROM MODIFY LINE

ABAP Addition ...

What does it do? 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.
• LINE FORMAT MODIFY LINE
• FIELD FORMAT MODIFY LINE

ABAP Addition

ABAP Addition

What does it do? 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.

...More SAP MODIFY Examples

Return to menu