Search This Blog

Showing posts with label CONCATINATION IN ABAP. Show all posts
Showing posts with label CONCATINATION IN ABAP. Show all posts

Monday, February 15, 2021

Concatenation in ABAP

Concatenation in ABAP is done by joining two string together.

Following program has implemented the same:



  REPORT ztest.
  PARAMETERSlv_data1 TYPE string"VALUE 'Mr.'
              lv_data2 TYPE string"VALUE 'India'
  DATA:    lv_data TYPE string.
  CONCATENATE lv_data1 lv_data2 INTO lv_data SEPARATED BY space.
  WRITElv_data"Output is 'Mr. India"

Pages