Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV report

Former Member
0 Likes
625

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.

1 ACCEPTED SOLUTION
Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
475

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.

2 REPLIES 2
Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
476

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>

Read only

Former Member
0 Likes
475

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.