on 06-18-2014 8:10 AM
Hello,
I have a Search UIBB implementation with the list from Search UIBB.
When the user double click any line in the List we want to call another program. Not sure how to read the Lead selection. I see the event ID FPM_RESULT_LEAD_SEL in Process_Event method and GET_DATA method but not sure how to get the actual line.
Thanks in advance for any help.
Regards,
PK
Hi ,
method IF_FPM_GUIBB_SEARCH~PROCESS_EVENT.
CASE IO_EVENT->MV_EVENT_ID.
WHEN IF_FPM_GUIBB_SEARCH=>FPM_RESULT_LEAD_SEL.
READ TABLE IT_RESULT_LIST into IS_RESULT_LIST index IV_LEAD_INDEX.
ENDCASE.
Where IT_RESULT_LIST -> is the internal table of ET_RESULT_LIST( This can be declared in attributes section and assigned value in GET_DATA method )
IS_RESULT_LIST-> is a structure of type table IT_RESULT_LIST.
IV_LEAD_INDEX has to be created at attributes section and the value of the selected row of type I can be assigned in IF_FPM_GUIBB_SEARCH~FLUSH method for the same event.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Palani,
You can read the Selected record from the Flush method. In Flush method you will have the table parameter IT_CHANGE_LOG. In the IT_CHANGE_LOG table you will have the field TABLE_ROW.
Table_Row will have the reference to the Selected record of the list structure.
field-symbol <fs_structure> type <LIST STRUCTURE>
Read table it_change_log into data(ls_change_log) index 1.
if sy-subrc eq 0.
<fs_structure> = REF #(ls_change_log-table_row).
endif.
Finally <fs_structure> will contain the Selected record data. Hope this helps you
Regards,
Ravikiran.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.