Ansicht
Dokumentation

ABENSQL_EXPR_ARITH_ABEXA - SQL EXPR ARITH ABEXA

ABENSQL_EXPR_ARITH_ABEXA - SQL EXPR ARITH ABEXA

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- Arithmetic Calculations

This example demonstrates arithmetic calculations in SQL expressions.

Source Code

Execute

Description

Calculations are made and functions called in a list of columns specified after SELECT.

  • Integer divisions with the functions DIV, MOD, and DIVISION do not require this update.
  • A host variable is added to the absolute value of a difference between column values.

Using the alias names defined after AS, the results are assigned to identically named columns of an internal table results declared inline. The result of the final calculation is used as a sort criterion.






Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1462 Date: 20240416 Time: 131650     sap01-206 ( 26 ms )