Concatenation in ABAP is done by joining two string
together.
Following program has implemented the same:
PARAMETERS: lv_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.
WRITE: lv_data. "Output is 'Mr. India"
No comments:
Post a Comment