on 12-16-2008 3:08 AM
Hi all,
I have created standard text in two lines as given below where as i am getting output in one line.
But i need it in two lines.
Ex.
standard text: sap
development network.
output displaying:sap development network
my requirment. sap
development network.
waiting for your reply.
Suresh
i have used the new-line command in between the texts.now it gets solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use this fm CALL FUNCTION 'RKD_WORD_WRAP' and pass the aribles...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While creating standard text
Goto change editor....
Check your given text is two lines or as a continuous text.
Give Enter After sap and write development network.
to new line
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just Copy-Paste below code snipped and Execute:
REPORT test.
data:string type string VALUE 'A surprise visit by US President George Bush to Iraq has been overshadowed by an incident in which two shoes were thrown at him during a news conference'.
data:itab TYPE STANDARD TABLE OF SWASTRTAB WITH HEADER LINE.
CALL FUNCTION 'SWA_STRING_SPLIT'
EXPORTING
input_string = string
MAX_COMPONENT_LENGTH = 10
* TERMINATING_SEPARATORS =
* OPENING_SEPARATORS =
tables
string_components = itab.
LOOP AT itab.
WRITE:/ itab-STR.
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
data : lv_text1(50) type c,
lv_text2(50) type c.
move : lv_final+0(50) to lv_text1,
lv_final+51(50) to lv_text2.
Best regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.