on 09-08-2008 6:49 AM
hii,
Can anyone explain how to call header text in smartform?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
swetha,
i used READ TEXT in report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.