Concatenate: Used to combine the characters or Strings.
Ex 1: Concatenating string without space.
Source Code:
DATA : txt3 TYPE string.
PARAMETERS : txt1 TYPE string,
txt2 TYPE string .
CONCATENATE txt1 txt2 INTO txt3.
WRITE : / txt3.
Input :
Output :
------------------------------------------------------------------------------------------
Ex 2 : Concatenating string with space using Separated by space keyword.
Source Code:
data : txt3 TYPE string.
PARAMETERS : txt1 TYPE string,
txt2 TYPE string .
CONCATENATE txt1 txt2 INTO txt3 separated by space.
WRITE : / txt3 .
Input
Output
Thanks for Nice and Informative Post on.sap hr abap training
ReplyDeleteYou blog is very gud for beginners.....Thank You !
ReplyDelete