Try to use
*code to create popup*
gr_product_prop_popup = comp_controller->window_manager->create_decision_popup
( iv_title = lv_title
iv_selection_mode = cl_bsp_wd_context_node_tv=>selmode_multi
iv_display_table = gt_product
iv_visible_columns = lt_col_def ).
** start here how to access the collection wrapper**
DATA: lr_outputnode TYPE REF TO cl_bspwdcmp_bspwdcomponen_cn01,
lr_wrapper TYPE REF TO IF_BOL_BO_COL.
lr_outputnode ?= gr_product_prop_popup->get_context_node( 'OUTPUTNODE' ).
* the outputnode is the BOL collection created based on the gt_product table you provided during the *creation/instatiation of the popup class.
CHECK lr_outputnode IS BOUND.
lr_wrapper ?= lr_outputnode->get_collection_wrapper( ).
CHECK lr_wrapper IS BOUND.
* From here on you can work with the wrapper, imagine I have 10 entries in the collection/table and I want to select the third and sixth node/line
lr_wrapper->IF_BOL_BO_COL_MULTI_SEL~MARK( IV_INDEX = 3).
lr_wrapper->IF_BOL_BO_COL_MULTI_SEL~MARK( IV_INDEX = 6).
*now transfer back the collection, not sure if this is needed since we have a reference to the collection
lr_outputnode->set_collection_wrapper( COLLECTION_WRAPPER = lr_wrapper).
refer Pre-selection of rows in decision popup | SCN joost comments
Hope it definelty helpss ur query
Regards,
Sumeet