Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Built-In Types, Data Objects, Functions, and Constructors →  Built-In Functions 

Built-In Functions - Overview

The following tables show the built-in functions by purpose. Built-in functions are generally processing functions or description functions.

  • A processing function performs general processing and returns a return code according to its purpose.
  • A description function determines a property of an argument and usually returns this property as a numerical value.

Other functions are known as logical functions, which either evaluate a logical expression (Boolean functions) or return a truth value (predicate functions).

Other versions: 7.31 | 7.40 | 7.54

Logical Functions

Function Meaning
boolc, boolx, xsdbool Boolean functions
contains, contains_any_of, contains_any_not_of Predicate functions for strings
matches Predicate function for strings
line_exists Predicate function for internal tables

More

Numerical Functions

Function Meaning
abs, ceil, floor,frac, sign, trunc General numerical functions
ipow Integer power function
nmax, nmin Numerical extremum functions
acos, asin, atan,cos, sin, tan,cosh, sinh, tanh,exp, log, log10,sqrt Floating point functions
round, rescale Rounding functions

More

String Functions

Function Meaning
charlen, dbmaxlen, numofchar,strlen Length functions
char_off Length function
cmax, cmin Character-like extremum value functions
count, count_any_of, count_any_not_of Search functions
distance Similarity function
condense Condense function
concat_lines_of Concatenation function
escape Escape symbol function
find, find_end, find_any_of,find_any_not_of Search functions
insert Insert function
match Substring function
repeat Repeat function
replace Replace function
reverse Reverse function
Segment Segment function
shift_left, shift_right Shift functions
substring, substring_after, substring_from, substring_before,substring_to Substring functions
to_upper, to_lower, to_mixed, from_mixed Case functions
translate Translation function

More

Byte String Functions

Function Meaning
xstrlen Length function
bit-set Bit function

More

Time Stamp Functions

Function Meaning
utclong_current Current time stamp
utclong_add Addition function for time stamps
utclong_diffs Difference function for time stamps

More

Table Functions

Function Meaning
lines Row function
line_index Index function

More