on 06-05-2007 8:27 AM
Hi,
I have created an Applciation with 1 View, which is empty. I have put this piece of code in the Init Method.
data l_componentcontroller type ref to ig_componentcontroller .
data l_api_componentcontroller type ref to if_wd_component.
data l_sapgui_manager type ref to cl_wdr_sapgui_integration.
l_componentcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_componentcontroller = l_componentcontroller->wd_get_api( ).
l_sapgui_manager = l_api_componentcontroller->get_sapgui_manager( ).
if l_sapgui_manager is not initial.
l_sapgui_manager->fire_start_transaction( transaction = 'ZRUN' ).
endif.
When I run my application, nothing happens. It just shows the blank view and does not call the Transaction ZRUN.
Any Help ?
Regards
Murali.
The value of l_sapgui_manager is initial all the time.
l_componentcontroller->wd_get_api( ).
will not populate l_sapgui_manager .....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali,
sapgui_manager will be populated only when you are calling a webdynpro application inside an SAP GUI , which nmeans saomething like you create an SAP GUI and then you create a frame inside that and embedd the webdynpro application inside that.
If you are runnning the application through the browser , it will be always initial.
Thanks
Anzy
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.