‎2005 Apr 18 11:48 AM
somebody has used this function?
my problem is that i cannot display header names when i use the function.
tx
a
CALL FUNCTION 'STC1_FULLSCREEN_TABLE_CONTROL'
EXPORTING
HEADER = p_table
tabname = p_table
display_only = p_displ
endless = 'X'
no_button = space
IMPORTING
okcode = w_okcode
TABLES
nametab = it_dfies
TABLE = <itab>
fielddif = it_fdiff
modif_table = <ntab>
EXCEPTIONS
OTHERS = 1.
all parameters are filled when i call the function
a
‎2010 May 19 4:32 PM
Hello Alvaro
Try to put the following code before calling the fnuction.
loop at IT_DFIES into is_dfies.
if is_dfies-reptext is initial.
select single scrtext_s into is_dfies-reptext from ddftx where tabname = is_dfies-tabname
and fieldname = is_dfies-fieldname
and ddlanguage = sy-langu.
IF sy-subrc = 0 and is_dfies-reptext is initial.
select single scrtext_m into is_dfies-reptext from ddftx where tabname = is_dfies-tabname
and fieldname = is_dfies-fieldname
and ddlanguage = sy-langu.
IF sy-subrc = 0 and is_dfies-reptext is initial.
select single scrtext_l into is_dfies-reptext from ddftx where tabname = is_dfies-tabname
and fieldname = is_dfies-fieldname
and ddlanguage = sy-langu.
endif.
endif.
If is_dfies-reptext is initial.
select single fieldtext into is_dfies-reptext from ddftx where tabname = is_dfies-tabname
and fieldname = is_dfies-fieldname
and ddlanguage = sy-langu.
ENDIF.
If is_dfies-reptext is initial.
is_dfies-reptext = is_dfies-fieldname.
ENDIF.
modify it_dfies from is_dfies .
endif.
endloop.Regards
dstj