SAP CONCATENATION FUNCTIONS



Get Example source ABAP code based on a different SAP table
  


• concat_lines_of ABAP_FUNCTION
• table concat_lines_of function
• sep concat_lines_of function

ABAP_STRINGFUNC - concat_lines_of

ABAP_SYNTAX
... concat_lines_of( $[table =$] itab $[sep = sep$] ) ...

What does it do?
This built-in function concatenates all line content of an internal table itab and returns the result as a character string. itab expects an index table with character-like line type. itab is a functional operand position.
sep can be used to specify a string as a separator, which is then inserted between the lines. sep is a character-like expression position. If sep is not specified, the line content of the internal table is appended to each other directly. If the line types or the argument sep have a fixed length, trailing blanks are ignored.
The formal parameter table must be specified explicitly only if sep is also specified.
The return value has the type string.



Latest notes:

The concatenation operator can be used to concatenate elementary character strings.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
This function returns ABAP Objects.
ABEXA 00880
ABAP_EXAMPLE_END