‎2008 Apr 21 9:32 AM
‎2008 Apr 21 9:48 AM
Numeric:
Integer
Packed
Float
Char:
Char
Numc
Date
Time
Hexa Decimals
Reward if useful
‎2008 Apr 21 9:48 AM
Numeric:
Integer
Packed
Float
Char:
Char
Numc
Date
Time
Hexa Decimals
Reward if useful
‎2008 Apr 21 9:58 AM
‎2008 Apr 21 10:51 AM
ACCP Posting period YYYYMM
CHAR Character string
CLNT Client
CUKY Currency key, referenced by CURR fields
CURR Currency field, stored as DEC
DATS Date field (YYYYMMDD) stored as char(8)
DEC Counter or amount field with comma and sign
FLTP Floating point number, accurate to 8 bytes
INT1 1-byte integer, integer number <= 255
INT2 2-byte integer, only for length field before LCHR or LRAW
INT4 4-byte integer, integer number with sign
LANG Language key
LCHR Long character string, requires preceding INT2 field
LRAW Long byte string, requires preceding INT2 field
NUMC Character string with only digits
PREC Precision of a QUAN field
QUAN Quantity field, points to a unit field with format UNIT
RAW Uninterpreted sequence of bytes
RAWSTRING Byte String of Variable Length
SSTRING Short Character String of Variable Length
STRING Character String of Variable Length
TIMS Time field (hhmmss), stored as char(6)
VARC Long character string, no longer supported from Rel. 3.0
UNIT Unit key for QUAN fields
‎2008 Apr 21 11:22 AM
hi
Two types of data types are there.
1) Predefined
2) User defined.
Again User defined Data types devided into two types
a) Local type
b) global type
Predefined : it is used to specify the types of individual field whose lenghts are fixed.
numeric(I,F,P)
Charcter(C,D,N,T)
Hexadecimal type(X)
Predefined Elementary type with variable length (String for char String,XString for byte String)
User Defined : Defined by user in the program as well as out side the program in abap dictinary.
in Local data type we declare the type in the program using predefined data type.
Elementary:
types : t (<length>) type <type>
Structure type :
types : begin of <struct>
.
end of <struct>.
table type :
types : <t> type\like <tabkind> of <line type> [with <key>].
types
in global data type we define Type Group which contain more than one types or constant names. Using Type-Pool statement we can retrive necessary types from the type group in the abap program.
‎2008 Apr 22 11:58 AM