
sdn.sap.com is blocked in Saudi Arabia
July 2, 2011Get Current Ticket status text of Solution Manager Text
January 21, 2012Exit Plug will not work for WDA application in Portal
-
-
- Create a Button as below
- Create Action for the Button as below
- Create A Method for Exit Application.[cc lang=”abap”]method EXIT_APP .data:arealink type rhxss_ser_linkinfo_s.call function ‘HRXSS_SER_GETAREALINK’
exporting
areagroupkey = ‘ZSAPDEFAULTESS_ERP2005’ “Get this detail from your ESS Consultant
areakey = ” Get this detail from your ESS Consultant
portalcontext = ‘X’
personnelnumber = wd_this->GV_EMPNO ” Your portal user Employee ID
countrygrouping = ’99’
importing
arealink = arealink
* RETURN =
exceptions
areagroupkey_invalid = 1
areakey_invalid = 2
others = 3.data: l_portal_manager type ref to if_wd_portal_integration,
l_api type ref to if_wd_component.l_api = wd_this->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
).
.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.endmethod.[/cc]
- Call the Above Method in you Action Method[cc lang=”abap”]
method ONACTIONEXIT_CLICK .
DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).lo_componentcontroller->exit_app( ).endmethod.
[/cc]
- Create a Button as below
-