Application Development 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: 

Add button in hierarchical list

Former Member
0 Kudos
394

Hi,

I would like to ask if I can add a button Excel in Place in ALV hierarchical list? If so, how can I do that? I'm using the CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'. Your help is much highly appreciated! Thanks in advance!

Edited by: ysera andrei on May 23, 2009 4:14 AM

2 REPLIES 2

former_member229729
Active Participant
0 Kudos
52

Hi,

Please look into the URL which will give you a complete go about the ALV Hirarchical Report:

http://firstsapabap.googlepages.com/alv1.ppt

Regards,

Ramnai N

Former Member
0 Kudos
52

Hi ysera andrei,

To display a buttom in the hierarchical ALV display.

Include the INCLUDE for icons.

INCLUDE <icon>

Declare a field with length of char4 in the final internal table.

When populating the data into the table based upon your requirements.

pass the icon name into the field,

sample code:

WRITE : icon_create TO gt_item-supic.

Here I am passing the create icon in to the line item

and in the fieldcat preparation for the field, add the parameter ls_fieldcat-hotspot = 'X'.

This will help you.

if any queries revert back.

Regards,

Phani.