on 03-12-2008 10:33 AM
please tell me how to print a string in the reverse form.
Hi Call The FM String_REVERSE
CALL FUNCTION 'STRING_REVERSE'
EXPORTING STRING = ' abcdef '
IMPORTING RSTRING = REVERSESTRING
EXCEPTIONS TOO_SMALL = 1.
IF SY-SUBRC = 0.
* The reverse string is in RSTRING
ELSE.
* RSTRING zu kurz
ENDIF.
Regards
Sandipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Call the FunctionModule 'STRING_REVERSE'. which is already available..
regards,
bharathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use ... STRING_REVERSE fm to achieve that ...
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
string = descr
lang = 'E'
IMPORTING
rstring = descr.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.