Monday, 8 June 2015

String Function? Reverse

---------------------------------------------------------------------------------------------------------------------------------
Code:
--------------------------------------------------------------------------------------------------------------------------
* String Reverse *
DATA str1 TYPE string VALUE 'SAP ABAP PROGRAM',
            str2 TYPE string VALUE ''.

WRITE :'Before Reverse:'str1.

str2 reversestr1 ). " reverse () function in ABAP

WRITE :'Aftre Reverse:'str2.

-------------------------------------------------------------------------------------------------------------------------



















---------------------------------------------------------------------------------------------------------------------------------

No comments:

Comments system

Disqus Shortname