‎2009 Nov 18 5:50 PM
Hi experts,
I have created a search help with search help exit.
It has one import parameter and few export parameter.
Here import parameter X can take input say for e.g. AB-111232 or AC-119727
If I provide the input as AB and I want all the values starting with AB should be returned i.e AC values should not be returned.
For full key search, it is working fine but how I can achieve partial entry search.
Thanks
Depesh
‎2009 Nov 18 5:56 PM
create a range table or of type SELOPT and use that in the select query in your search help exit code...
if input field have * sign eq BT
else.
sign eq EQ.
‎2009 Nov 18 6:19 PM
Hi,
If I remember it quite right, you use a changing parameter SHLP TYPE SHLP_DESCR. The SHLP_DESCR structure itself has SELOPT as a table field in it. The input to the importing parameters are all store in this. So, I think this by default will enable search options with pattern or wild card characters.
‎2009 Nov 18 6:44 PM
Hi Friend ,
Can you see this Wiki for search help exit with sel option parameter passing using table shlp-selopt.
[http://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
Regards ,
‎2009 Nov 19 9:26 AM
Thanks Nitwick.
By default system allows pattern matching for selopt.