06-15-2010 6:43 AM
Hi,
I have 8 fields in my ALV grid display , but i want to display the heading only for 3 fields, how can we do through ALV?. Pls send me ur answers.
Thanks & Regards.
06-15-2010 6:51 AM
Arrange you Field Catlague in the way you want....i.e. don't give column name in field catlogue
06-15-2010 6:52 AM
Hi,
While Creating the field catalog dont give the headings for the fields that you dont want. Hope this might solve your problem.
With Regards,
Sumodh.P
06-15-2010 7:03 AM
Hi,
I am not giving any headings for the fields in fieldcatalog..i want to display the heading for 3 fields in the layout output.
Here is my code in fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-tabname = 'T_FINAL'.
wa_fieldcat-seltext_m = text-001.
wa_fieldcat-outputlen = 18.
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'PLNAL'.
wa_fieldcat-tabname = 'T_FINAL'.
wa_fieldcat-seltext_m = text-002.
wa_fieldcat-outputlen = 15.
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
Thanks & Regards.
06-15-2010 6:57 AM
Hi Ravindra,
Please specify your problem what you want exactly.........
As per I understand this problemu2026.. you should change in stander function module
u201CREUSE_ALV_GRID_DISPLAYu201D accordinglyu2026..
In function module you can define length and height of the column .
06-15-2010 7:00 AM
you can use another method.
Use u201CREUSE_ALV_HIERSEQ_LIST_DISPLAYu201D pass header n no. of item
For both as internal table.
06-15-2010 7:06 AM
Hi Ravindra,
Welcome to SDN....
The heading of the fields are displayed from the components SELTEXT_L, SELTEXT_M, SELTEXT_S of the FIELDCATLOG.
So for those 5 fields keep these components as blank before using the FM REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.
This will solve your problem.
Regards
DKS
06-21-2010 12:56 PM
Hi Ravindra,
Please close the thread, if the issue is solved.....
Regards
DKS