CONCATENATE is a string function which is used to add different variables into a single string variable.
Syntax : CONCATENATE <STRING1> <STRING2> <STRING3>... INTO <STRING>.
Example of Using CONCATENATE
REPORT ZSAPN_CONCATENATE. DATA : STR1 TYPE STRING. DATA : STR2 TYPE STRING. DATA : STR3 TYPE STRING. DATA : STRING TYPE STRING. STR1 = 'A'. STR2 = 'B'. STR3 = 'C'. CONCATENATE STR1 STR2 STR3 INTO STRING. "Concatenate into string WRITE :/ STRING . *The out put will be 'ABC'
Serkan AKKAVAK
Computer Engineer
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com
0 Comments