Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8623

Re: ALV Screen in Module Pool

$
0
0


Rajiv,

 

There are two ways of approaching this.

 

Method 1

1. Have buttons on the top of both the table controls with the proper ICONS as you want.

 

Method 2

2. Use CL_GUI_ALV_GRID. Instaniate it inside a docking container / custom container.

    There is an event TOOLBAR for this class. Implement a event handler for this.
    In the implementation create your toolbar as:

 

    MOVE 'SEARCH' TO it_toolbar-function.
    MOVE ICON_SEARCHTO it_toolbar-icon.
    MOVE 2 TO it_toolbar-butn_type.
    APPEND it_toolbar TO e_object->mt_toolbar.

 

3. Implement event USER_COMMAND for the same class to handle the button click.

 

 

Note:

The screen shot you gave is of function group SKBH subscreen - 610 have a look at it, you will understand more.

 

Regards

Deepankar Bhowmick


Viewing all articles
Browse latest Browse all 8623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>