Ansicht
Dokumentation

ABENTYPE_P_VALUE_RANGE_ABEXA - TYPE P VALUE RANGE ABEXA

ABENTYPE_P_VALUE_RANGE_ABEXA - TYPE P VALUE RANGE ABEXA

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Value Ranges of Packed Numbers

This example demonstrates the value ranges of packed numbers with different lengths and decimal places.

Source Code

Execute

Description

The value range of a packed number with the length length and decimals decimal places is one of the following according to the formula in this table):

( -10^(2xlength-1) +1 ) / ( 10^decimals )

to

( +10^(2xlength-1) -1 ) / ( 10^decimals )

The program creates a packed number with a length and decimal places that can be entered from outside. The minimum and maximum values of the number are determined using methods of the system class CL_ABAP_EXCEPTIONAL_VALUES and compared with self-calculated values.






TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1215 Date: 20240425 Time: 135910     sap01-206 ( 21 ms )