Call Transaction In ABAP WDP
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
NAVIGATION_MODE = nmode
navigation_target = target .
Just wondering wht else i was missing ..any suggestion would be helpfull..