10-03-2008 4:59 PM
hello,
'am workning on a custom elementary search help in which am having four fields out of which one is both import and export parameter.. I had assigned a selection method to this search help. Till this point every thing is fine. all the possible values are getting displayed.
Now, I had assigned a SEARCH HELP EXIT to this elementary search hellp. out of four fields, I want to modify the values of one field in this EXIT.
Please let me know which way to proceed to achieve the requirement.
Thanks,
kriss.
10-03-2008 5:23 PM
in the step DISP you have to modify the logic to display the values according to your requirement.
if callcontrol-step = 'DISP'.
perform authority_check tables record_tab shlp_tab
changing shlp callcontrol.
exit.
endif.
form authority_check tables record_tab structure seahlpres
shlp_tab type shlp_desct
changing p_shlp type shlp_descr
p_callcontrol type ddshf4ctrl.
loop at record_tab.
"here record_tab is a string, so use offset and modify the values
endloop.
endform. " AUTHORITY_CHECK
10-03-2008 5:23 PM
in the step DISP you have to modify the logic to display the values according to your requirement.
if callcontrol-step = 'DISP'.
perform authority_check tables record_tab shlp_tab
changing shlp callcontrol.
exit.
endif.
form authority_check tables record_tab structure seahlpres
shlp_tab type shlp_desct
changing p_shlp type shlp_descr
p_callcontrol type ddshf4ctrl.
loop at record_tab.
"here record_tab is a string, so use offset and modify the values
endloop.
endform. " AUTHORITY_CHECK