ARTIClE
String Templates, Length
This example demonstrates how to specify a length for embedded
expressions.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
Two DO loops perform the predefined function substring for
the system field sy-abcde in an embedded expression of a string
template. The first loop calculates the length from the length of the
substring plus a fixed value. The second loop sets the length
(constantly) as half the length of the full string. This means that this
length is ignored if a longer substring is accessed.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved