cancel
Showing results for 
Search instead for 
Did you mean: 

HEADER TEXT

Former Member
0 Kudos

hii,

Can anyone explain how to call header text in smartform?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In read text FM check u have all these.

data: v_tdid like thead-tdid ,

v_tdobject like thead-tdobject ,

v_langu like thead-tdspras,

v_tdname like thead-tdname,

v_thead like thead .

types : begin of t_itab .

include structure tline .

types : end of t_itab .

data: i_tab type standard table of t_itab.

call function 'READ_TEXT'

exporting

client = sy-mandt

id = v_tdid

language = v_langu

name = v_tdname

object = v_tdobject

archive_handle = 0

local_cat = ' '

importing

header = v_thead

tables

lines = i_tab.

exceptions

id = 1

language = 2

name = 3

not_found = 4

object = 5

reference_check = 6

wrong_access_to_archive = 7

others = 8.

Now in your smart form create include text and give your text object id langu etc...

hope this works

Answers (5)

Answers (5)

Former Member
0 Kudos

hey swetha,

i had done this..still..

okk

i defined the parameters,which i m calling in import tab of form interface.Anything else to do in smartform except this..

Former Member
0 Kudos

swetha,

i used READ TEXT in report.

Former Member
0 Kudos

Hi

Refer to sudheer post in this link:

Regards,

Sravanthi

Former Member
0 Kudos

hey swetha,

I used "read text" function to call header text,which i guess is right.report as well as form is working correctly...but i dont know why header text is not coming in form.

though data,i fetched from internal table is visible in the form.

Former Member
0 Kudos

Are you using the read text in smartform also?

Former Member
0 Kudos

Standard header text can be called by include text.

Give text name , object , id and language here.

You could see the header text printing throught your smartform in the transaction where it is maintained.