2008 Feb 10 10:21 AM
what is the significance of initial field and valid field in data type like float,numeric,int etc.
what is the significance of initial field and valid field in data type like float,numeric,int etc.
2008 Feb 11 6:45 AM
hi,
With data types p, n, c, and X you can enter a length in parentheses after the type name. If no length
is entered, the default length for this data type is used.
With data type P you can use the DECIMALS addition to determine the number of decimal places that
should be used (up to a maximum of 14). If this addition is missing, the number of decimal places is
set to zero.
If you do not specify a type, then the field is automatically type C.
All other literals (character, numbers with decimal places, floating point numbers) are stored as text
literals with data type C. If a literal is assigned to a variable that does not have type C, then a type
conversion is carried out.
The length specification after the type name for ABAP data types C, N, and X specifies the number of
characters in the type. For type P fields, you can also set the number of decimal places. If you omit
these specifications, the system uses the default values
Hope this helps, Do reward.
Edited by: Runal Singh on Feb 11, 2008 12:18 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |