Hallo,
selbst wenn ich es umbaue dann bekomme ich einen SQL-Fehler.

select p1.adkto
, (select ist from planz where p1.adkto = knd and monat =
201301)
, (select ist from planz where p1.adkto = knd and monat =
201302)
, (select ist from planz where p1.adkto = knd and monat =
201303)
from soe01/adr01pf p1 where adkto = 11173

Vielleicht sollte ich doch nochmal schauen ob ich die UDF performanter bekomme.

GG