on 12-04-2009 7:49 AM
Dear Expert,
Now we meet one question,we have a long text which include many line feeds,when show it in a cell of one table in smartform.we can only see the line feeds become to some ##. not do the ENTER or TAB..
For example, the show like below:
ABECDEF#MNIOPHN
not
ABECDEF
MNIOPHN
So, Would you like to tell me how to do?
Thanks&Regards,
Kerry
Hi Kerry,
You can use the attributes of class: cl_abap_char_utilities
If it_longtext is the table which contains your longtext data.
DATA: c_new value cl_abap_char_utilities=>newline,
v_ltxt type string.
loop at it_longtexts into wa_longtexts.
concatenate v_ltxt wa_longtexts-text_line into v_ltxt.
endloop.
refresh it_longtexts[].
split v_ltxt at c_new into it_lontexts.
Regards,
Swarna Munukoti
Edited by: Swarna Munukoti on Dec 4, 2009 11:44 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
which printer you are using.? Check with other printer.
rgds
Aeda
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.