REPORT z_abap101_049.
DATA v_string TYPE string VALUE '1234567890ABCDEFGHIJ'.
DATA v_string_length TYPE i.
START-OF-SELECTION.
v_string_length = strlen( v_string ).
IF v_string_length > 20 .
WRITE 'Too big'.
ELSE.
WRITE v_string_length.
ENDIF.

Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP S/4 HANA Logistics Consultant
Contact : serkurumsal@yandex.com