SAP Connector > SAP data type reference > SAP IDoc and transformation data types
  

SAP IDoc and transformation data types

Use only the compatible SAP IDoc data types in mappings and mapping tasks to process SAP data through the SAP IDoc interface.
The following table lists the SAP IDoc data types that you can use with IDoc Reader Connector or IDoc Writer Connector, along with the corresponding transformation data types:
SAP IDoc Data Type
Transformation Data Type
Range for Transformation Data Type
ACCP
Date/time
Jan 1, 0001 A.D. to Dec 31, 9999 A.D.
CHAR
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
CLNT
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
CUKY
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
CURR
Decimal
Precision 1 to 28 digits, scale 0 to 28
DATS
Date/time
Jan 1, 0001 A.D. to Dec 31, 9999 A.D. Precision to the nanosecond.
DEC
Decimal
Precision 1 to 28 digits, scale 0 to 28
FLTP
Double
Precision 15, scale 0
INT1
Small Integer
Precision 5, scale 0
INT2
Small Integer
Precision 5, scale 0
INT4
Integer
Precision 10, scale 0
INT8
Int8
8-byte integer between -9,223,372,036,854,775,808 and +9,223,372,036,854,775,807. The length is set at 19 positions.
LANG
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
LCHR
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
LRAW
Binary
Uninterrupted sequence of bytes with a maximum length of 255 positions.
NUMC
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
PREC
Binary
Uninterrupted sequence of bytes with a maximum length of 255 positions.
QUAN
Decimal
Precision 1 to 28 digits, scale 0 to 28
RAW
Binary
Uninterrupted sequence of bytes with a maximum length of 255 positions.
RAWSTRING
Binary
Uninterrupted byte string.
STRING
String
Character string.
TIMS
Date/time
Jan 1, 0001 A.D. to Dec 31, 9999 A.D. Precision to the nanosecond.
UNIT
String
1 to 104,857,600 characters
Fixed-length or varying-length string.
VARC
String
1 to 104,857,600 characters
Fixed-length or varying-length string.