Get Example source ABAP code based on a different SAP table
CDS VERSION 5 IN
SQL-based scalar function CDS scalar function> that is evaluated by an SQL environment. SQL-based scalar functions can be used in CDS view entities> in operand positions that expect scalar values. SQL-based scalar functions can be user-defined functions> or system functions>. A CDS scalar function consists of three development objects:
A CDS entity> defined using DEFINE SCALAR FUNCTION >> in a CDS data definition>.
A scalar function implementation reference> that binds the scalar function to the SQL environment and to an AMDP function implementation >.
An AMDP function> that implements the scalar function as database function >. ABAP_MORE_INFO >