0Kudos
Hi,
MODIFY for Lists
Changes a list line.
Syntax
MODIFY LINE <n> [INDEX <idx>] [OF CURRENT PAGE|OF PAGE <p>]
|CURRENT LINE
LINE FORMAT <option1> <option2>...
FIELD VALUE <f1> [FROM <g1>] <f2> [FROM <g2>]...
FIELD FORMAT <f1> <options1> <f2> <options2>.
Changes either line <n> on the current or specified list (or page), or the last line to be chosen. The exact nature of the change is specified in the additions
MODIFY SCREEN
Changes the SCREEN table.
Syntax
MODIFY SCREEN...
Like changing an internal table. The system table SCREEN contains the names and attributes of all of the fields on the current screen.
UPDATE
Changes entries in database tables.
Syntax
UPDATE <dbtab> SET <si> = <f>
|<si> = <s i> + <f>
|<si> = <s i> - <f> [WHERE <cond>].
The value in the column <si> is set to the value <f>, increases it by <f>, or decreases it by <f> for all lines selected. The WHERE clause specifies the lines that are changed. If you omit the WHERE clause, all lines are changed.
Syntax
UPDATE <dbtab> FROM <wa>.
UPDATE <dbtab> FROM TABLE <itab>.
This deletes the line that has the same primary key as the work area <wa>, or deletes all the lines in the database that have the same primary key as a line in the internal table <itab>. The work area <wa> or the lines of the internal table <itab> must have at least the same length and alignment as the lines of the database table.
Hope it will be useful.
Regards,
Priya.
- SAP Managed Tags:
- ABAP Development