This syntax applicable start from SAP ECC 6.0
DATA : v_string(40).
CONCATENATE 'I' 'need' 'more' ' ' 'space.' INTO v_string
RESPECTING BLANKS
SEPARATED BY space.
WRITE:/ v_string.
For R/3 release 4.6C, just do a little tricks.
DATA : v_err LIKE tline OCCURS 0 WITH HEADER LINE,
var1(20), var2(10), var3(10), var4(10), var5(10), x(1).
v_err-tdformat = '*'.
var1 = 'Material 0'.
var2 = 'QTY PR 1'.
var3 = 'QTY PO 2'.
var4 = 'QTY SO 3'.
var5 = 'Selisih 4'.
CONCATENATE var1 var2 var3 var4 var5
INTO v_err-tdline SEPARATED BY space.
x = 0.
DO 5 TIMES.
REPLACE x WITH space INTO v_err-tdline .
x = x + 1.
ENDDO.
write:/ v_err-tdline.