on 04-09-2009 7:00 AM
Hi Guys,
I am calling a transaction in portal using the following code.
CALL METHOD l_portal_manager->navigate_absolute
EXPORTING
navigation_target = 'pcd:portal_content/com.csa.Prototype/com.csiro.Page/SAPWebGUI/sap_transaction_html_gui'
navigation_mode = if_wd_portal_integration=>co_show_external
WINDOW_FEATURES = 'TOOLBAR=FALSE,LOCATION=FALSE,RESIZABLE'
business_parameters = bparams
launcher_parameters = lparams.
But when I test in portal, its pop up a page and shows message No Page Found.
Any idea what should be done.
Thanks
Senthil
Hi,
Use Transactional IView & also pass all required parameters such as TCode, User Name, Password etc...
Best Regards
Ravi Golla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you created the Iview in the portal.
Please check the applicaition name and the parameters are you passing if any.
Check the target path you have specified is correct or not.
Try to test the portal with the pcd path you have given.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Refer this online help :
http://help.sap.com/saphelp_nw04s/helpdata/en/da/f96f4132f15c58e10000000a1550b0/frameset.htm
Thanx.
Hi Lekha,
Here is the existing code
l_api_component = wd_comp_controller->wd_get_api( ).
l_portal_manager = l_api_component->get_portal_manager( ).
MOVE 'OkCode' TO param-key.
MOVE '/00' TO param-value.
APPEND param TO lparams.
MOVE 'TCode' TO param-key.
MOVE 'MRBR' TO param-value.
APPEND param TO lparams.
MOVE 'SO_BELNR-LOW' TO param-key.
MOVE stru_invoice-belnr TO param-value.
APPEND param TO bparams.
MOVE 'SO_GJAHR-LOW' TO param-key.
MOVE stru_invoice-gjahr TO param-value.
APPEND param TO bparams.
CALL METHOD l_portal_manager->navigate_absolute
EXPORTING
navigation_target = 'pcd:portal_content/com.csiro.Prototype/com.csi.Page/SAPWebGUI/sap_transaction_html_gui'
navigation_target = 'ROLES://portal_content/com.csiro.Prototype/com.csi.Page/SAPWebGUI/sap_transaction_html_gui'
navigation_mode = if_wd_portal_integration=>co_show_external
WINDOW_FEATURES = 'TOOLBAR=FALSE,LOCATION=FALSE,RESIZABLE'
business_parameters = bparams
launcher_parameters = lparams.
Here they trying to call sap_transaction_html_guilink and giving tcode as a parameter.
Does it work ?
Thanks
Senthil
Hi ,
Use this FM to get the navigation target
CALL FUNCTION 'HRXSS_SER_GETAREALINK'
EXPORTING
AREAGROUPKEY = STRU_SETTINGS-HOME_SERVICE
AREAKEY = STRU_SETTINGS-AREA_SERVICE
PORTALCONTEXT = 'X'
PERSONNELNUMBER = STRU_SETTINGS-PERSONNELNUMBER
COUNTRYGROUPING = COUNTRYGROUPING
IMPORTING
AREALINK = AREALINK
EXCEPTIONS
AREAGROUPKEY_INVALID = 1
AREAKEY_INVALID = 2.
pass the AREALINK-LINKPCDPAGE to navivigation target of method
L_API = WD_COMP_CONTROLLER->WD_GET_API( ).
L_PORTAL_MANAGER = L_API->GET_PORTAL_MANAGER( ).
L_PORTAL_MANAGER->NAVIGATE_ABSOLUTE(
NAVIGATION_TARGET = AREALINK-LINKPCDPAGE
NAVIGATION_MODE = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE
HISTORY_MODE = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
).
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.