1. SAP HANA Cloud
SAP HANA Database Modeling Guide for SAP Business Application Studio:
Section: "Add Data Sources to the Calculation View"
Content: This section explicitly lists the objects that can be used as data sources. It states
"You can add data sources such as tables
views
calculation views
and table functions to the calculation view editor." This directly supports options A (Table function) and C (Row table
as it is a type of table).
Reference: SAP Help Portal
SAP HANA Cloud
SAP HANA Database Modeling Guide for SAP Business Application Studio
"Calculation Views" -> "Model Data" -> "Add Data Sources to the Calculation View".
2. SAP HANA SQLScript Reference:
Section: "User-Defined Functions"
Content: This guide differentiates between table functions and scalar functions. It defines a table function as returning a value of type table (RETURNS TABLE (...)) and a scalar function as returning a single scalar value (RETURNS ). This distinction clarifies why a table function is a valid data source (it provides a table) while a scalar function is not.
Reference: SAP Help Portal
SAP HANA SQLScript Reference
"User-Defined Functions".