‎2011 Mar 17 2:29 PM
hi all
why doesn't that work?
types: begin of ts_deli_day_map,
day_num type n length 1,
deli_day type xfeld,
end of ts_deli_day_map.
types tt_deli_day_map type standard table of ts_deli_day_map.
types: begin of ts_tours_map,
lzone type lzone,
deli_day type tt_deli_day_map,
end of ts_tours_map.
the code is in a class....
regards
‎2011 Mar 17 2:47 PM
For components of table type, it is required this table type must have key determined. So you this should go like
types: begin of ts_deli_day_map,
day_num type n length 1,
deli_day type xfeld,
end of ts_deli_day_map.
types tt_deli_day_map type standard table of ts_deli_day_map with default key.
types: begin of ts_tours_map,
lzone type lzone,
deli_day type tt_deli_day_map,
end of ts_tours_map.
Regards
Marcin
‎2011 Mar 17 2:47 PM
For components of table type, it is required this table type must have key determined. So you this should go like
types: begin of ts_deli_day_map,
day_num type n length 1,
deli_day type xfeld,
end of ts_deli_day_map.
types tt_deli_day_map type standard table of ts_deli_day_map with default key.
types: begin of ts_tours_map,
lzone type lzone,
deli_day type tt_deli_day_map,
end of ts_tours_map.
Regards
Marcin