2009 Apr 28 3:04 PM
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
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
2009 Apr 28 3:07 PM
open the search help in se11 and check the import export check boxes as per you requirement.
2009 Apr 28 3:07 PM
2009 Apr 28 3:11 PM
2009 Apr 28 3:12 PM
i'm not using any export parameter rather i'm just updating this RECORD_TAB only..
2009 Apr 28 3:16 PM
Check if this [code>>|https://wiki.sdn.sap.com/wiki/x/du0] helps you
CALL FUNCTION 'F4UT_RESULTS_MAP'
2009 Apr 28 3:19 PM
I'm already using it man..read the question it is clearly stated there.
Thanx.
2009 Apr 28 3:21 PM
ok tell me one thing that how do you display ALV in SEARCH EXIT
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |