2015 Oct 07 4:36 PM
Hello Gurus,
Hope Every one doing good...!!.
I am having a requirement in my dash board.
I developed a dash board with some radio buttons and input fields. I placed a docking container in the same selection screen where data is displayed in
ALV GRID DISPLAY. when i click a radio button the code in AT SELECTION SCREEN OUTPUT event will run and the relevant data will be displayed in docking container. I used double click event to get the record from alv display in docking container.
Up to here it worked fine.
my requirement is, I need to read the double clicked record and place it in the input field on selection screen.
when i double click on alv record, i am not able to go to the code in AT SELECTION SCREEN OUTPUT event.
Please suggest if there is any possibility to achieve this.
Thanks in advance...
After double click in your ALV, you are in the ALV event handler method. You have to declare the event as PAI-relevant (SET_REGISTERED_EVENT -> APPL_EVENT = 'X').
This results in a PAI/PBO rollup of all ALV events, which makes you able to handle the event in PAI (AT SELECTION-SCREEN) and PBO (AT SELECTION-SCREEN OUTUT) as well.
The main problem would be to get your program know, which row has been selected / double clicked within the ALV.
2015 Oct 09 12:42 PM
2015 Oct 09 3:27 PM
Thanks for the reply raymond,
I will try this and let you know how it worked....!
2015 Oct 09 1:03 PM
After double click in your ALV, you are in the ALV event handler method. You have to declare the event as PAI-relevant (SET_REGISTERED_EVENT -> APPL_EVENT = 'X').
This results in a PAI/PBO rollup of all ALV events, which makes you able to handle the event in PAI (AT SELECTION-SCREEN) and PBO (AT SELECTION-SCREEN OUTUT) as well.
The main problem would be to get your program know, which row has been selected / double clicked within the ALV.
2015 Oct 09 3:16 PM
Thanks for the reply,
I am able to read the row which was double clicked, but after reading that i need to carry that value to the code running in AT-SELECTION-SCREEN-OUTPUT, that means i need to call the AT-SELECTION-SCREEN-OUTPUT event after reading the row from ALV.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |