Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

Re: PopUp box with search and select the row

$
0
0

Hi,

 

 

Please see the updated code.

 

CALL FUNCTION 'POPUP_GET_VALUES'

     EXPORTING

*   NO_VALUE_CHECK        = ' '

       popup_title           =  'Message Code'

* IMPORTING

*   RETURNCODE            =

     TABLES

       fields                = lt_fields

             .

 

DATA: GT_CELL TYPE LVC_T_CELL,

 

LS_CELL TYPE LVC_S_CELL.

LS_CELL-ROW_ID-INDEX = 5.

LS_CELL-COL_ID-FIELDNAME = 'MESSAGE_CODE'.

APPEND LS_CELL TO GT_CELL.

 

CREATE OBJECT lo_GRID

       EXPORTING

         i_parent = gr_container2.

 

CALL METHOD lo_GRID->SET_SELECTED_CELLS(

EXPORTING

    IT_CELLS = GT_CELL )

 

the above code executed without any error , but curser still didnot go and select the required row.

 

Plase help on this.


Viewing all articles
Browse latest Browse all 3189

Trending Articles



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