Skip to Content
Jun 30, 2005 at 11:20 AM

Preset cells with values when adding new lines - AUTO_VALUE


If the indicator AUTO_VALUE is set in the field catalog and a new row is appended or inserted, the ALV Grid Control copies the value of the previous row to this column. This applies also to columns that are not editable. This allows the user to enter new data more quickly.

If no previous column exists, the field in the new row remains initial. And that is exactly my problem.

How can I preset a cell with a default value when adding a new line in an INITIAL ALV Grid where no previous column exists using the standard function buttons (ADD, COPY)?

An example would be very helpful.

Thanks and regards.