SAP Tutorials Blog

 


 


SPLIT – Splits a string into 2 or more smaller strings.


DATA: s1(10), s2(10), s3(10),

      source(20) VALUE 'abc-def-ghi'.


SPLIT source AT '-' INTO s1 s2 s3.


WRITE:/ 'S1 - ', s1.

WRITE:/ 'S2 - ', s2.

WRITE:/ 'S3 - ', s3.


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Deputy Manager

Contact : serkurumsal@yandex.com