Show TOC

Implementation of a Side Panel Application with Web Dynpro ABAPLocate this document in the navigation structure

Use

You can implement a Web Dynpro ABAP application for the side panel. When building a Web Dynpro ABAP standalone application (without using Page Builder), some additional initialization code is required in the Web Dynpro component. The code has the effect that interface IF_CHIP_DATA_CONTEXT receives the data from the main application of SAP Business Client: The main application of SAP Business Client sends EPCM (portal) events that contain data in XML format. Class cl_chip_wd_side_panel_manager processes the XML and provides the side panel application with this data.

ABAP interface IF_CHIP_DATA_CONTEXT provides access to the data context of SAP Business Client. For more information, see the interface documentation in the system.

Sample application wdr_test_data_context provides the following:

  • Web Dynpro ABAP application: /sap/bc/webdynpro/sap/wdr_test_data_context

  • Web Dynpro ABAP component: WDR_TEST_DATA_CONTEXT

  • Web Dynpro ABAP assistance class: CL_TEST_DATA_CONTEXT_ASS

Side Panel Manager

cl_chip_wd_side_panel_manager=>get_instance( )->
     init( side_panel_view = view
           portal_event_action = 'PORTAL_EVENT_SP')
            

Copy this code into the Web Dynpro component.

Web Dynpro View with Action PORTAL_EVENT_SP

method ONACTIONPORTAL_EVENT_SP .
     cl_chip_wd_side_panel_manager=>get_instance( )->
          hndl_portal_event( event = wdevent ).
endmethod.
            

Copy this code into the Web Dynpro view.