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

Docking container in Report Selection Screen Program...?

Former Member
0 Likes
1,541

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...

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
907

AT SELECTION SCREEN OUTPUT is PBO, so you have to trigger a PAI/PBO cycle for this, add a call of CL_GUI_CFW=>SET_NEW_OK_CODE in the double-click handling method.


Regards,

Raymond

Read only

0 Likes
907

Thanks for the reply raymond,

I will try this and let you know how it worked....!

Read only

ralf_wenzel_heuristika
Active Participant
0 Likes
907

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.

Read only

0 Likes
907

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.