Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

doubt on standard text

Former Member
0 Likes
430

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

2 REPLIES 2
Read only

Former Member
0 Likes
415

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.

Read only

Former Member
0 Likes
415

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^