Posts

Showing posts with the label ABAP Concatenate

Diving Deeper into ABAP: Exploring String Operations - Concatenate, Split, Condense, and More!

Image
 Welcome back everyone, We have discussed the different types of loops and system variables in our previous blog, Today We will continue with String operations. String Operations :- A string is a collection of characters. String is an elementary data type of variable length. String Operations :- CONCATENATE The purpose of concatenate is to combine the strings. Syntax : concatenate <c1> ———— <cn> into <c> separated by <s>. In the above syntax : concatenate = keyword, <c1>————<cn> = individual strings, into = keyword, <c> = final result string, separated by = keyword, <s> = separated. Create a executable program in SE38. *********************************************************************** *Start of Program *Declaring variables DATA : lv_input1(10) type c value 'Welcome', lv_input2(10) type c value 'To', lv_input3(10) type c value 'Home', lv_output type string. "No