2008 Mar 07 12:46 PM
Hi All Experts
I create a standard text in transaction code SO10.
Now i have to call that standard text in report output.
Thanks In Advance
Lokesh
Hi All Experts
I create a standard text in transaction code SO10.
Now i have to call that standard text in report output.
Thanks In Advance
Lokesh
2008 Mar 07 12:50 PM
Hi,
check this
data: xthead type thead.
data: ilines type table of tline with header line.
xthead-tdobject = 'ZPT_DET'.
xthead-tdid = 'Z001'.
xthead-tdname = '004500'.
xthead-tdspras = sy-langu.
xthead-tdlinesize = 72.
call function 'READ_TEXT'
exporting
id = xthead-tdid
language = xthead-tdspras
name = xthead-tdname
object = xthead-tdobject
tables
lines = ilines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
call function 'EDIT_TEXT'
exporting
header = xthead
tables
lines = ilines
exceptions
id = 1
language = 2
linesize = 3
name = 4
object = 5
textformat = 6
communication = 7
others = 8.
check sy-subrc = 0.
Regards,
Omkaram.
2008 Mar 07 12:59 PM
hi
good
when u create std text you need to enter
text name
text id
language
in smartform right clike and create text element.
in general attributes of text element select include text.
enter the above details there.
thanks
mrutyun^