I tried it with this statement but there is an error
CASE WHEN EKBE.VGABE LIKE 2 THEN SUM(EKBE.WRBTR) ELSE 0 END)

SUM ( CASE WHEN "EKBE"."VGABE" LIKE '2' THEN "EKBE"."WRBTR" ELSE NULL END )
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.