SAP BUILT IN FUNCTIONS OVERVIEW



Get Example source ABAP code based on a different SAP table
  



Built-In Functions, Overview
The following tables summarize 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 value according to its purpose.
A description function determines a property of an argument and usually returns this property as a numeric value.
These include the logical functions, which either evaluate a logical expression as Boolean functions or return a truth value as a predicate function.

Logical Functions FunctionMeaning boolc, boolx, xsdboolBoolean functions contains, contains_any_of, contains_any_not_of Predicate functions for strings matchesPredicate function for strings line_existsPredicate function for internal tables
ABAP_MORE_INFO

Numeric Functions FunctionMeaning abs, ceil, floor, frac, sign, truncGeneral numeric functions ipowInteger power function nmax, nminNumeric extremum functions acos, asin, atan, cos, sin, tan, cosh, sinh, tanh, exp, log, log10, sqrtFloating point functions round, rescale Rounding functions
ABAP_MORE_INFO

String Functions FunctionMeaning charlen, dbmaxlen, numofchar, strlenLength functions char_offLength function cmax, cminCharacter-like extremum value functions count, count_any_of, count_any_not_of Search functions distanceSimilarity function condenseCondense function concat_lines_of Concatenation function escapeEscape symbol function find, find_end, find_any_of, find_any_not_ofSearch functions insertInsert function matchSubstring function repeatRepeat function replaceReplace function reverseReverse function segmentSegment function shift_left, shift_rightShift functions substring, substring_after, substring_from, substring_before, substring_toSubstring functions to_upper, to_lower, to_mixed, from_mixed Case functions translateTranslation function
ABAP_MORE_INFO

Byte String Functions FunctionMeaning xstrlenLength function bit-setBit function
ABAP_MORE_INFO

Time Stamp Functions FunctionMeaning utclong_currentCurrent time stamp utclong_addAddition function for time stamps utclong_diffDifference function for time stamps
ABAP_MORE_INFO

Table Functions FunctionMeaning linesRow function line_indexIndex function
ABAP_MORE_INFO