SAP MODIFY LINE MODIFICATION ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• LINE VALUE FROM MODIFY LINE
• FIELD VALUE FROM MODIFY LINE
• LINE FORMAT MODIFY LINE
• FIELD FORMAT MODIFY LINE

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?
Specifies source fields for MODIFY LINE. The additions modify the list line once this has been overwritten with the content of the sy-lisel system field.

ABAP Addition

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

ABAP Addition wa2$] ...

What does it do?
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 filled 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 one is processed. If a data object dobj1 dobj2 ... does not exist at all, the specification is ignored.

ABAP Addition

ABAP Addition

What does it do?
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 one is processed. If a data object dobj1 dobj2 ... does not exist at all, the specification is ignored.

...More SAP MODIFY Examples

Return to menu