The function is used to retrieve the length of the input text.

Function: STRLEN (INPUT TEXT)

Sample: 

DATA: output TYPE I,
input1(20) VALUE '12345',
input2(20) VALUE ' SERKAN AKKAVAK',

output = STRLEN( input1). 
WRITE output.

output = STRLEN( input2 ). 
WRITE / output.

Output:

5
14

Serkan AKKAVAK
Computer Engineer
serkurumsal@yandex.com