Hi
I am trying to go to the ESS main page using the following code in my WD ABAP application but it is not working.
please help
CALL FUNCTION 'HRXSS_SER_GETAREAGROUPLINK'
EXPORTING
areagroupkey = 'Z_TC_SAPDEFAULTESS_ERP2005'
portalcontext = 'X'
personnelnumber = lv_empno
countrygrouping = lv_molga
IMPORTING
areagrouplink = lv_arealink
EXCEPTIONS
areagroupkey_invalid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*Get portal manager reference
l_api = wd_this->wd_get_api( ).
l_portal_manager = l_api->get_portal_manager( ).
*Absolute navigation started
l_portal_manager->navigate_absolute(
navigation_target = lv_arealink-linkpcdpage
navigation_mode = if_wd_portal_integration=>co_show_inplace
history_mode = if_wd_portal_integration=>co_no_duplicates
).
All the variables used are filled correctly. PCD path appearing in v_arealink-linkpcdpage is trunckated but it is of string type. And I suppose it will be holding the full path though it is displaying only 255 characters of it.
Thanks
Vishal Kapoor