2. Data declarations Flashcards
Data type: X
Hexadecimal-Initial valu 00, standard length 2*defined length-left justified
Data type: C
text field
- standard length: defined length
- left justified
Data type: N
Numeric text field
- standard length: defined length
- left justified
Data type: D
Date
- standard length:10
- left justified
Data type: T
Time
- standard length: 8
- left justified
Data type: I
Integer
- standard length: 12
- right justified
Data type: F
Float
- standard length: 22
- right justified
ASSIGN
Statement associates a field to a field symbol at runtime
DATA
Is used to declare a variable (or field) in an ABAP program
VALUE
Is used to set a default value
LIKE
Is used to declare fields with reference to other variable or field.
TYPE
Is used to specify a field’s data type in the “TYPE” addition of the “DATA” or “CONSTANTS” statements.
CONSTANTS
Is used to declare a constant.
FIELD-SYMBOLS
Is a pointer that assumes a field’s address, not a fields value
SY-DATUM
Variable del sistema, es la fecha del sistema