cancel
Showing results for 
Search instead for 
Did you mean: 

How to show Popup view when click on button

Former Member
0 Kudos

Hi All,

Actually i want to show a view when i click on a button. On this view i want to show some data by fetching from database at the time of click. how is it possible ??

Accepted Solutions (1)

Accepted Solutions (1)

former_member201361
Active Contributor
0 Kudos

Hi,

create a Window and embed the view which u want to show in the pop up window.using window manager u can display the view in the pop up . and regarding fetching data from backend, get the data in the component controller and call this method from View. and do the context mapping between component controller and View.

check this links:

[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true]

[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/008e42f4-1779-2c10-57bc-dce0491fcfee&overridelayout=true]

Thanks and Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Thks all

former_member197348
Active Contributor
0 Kudos

Hi,

You need to use pop up windows for this purpose. Check this [article|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68].

Check this [tutorial |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf]for accessing BAPI/RFC

Feel free to revert in case of any issues.

regards,

Siva