Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: value not getting selected from decision popup

$
0
0

HI Parveen,

Actually i have created a Button on BP_ADDR component/corp....view, in this button event i have created a decision popup for to display the list of fields as table.

Below code i have added in button event method for this.

 

TYPES:BEGIN OF ty_itab,

           partner TYPE char10,

           partnertype TYPE char10,

           stdaddr TYPE char50,

           validfrom type dats,"BU_ADVW_VALID_FROM,

           validto type dats, "BU_ADVW_VALID_TO,

           consultant type char20,

           gsname type char20,

           END OF ty_itab.

DATA: GT_PARTNERSADDR TYPE TABLE OF ty_itab.

   data: wa type ty_itab.


wa-partner = '0000000010'.

wa-partnertype = 'zc0001'.


append wa to gt_partnersaddr.


wa-partner = '0000000100'.

wa-partnertype = 'zc0011'.


append wa to gt_partnersaddr.


gv_confirm_popup =

           comp_controller->window_manager->create_decision_popup(

                                                           iv_title = 'Partners'

                                                           iv_visible_row_count = 10

                                                           iv_display_table = GT_PARTNERSADDR ).

   gv_confirm_popup->set_window_width( iv_WIDTH = 1000 ).

   gv_confirm_popup->set_window_height( iv_HEIGHT = 100 ).

   gv_confirm_popup->set_on_close_event(

                               iv_event_name = 'CPOPUP_CLOSED'

                               iv_view = me ).

 

   gv_confirm_popup->open( ).

 

 

Now i have created a event 'cpopup_closed',

Now i am able to get the popup when clicking on button.


inside this close popup event to read the selected record from popup i am not getting any value here, i am able to see selected index number, but collection is empty.

 

any suggestions pls.

 

Regards,

RamReddy


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>