OutSystems Platform infers the parameters' data type when importing SAP remote functions. See the type mapping in the following table:

SAP Data Type

OutSystems Data Type

Obs.

BCD

Decimal, Text

Decimal, if the length of the field is less than 28 characters.

Text otherwise.

Byte

Binary Data

 

CHAR

Text

 

CLASS

Structure

Learn more about the created structures.

DATE

Date

 

DECF16

Decimal

Values of these SAP data types can be outside of the boundaries of the Decimal data type.

If the integer part is higher than the biggest Decimal value of OutSystems, you get a runtime error.

If the fractional part is outside of OutSystems' Decimal boundaries, it will be rounded.

If you need to work with values out the Decimal range of OutSystems, use Text data type.

Learn more about the Decimal data type.

DECF34

FLOAT

INT1

Integer

 

INT2

INT

NUM

Text

 

STRING

Text

 

STRUCTURE

Structure

Learn more about the created structures.

TABLE

List

If a table is input and output parameter at the same time, OutSystems generates two separate parameters.

TIME

Time

 

XSTRING

BinaryData

 

SAP Structures

When you import a remote function where a parameter is a Structure, OutSystems Platform tries to reuse existing structures for that parameter. This way it minimizes the number of structures in your application.

When you refresh a SAP connection, its structures’ name, description, and manually added attributes remain unchanged. Only the data type of the original attributes are synced with those of the SAP system.

See Also

Available Data Types