cancel
Showing results for 
Search instead for 
Did you mean: 

How to display popup containing ALV table?

gopalkrishna_baliga
Participant
0 Kudos

Hi Experts,

   I have a webdynpro ABAP report containing ALV table. Now the customer wants a new custom button "New" in the ALV toolbar.

   On pressing the "New" button a pop up window should open containing another ALV table with 5 editable rows. 

    Is this really possible?  Do I need to call another view on pressing "New" button? How can I do this?

   Please help.

Thanks

Gopal

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Gopal

You can achieve your requirement by

designing ALV in an individual view and assigning it to a window

keeping a button or a link to action or any such button calling the corresponding popup once the button is clicked,

In the Action use the wizard to generate the auto code

-->Wizard

-->General Tab

-->Select Generate Popup radio button

-->F4 on Component Use and select current component name

-->Select the ALV window which you want to show once this action is triggered

 

Refer the the standard Multi POPUP example

WDR_TEST_POPUPS_RT

Expand Popup Tests: Runtime TRAY

click on link to action POPUP in POPUP

Points Please if its helpful

Regards

Subhash

Former Member
0 Kudos

Dear GopalKrishna

Create two views: VIEW_1 and VIEW_2 and two windows WIND_1 and WIND_2.

where your VIEW_1 embeded to WIND_1 contains the current ALV.

Embed the second view VIEW_2 to window WIND_2. Display the second ALV in the view VIEW_2 and using the method CREATE_WINDOW of the class IF_WD_WINDOW_MANAGER display the second window as Pop Up on selecting the ALV toolbar button.

Thanks and regards,

Rinzy Deena Mathews

Applexus Technologies (P) Ltd.

Former Member
0 Kudos

Hello Gopal,

Check this out : http://scn.sap.com/docs/DOC-2352

Thanks

Katrice

Former Member
0 Kudos

Hi Gopal,

The below link is regarding adding new custom button on the ALV tool bar.

http://scn.sap.com/thread/3285957

for opening new popup window

http://scn.sap.com/docs/DOC-2667

Thanks

Shony KJ

Former Member
0 Kudos

I think you need to have a new view, because you want to show some custom data. so make a view and window and show that in pop-up.

BR

Chandra..

amy_king
Active Contributor
0 Kudos

Hi Gopal,

Take a look at demo web dynpro component WDR_TEST_POPUP_01 and run its application. It contains many examples of popup dialogs. You can put any content you want into a view and use the view for the popup.

Cheers,

Amy