11-15-2005 4:51 AM
11-15-2005 4:55 AM
Are you asking about column headings? If so, they should be part of your field catalog.
11-15-2005 4:53 AM
11-15-2005 4:55 AM
Are you asking about column headings? If so, they should be part of your field catalog.
11-15-2005 4:58 AM
Here are those fields
FS_FIELDCAT-REPTEXT_DDIC,
FS_FIELDCAT-SELTEXT_L,
FS_FIELDCAT-SELTEXT_M,
FS_FIELDCAT-SELTEXT_S
11-15-2005 4:57 AM
U can specify that in layout
DATA: w_layout TYPE lvc_s_layo ,
w_variant TYPE disvariant.
FORM f9003_layout.
w_layout-grid_title = 'Heading'.
w_layout-zebra = 'X'.
w_layout-sel_mode = 'B'.
w_layout-cwidth_opt = 'X'.
w_variant-report = sy-repid.
ENDFORM. " f9003_layout
Also refer this link
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_rephead.htm
U can specify the same in TOP-OF-PAGE.
If u want the column headings then u can do so in Fieldcatalog
Make fcat-seltext_m = 'Heading'.
http://www.sapdevelopment.co.uk/reporting
Hope this helps.
Reward points if u find helpful.
11-15-2005 5:00 AM
Hi,
This is the sample code to display column heading.
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: line_fieldcat TYPE slis_fieldcat_alv.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMNUM'. " The field name and the table
line_fieldcat-tabname = 'I_DATA'. " name are the two minimum req.
line_fieldcat-key = 'X'. " Specifies the column as a key (Blue)
<b>line_fieldcat-seltext_m = 'Notification No.'. " Column Header</b>
APPEND line_fieldcat TO i_fieldcat.
Kindly reward points if it helps.