SAP Tutorials Blog


 


 


DATA(lv_string) TYPE string VALUE 'Hello, ABAP World!'.

DATA(lv_count) TYPE i.


lv_count = COUNT( lv_string FOR 'l' ).


WRITE: / 'Original String:', lv_string,

       / 'Count of ''l'':', lv_count.


Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com