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: 

Custom functionality for standard function key's in OOPS ALV

lella_sri
Explorer
0 Kudos

Dears,

The requirement is in the output level of oops ALV report, if we select one record and click on details button then it will show to us the detailed pop-up..

In that pop up I need to maintain the one custom button and with the button I have to provide some custom functionality..

So please help me on this.

Thanks,

Srinu.

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

This is a generic dialog which works for any ALV. If you want a custom functionality, add it to the toolbar on the main ALV screen. You may also branch the detail button (if you use the classic ALV grid technology, then it's the event BEFORE_USER_COMMAND) to a brand new custom screen where you can do whatever you want.

deepak_sharma_sap
Active Participant
0 Kudos

Hi,

As Sandra mentioned that it is generic dialog, so you can remove the Standard Details Button and put your custom button with same icon and tool tip.

On Click of that button(In PAI) create a screen similar to Details screen and add your custom button.

Thanks

Deepak Sharma

thanga_prakash
Active Contributor
0 Kudos

Hi,

Create a custom button and add the standard functionality of the details with your custom button.

Refer to the below link, it might give you some hint.

Adding user functions in PF status of an ALV pop up and handling it - Code Gallery - SCN Wiki