- 内表可以作为SQL查询的数据源
select *
from tj02t
into table @data(lt_status).
select single istat
from @lt_status as t
where istat eq 'I0045'
into @data(lv_status_teco).
- 新方法CL
select *
from tj02t
into table @data(lt_status).
select single istat
from @lt_status as t
where istat eq 'I0045'
into @data(lv_status_teco).