on 03-03-2006 5:20 AM
Hi,
How To avoid column heading for only total line in ALV list Display.
Hi,
to change colunm header field catlog is built
look at the example below
Changing column text headers
use this to change, hide, or alter the ALV columns
CLEAR: gt_fcat.
READ TABLE gt_fcat WITH KEY fieldname = 'TEXT1' " ***
*TEXT1 is your field name
ASSIGNING <gtfcat>.
IF sy-subrc = 0.
<gtfcat>-coltext = 'Date Type'.
<gtfcat>-no_out = ' '.
<gtfcat>-tooltip = 'Date Type Text from IT0019'.
<gtfcat>-seltext = 'IT0019'.
keep seltext to '' if u want to hide
ENDIF.
regards
austin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
1.if you ant to hide a particular
column heading use
fieldcat-seltext_l = '..'.
fieldcat-ddictxt = 'L'.
give spaces in the place of '..'.
2.In case you want to hide your heading itself use the
<b>no_colhead</b> option of the Layout..
<b>gs_layout-no_colhead = 'X'.</b>..
this will completely hide all the column headings..
regards
satesh
Hi Ravishekar,
Can you make it clear what is the total line, is it like a normal column..
if so you don't give any text for that field in fieldcat
as suggested by Hymavathi.
but i doubt you are asking some thing else...
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if u r using REUSE_FIELCATALOG_MERGE
after that
loop at it_fieldcatalog.
case it_fieldcatalog-fieldname.
when 'TOTALLINE'.
it_fieldcatalog-seltext_l = ''.
it_fieldcatalog-seltext_m = ''.
modify it_fieldcatalog transporting sltext_l seltext_m.
endloop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
while building fieldcat
do like this
ls_fieldcat-fieldname = 'total_line'.
ls_fieldcat-seltext_l = ''.
i hope u understood what i mean to say. give space for sel text in fieldcat for the field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.