F How to Concatenate two Strings in SAP ABAP | CodeTheta

How to Concatenate two Strings in SAP ABAP

September 03, 2019

Code :
REPORT ZVP_PRACTICE.

DATAVAR1(50)    TYPE C,
      VAR2(50)    TYPE C,
      OUTPUT(200TYPE C.

VAR1 'HELLO'.
VAR2 'WORLD!'.

CONCATENATE VAR1 VAR2 INTO OUTPUT SEPARATED BY ','.

WRITE:OUTPUT.


Output :
HELLO,WORLD!

IDE Used To Test This Code : SAP Login 730.

Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.

Post a Comment