‎2008 May 12 6:43 PM
Hi,
Can somebody give me details regarding predefined data types in ABAP and equivalent Character types ?
For example :
F2 type p can be equivalent to F2(20) type c
F2 CURR17 = F2(?) TYPE c
Thanks
‎2008 May 13 7:45 AM
Hi,
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)
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
Pls chk this links;
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm
Hope this helps,
Regards
CSM Reddy