KALEEL
  • Home
  • My Apps
  • Blog
    • SAP
      • Successfactors
        • Employee Central
      • ABAP
      • Fiori
      • WebDynpro ABAP
      • Adobe Forms
    • Web
    • Other
✕

EXIT from Webdynpro ABAP Application

  • Home
  • Blog
  • SAP WebDynpro ABAP
  • EXIT from Webdynpro ABAP Application
sdn.sap.com is blocked in Saudi Arabia
July 2, 2011
Get Current Ticket status text of Solution Manager Text
January 21, 2012
Published by Mohamed Kaleel at July 25, 2011
Categories
  • WebDynpro ABAP
Tags
  • exit plug
  • HRXSS_SER_GETAREALINK
  • WDA
Exit Plug will not work for WDA application in Portal
      1. Create a Button as below
      2. Create Action for the Button as below
      3. 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]

      4. 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]

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Share
0
Mohamed Kaleel
Mohamed Kaleel

Related posts

July 4, 2013

WDA: How to programatically populate RadioButtonGroupByKey Without Creating Domain


Read more
July 16, 2012

WDA window close for UWL item


Read more
June 10, 2012

Open URL in same WebDynpro ABAP Page


Read more

Leave a Reply Cancel reply

Categories

  • ABAP
  • ABAP HANA
  • Adobe Forms
  • Employee Central
  • Fiori
  • Other
  • SAP
  • SharePoint
  • Successfactors
  • Web
  • WebDynpro ABAP

Tags

  • ~NO_LOGON_USEREXIT
  • ABAP 74
  • ABAP class
  • ABAP Code
  • ABAP HANA
  • ABAP OO
  • adobe forms
  • AdobeForm
  • Advance SQL
  • ALV
© 2020 kaleel.in
 

Loading Comments...