Ansicht
Dokumentation

ABENNUMBER_TYPES_HINTS - NUMBER TYPES HINTS

ABENNUMBER_TYPES_HINTS - NUMBER TYPES HINTS

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Numeric Data Types - Hints on Use

The following hierarchy shows you which numeric data type to use in which situation:

  1. If you need whole numbers, use data type i. If the value range of i is too small, use packed numbers without fractional portions. If the value range of the packed numbers is too small, use decimal floating point numbers.

  2. If you need fractions with a number of decimal places known at the time the program was created, use data type p.
    If the value range of p is too small, use decimal floating point numbers.

  3. If you need fractions with a variable number of decimal places or a larger value range, use the data types decfloat16 or decfloat34. The data type decfloat16 uses less memory than decfloat34, but its runtime is not shorter. Only use decfloat16 if you need to save memory.

  4. Use the data type f only if performance-critical algorithms (such as matrix operations) are involved and precision is not important.

Only use decfloat16 if you need to save memory.

  1. Use the data type f only if performance-critical algorithms (such as matrix operations) are involved and precision is not important.






ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2075 Date: 20240328 Time: 102531     sap01-206 ( 31 ms )