Moin,

exec sql
select * into : (DOPPELPUNKT)dsaufposp from aufposp
where apkomm = '22059'
and appos = '05';

das fehlt.

mfg

DKSPROFI