‎2008 Aug 13 7:48 AM
Hi all,
How to display the long text in alv by using function modules ?
Send me any sample code.
Thanks in advance
krupali.
‎2008 Aug 13 7:51 AM
Hi,
any long text you want to display...first we need to read that text by using READ_TEXT function module.
and store it into one internal table.
then pass this table to your ALV function module to display.
Have a nice day,
venkat
‎2008 Aug 13 7:51 AM
Hi,
any long text you want to display...first we need to read that text by using READ_TEXT function module.
and store it into one internal table.
then pass this table to your ALV function module to display.
Have a nice day,
venkat
‎2008 Aug 13 7:54 AM
Hello KR,
Use READ_TEXT and concatenate the first lines of the text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = lv_name " purchase order with leading zeroes
object = 'EKKO'
TABLES
lines = t_lines
EXCEPTIONS
OTHERS = 8.
You can loop at t_lines and concatenate header in to some other field.
Best Regards,
Sasidhar Reddy Matli.
Edited by: Sasidhar Reddy Matli on Aug 13, 2008 12:25 PM
‎2008 Aug 13 8:04 AM
‎2008 Aug 13 8:05 AM
Hi,
go through following piece of code... and do changes where required ....
data : s_date like sy-datum,
s_date1(10).
data : s_time like sy-uzeit,
s_time1(8).
data : t_stamp(14) value '20070522064742'.
s_date = t_stamp+0(8).
s_time = t_stamp+8(6).
write s_date to s_date1.
write s_time to s_time1.
concatenate s_date1 s_time1 into t_result separated by space.
i hope u will get some help fron this
Thanks & Regards
Ashu Singh
‎2008 Aug 13 8:07 AM
hi,
Sorry the previous post i did to u was not for ur problem...
Thanks & Regards
Ashu Singh