Professional Documents
Culture Documents
c. Event handler Code for sample button on View1 for the pop-up window in
Component Usage.
method EH_ONSAMPLE_BTN.
*
put in your eventhandlercoding here...
Data lv_popup type ref to IF_BSP_WD_POPUP.
lv_popup = me->comp_controller->window_manager->create_popup(
iv_interface_view_name = 'ZBSP711CU2/MainWindow'
iv_usage_name = 'ZBSP711CU2'
iv_title = 'ZBSP711CU2' ).
lv_popup->open( ).
endmethod.
b.
Runtime Repository Editor :Window is Main Window. Component Interface -> Interface Controller of BSP WD
Component ZBSP711CU2 has a context node (value node. Not the ModelNode
PARTNER is a value node. It is not model node with BOL Entity ). (next screen not
screen below). The Context node is PARTNER node (value node) for Component
Controller. This component controller node PARTNER is used in Interface Controller in
Runtime Repository for Component Usage.
b. Click Sample Button above and data is transferred to the pop-up window.
a.
b. Click Sample Button above and data is transferred to the pop-up window.