F How to SPLIT a string in SAP ABAP program | CodeTheta

How to SPLIT a string in SAP ABAP program

January 24, 2020

Code :
REPORT ZVP_STRING_SPLIT.

DATA: LV_STRING TYPE CHAR50 VALUE 'CODETHETA.COM',
      LV1 TYPE CHAR20,
      LV2 TYPE CHAR20.

SPLIT LV_STRING AT '.' INTO LV1 LV2.
WRITE:/ 'FIRST STRING :', LV1.
WRITE:/ 'SECOND STRING :',LV2.

Output :

IDE Used To Test This Code : ABAP Editor.

Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.

Post a Comment

PRODUCTS

LISTS OF PRODUCTS

SERVICES

SKILLS
SOFTWARE DEVELOPMENT
WEBSITE DEVELOPMENT
WEB HOSTING
BULK SMS SERVICE
SEO SERVICE
ANDROID APPS
QR CODE / BARCODE
HARDWARE SERVICE
OUR WORK AREA