|
How to print the characters
in Reverse Order?
This is the ABAP program logic you can used. 1. Get all the individual characters of your text into
a string along with spaces.
With function STRING_REVERSE it will success fine, but you have to change the type if str. See below: data: str(20) type c value 'madhvi'. WRITE: / 'input ', str. new-line. CALL FUNCTION 'STRING_REVERSE'
or
REPORT ZPOLY. data: mp type string value ' madhvi', int type i, col type i value 5, pos type i value 5. int = strlen( mp ).
do int times. WRITE AT col(pos) mp+int(1).
enddo.
Reverse printing text in Smartforms How to print some dynamic text in smartform with 270 degrees? To print Dynamiv text in smartform with 270 degrees ,what you have to do is that you have to make a Window which is vertical which can hold exactly 1 character,. Now pass the Text , it will compeled to show it as vertical. Let us suppose that the word is "HELLO" then you can only print: H
Not like this : O
|
|
See Also:
Tables
ABAP Books List
Smart Forms
ABAP Menu:
Return to Index:-
(c) www.gotothings.com All material on this site is Copyright.
|