sapdev logo background
sapdev logo sapdev logo
Comments

ABAP MODIFY LINE MODIFICATION Statement syntax, information and example SAP source code



Return to Statement index



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_ADDITIONS:
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.

ABAP_ADDITION_1 ... LINE VALUE FROM wa

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

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

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.

ABAP_ADDITION_3 ... LINE FORMAT ext_format_options

ABAP_ADDITION_4 ... FIELD FORMAT dobj1 ext_format_options1 ...

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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




MODIFY_LINE
MODIFY_OBSOLETE




comments powered by Disqus