Get Example source ABAP code based on a different SAP table
ABAP_CDS - Amounts and Quantities In ABAP CDS>, a special handling for amounts and quantities is implemented. ABAP CDS amount fields> and ABAP CDS quantity fields> are similar to DDIC currency fields> and DDIC quantity fields>, but more data types are possible. In CDS view entities>, the currency key> and unit key> reference is respected in expressions>, comparisons>, UNION > views>, and INTERSECT> views>. Moreover, a special data type is available: the calculated quantity with calculated unit reference>. Read the following sections for details:
ABAP CDS Amount Fields>
ABAP CDS Quantity Fields>
ABAP CDS Calculated Quantity with Calculated Unit>