Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ABAP

abap concatenate

DATA: t1 TYPE c LENGTH 10 VALUE 'We',
      t2 TYPE c LENGTH 10 VALUE 'have',
      t3 TYPE c LENGTH 10 VALUE 'all',
      t4 TYPE c LENGTH 10 VALUE 'the',
      t5 TYPE c LENGTH 10 VALUE 'time',
      t6 TYPE c LENGTH 10 VALUE 'in',
      t7 TYPE c LENGTH 10 VALUE 'the',
      t8 TYPE c LENGTH 10 VALUE 'world'.

CONCATENATE t1 t2 t3 t4 t5 t6 t7 t8 INTO DATA(lv_result) SEPARATED BY space.

WRITE: lv_result.
 
PREVIOUS NEXT
Tagged: #abap #concatenate
ADD COMMENT
Topic
Name
3+5 =