cancel
Showing results for 
Search instead for 
Did you mean: 

Call Transaction In ABAP WDP

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

vivekananthan_sellavel
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi,

i have tried with all your suggestions , but it still appers to be the same problem its not calling the Transaction ...Any other checks i need to do towards the portal side ??

Thanks,

Kumar.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.