‎2006 Jun 30 9:37 AM
Hi,
If I have a constant of a tyble type, how can I fill this with values at design time?
Kind regards
Ole
‎2006 Jun 30 9:40 AM
You can probably fill it up in the constructor method of the class.
wa_itab-column1 = 'xxx'.
append wa_itab to itab.
Regards,
Ravi
Note : Please mark the helpful answers
‎2006 Jun 30 1:34 PM
I'm afraid no. Constants cannot be changed. Even not it the class constructor.
It even does not seem to be possible to create a constant table. A table and a constant are mutually exclusive, for a constant needs an initial value, and a table must not have an initial value.
Well...
It seems as I would have to leave this attribute changeable and then access it in the class constructor. Unless nobody has a better solution...
‎2006 Jun 30 1:57 PM
‎2006 Jun 30 2:00 PM