on 07-28-2011 8:16 AM
Hi Friends,
i have one requirement
1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
2. but when i click this button, one Z webdynpro component should run,
Can any one please give me idea on this
Thanks and Regards
Kumar Srini
Hi,
The zweb dynpro component has any application name?
if it has means you can use
using wizard button u can call external window . there u can give url adress paste the creted url there then u can achieve ur req.
hope this helps,
Regards,
Srini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
copy below given code and paste inside of your on action method,
Note: just change the url address
data: l_window type ref to if_wd_window_manager.
data: l_cmp_api type ref to if_wd_component.
data: str type stinrg.
data: result type if_wd_window.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZWEBDYNPRO COMPONENT NAME'
IMPORTING
out_obsolute_url = str.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window = l_cmp_api->get_window_manager ( ).
result = l_window->create_external_window(
url = str ).
result->open( ).
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.