06-30-2005 12:20 PM
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.
Uwe
10-13-2005 4:35 PM
01-13-2006 10:39 AM
I've got the same problem.
I would give an default posnr to my alv-application (10,20,30), after presing the append-button.
The attribute 'auto_value' just copies the former values.
Please help me too
Regards
Sascha
01-13-2006 10:52 AM
hi,
r u using oops alv,
if so, u can handle that in data changed. because append row is caught only in data changed event.
so u can give some default values there.
01-13-2006 1:06 PM
thx for the quick r. but the add-button does not trigger the data change event. sorry.
regard sascha