F Length of a string program in SAP ABAP | CodeTheta

Length of a string program in SAP ABAP

September 03, 2019

Code :
REPORT ZVP_PRACTICE.

DATAVAR1(50TYPE C,
      OUTPUT TYPE I.

VAR1 'HELLO WORLD!'.

OUTPUT STRLENVAR1 ).

WRITE:'LENGTH OF THE STRING IS :',OUTPUT.


Output :
LENGTH OF THE STRING IS : 12

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