on 08-05-2013 12:32 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.