2005 May 30 8:40 PM
hi,
how to change the column heading name in ALV report.In my report it is displaying column heading as Table field name.I want to display as "Title01" ,"Title02" like that..
how can i do this?
where should i define the column heading names?
I am using following function modules for displaying report.
REUSE_ALV_FIELDCATALOG_MERGE &
REUSE_ALV_LIST_DISPLAY
thanks in advance,
yad.
2005 May 30 8:51 PM
Hi Yad
Modify your field catalog table by setting <b>seltext_l</b>, <b>seltext_m</b>, and <b>seltext_s</b> fields with texts for long, medium and short respectively.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>
hi,
how to change the column heading name in ALV report.In my report it is displaying column heading as Table field name.I want to display as "Title01" ,"Title02" like that..
how can i do this?
where should i define the column heading names?
I am using following function modules for displaying report.
REUSE_ALV_FIELDCATALOG_MERGE &
REUSE_ALV_LIST_DISPLAY
thanks in advance,
yad.
2005 May 30 8:51 PM
Hi Yad
Modify your field catalog table by setting <b>seltext_l</b>, <b>seltext_m</b>, and <b>seltext_s</b> fields with texts for long, medium and short respectively.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>
2005 May 31 4:23 AM
Hi,
Also added to the above reply
In the form build_fieldcatalog.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
Similarly u can do.
Also refer this sample program for ALV List will be of more help.
http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm
Thanks & Regards,
Judith.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |