ABAPDATA_SIMPLE - DATA SIMPLE
RFUMSV00 - Advance Return for Tax on Sales/Purchases Vendor Master (General Section)This documentation is copyright by SAP AG.
DATA - TYPE abap_type
Syntax
DATA { {var[(len)] TYPE abap_type [DECIMALS dec]}
| {var [TYPE abap_type [LENGTH len] [DECIMALS dec]]} }
[VALUE val|{IS INITIAL}]
[READ-ONLY].
Effect
When an abap_type predefined data type is specified, an elementary variable var is defined. For abap_type, you can use all predefined data types from the table ofpredefined ABAP types except for internal types b and s.
The syntax and meaning of LENGTH, len, DECIMALS, and dec are identical tothe definition of elementary data types with TYPES and must be specified within the relevantintervallimits. Here, however, they are used to generate a bound data type. If you omit the specificationof len and dec for ABAP types c, n, p, and x, the bound type is generated with the default length from thetable of predefined ABAP types, and for p without decimal places.
Note
For readability purposes, we recommend that you do not omit any specifications and always use the LENGTH addition instead of parentheses for length specification len.
Example
These statements declare three variables and determine their start values.
DATA: text_buffer TYPE string VALUE `Text`,
count TYPE i VALUE 1,
price TYPE p LENGTH 8 DECIMALS 2 VALUE '1.99'.
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 2857 Date: 20120522 Time: 044738 triton ( 108 ms )






