on 04-02-2009 4:19 PM
Hi,
I Created a Transactional Iview for TC:PA20 in the Portal Content , In portal as well i was able to look into the preview of the transaction code PA20. I used the follwing code to navigate this Transactional IView in the ABAP WEBDYNP which is been linked to an action button .There is no view or dump comming up when i hit the button .
The code is as below for navigation :
data lr_componentcontroller type ref to ig_componentcontroller .
data l_api_componentcontroller type ref to if_wd_component.
data lr_port_manager type ref to if_wd_portal_integration.
lr_componentcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
Data: target type string.
Data: nmode type string.
target = 'pcd:portal_content/workbench/wkb_iview_p20'.
nmode = 'INPLACE'.
call method lr_port_manager->navigate_absolute
exporting
NAVIGATION_MODE = nmode
navigation_target = target .
Just wondering wht else i was missing ..any suggestion would be helpfull..
Thanks,
Kumar.
hi kumar,
You code correct
call method lr_port_manager->navigate_absolute
exporting
"NAVIGATION_MODE = nmode . ## this is optional dont give this . It defaul it will take. just commend
navigation_target = target
More over dont give role. because , for single Roll we can assign N no iview.
Regards
Vivekananthan.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
change the following code like this:
target = 'pcd:portal_content/workbench/wkb_iview_p20'.
with
target = 'ROLES://portal_content/workbench/wkb_iview_p20'.
call method lr_port_manager->navigate_absolute
exporting
NAVIGATION_MODE = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE
navigation_target = target .
it should work...
thanks...
AS
Edited by: J Are on Apr 2, 2009 8:46 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Just look at this component WDR_TEST_PORTAL_NAV_PAGE. may be it helps you.
As such your code seems fine.
Try with only one mandatory parameter and I hope target is Absolute Address or Path of Iview in Portal Content Directory.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.