Skip to Content
0
Former Member
Apr 28, 2009 at 02:04 PM

Search help Exit

31 Views

I have created a Search help exit and it is working fine showing a pop-up ALV display.

but wen i double click on any row then it is giving me value in debugging but not returning that value to my field for which i made this search help.

this is code which i'm writing to update value

*&--Call the module to dispatch the values

CALL FUNCTION 'F4UT_RESULTS_MAP'

TABLES

shlp_tab = shlp_tab

record_tab = record_tab

source_tab = t_source_tab

CHANGING

shlp = shlp

callcontrol = callcontrol

EXCEPTIONS

illegal_structure = 1

OTHERS = 2.

IF sy-subrc = 0.

LOOP AT record_tab INTO wa_record_tab.

wa_record_tab-string = w_lifnr.

MODIFY record_tab FROM wa_record_tab TRANSPORTING string.

ENDLOOP.

*&--Pss the command return for leaving the help

callcontrol-step = 'RETURN'.

ENDIF.

-


Thanks and Regards,

Vivek Gaur