Gracias @Gera_Mendez, aún no me acostumbro a lo de los links, saludos.
@FranciscoAn, según lo que he visto, influye la versión del manejador de BD. En mi caso trabajo con SQL Server, no se con certeza como se maneja esta función con SAP HANA, pero viendo en la ayuda de SAP, no aparece esa función listada de primera instancia, sino la que te menciona @Gera_Mendez. Te dejo el link aquí h_tps://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.02/en-US/20e16ca5751910148da4fc7ec69bae03.html.
Muchas gracias @Gera_Mendez solucionó mi problema,
dejo parte de la consulta que estoy generando. A quien le pueda servir.
SELECT TOP 15
T0."CardName" AS "Clientes",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND T1."DocDueDate" >= CURRENT_DATE AND T1."CANCELED" = 'N')
AS "No Vencido",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND T1."DocDueDate" >CURRENT_DATE AND DAYS_BETWEEN ( CURRENT_DATE, T1."DocDueDate") <= 30 AND T1."CANCELED" = 'N') AS " 0 - 30 ",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND DAYS_BETWEEN (CURRENT_DATE, T1."DocDueDate") >=31 AND DAYS_BETWEEN ( CURRENT_DATE, T1."DocDueDate") <= 60 AND T1."CANCELED" = 'N') AS " 31 - 60 ",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND DAYS_BETWEEN (CURRENT_DATE, T1."DocDueDate") >=61 AND DAYS_BETWEEN ( CURRENT_DATE, T1."DocDueDate") <= 90 AND T1."CANCELED" = 'N') AS " 61 - 90 ",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND DAYS_BETWEEN (CURRENT_DATE, T1."DocDueDate") >=91 AND DAYS_BETWEEN ( CURRENT_DATE, T1."DocDueDate") <= 180 AND T1."CANCELED" = 'N') AS " 91 - 180 ",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND DAYS_BETWEEN (CURRENT_DATE, T1."DocDueDate") >=181 AND DAYS_BETWEEN ( CURRENT_DATE, T1."DocDueDate") <= 360 AND T1."CANCELED" = 'N') AS " 181 - 360 ",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND DAYS_BETWEEN (CURRENT_DATE, T1."DocDueDate") >=361 AND T1."CANCELED" = 'N') AS " 360+ ",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND T1."DocDueDate" < CURRENT_DATE AND T1."CANCELED" = 'N')
AS "Vencido",
(SELECT SUM (T1."DocTotal") FROM OINV T1 WHERE T1."CardName" = T0."CardName" AND T1."PaidSys" = 0 AND T1."CANCELED" = 'N') AS "TOTAL"
FROM OINV T0 WHERE T0."PaidSys" = 0 AND T0."CardName" NOT Like '%%Ez%%'
GROUP BY T0."CardName"
ORDER BY SUM(T0."DocTotal") DESC