Appendix C: ABAP4 Data Types to Java Cross-Reference

Team-Fly

Data Types

When working with BAPIs or RFCs from an SAP environment, you must be able to both interpret the various types of data that can be returned and convert your variables into these types (for example, numeric, packed, or character). The following table shows the mapping between ABAP and Java data types.

ABAP Data Type

Java Equivalent

CHAR

java.lang.String

INT4

java.math.BigInteger

INT2

java.math.BigInteger

INT1

java.math.BigInteger

NUMC

java.math.BigInteger

PACK

java.math.BigDecimal

LANG

java.lang.String

CURR

java.math.BigDecimal

CUKY

java.lang.String

DATS

java.lang.String

UNIT

java.lang.String

TIMS

java.lang.String

DEC

java.math.BigDecimal

QUAN

java.math.BigDecimal

ACCP

java.lang.String

CLNT

java.lang.String

FLTP

java.math.BigDecimal

RAW

byte[]


Team-Fly


Java & BAPI Technology for SAP
Java & BAPI Technology for SAP
ISBN: 761523057
EAN: N/A
Year: 1998
Pages: 199

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net