‎2008 Apr 14 8:13 PM
Hey folks - If I have a field called code and I have another table with
a listing of all the codes. Can I create a search help on code to point
to the table that has all the codes. Is this possible. I am learning
search helps, and any input will be greatly appreciated.
‎2008 Apr 15 5:22 PM
Unless you are trying to do something out of the ordinary you should not have to do anything more than create the search help and link it up. Because you are getting no values found, it sounds like SAP is not finding any matches on the elements that you are using. Have you defined any default values? What data elements have you declared?
‎2008 Apr 14 8:37 PM
Yes you should be able to. In the selection method add the table name and search help parameter will be the name of the data element, and lang and maybe client in this case, if the table contains all the Ztcodes.
‎2008 Apr 14 10:12 PM
Hi Neelam,
The actual purpose of searchhelp is what you asked,means if i want to create a set of possible values which are stored in a table in a field i will create a searchhelp and i will assign this searchhelp to the field for which i want to provide the possible values.
If I have a field called code and I have another table with
a listing of all the codes. Can I create a search help on code to point
to the table that has all the codes. Is this possible. I am learning
search helps, and any input will be greatly appreciated.
steps to create a searchhelp.
1)go to se11
2)select searchhelp and enter any name starting with z and click on create and then select elementary searchhelp.
3)give a description and then name of the table which has listing of all the codes in the selection method.
4)in searchhelp parameters click on f4 and select the field which will store the code values
5)check imp,exp and enter 1 in Lpos,1 in Spos
6)save check and activate.
now the searchhelp is created.test in by pressing F8.
so now we have to assign this search help to the field code in another table.
steps.
1)go to se11
2)select table and open the table
3)select the code field and then click on searchhelp button which is above this data.
4)enter the searchhelp that we created earlier and then press enter
5)place the cursor infront of the field and then click on copy.
now the searchelp is assigned to the field code.
if you are not clear let me know
rewards points if useful.
‎2008 Apr 15 12:50 AM
Hi Neelam Singh,
Its possible to have like that,specify the table in the selection method and text table will display itself.
Reward oints if useful.
‎2008 Apr 15 5:22 PM
Unless you are trying to do something out of the ordinary you should not have to do anything more than create the search help and link it up. Because you are getting no values found, it sounds like SAP is not finding any matches on the elements that you are using. Have you defined any default values? What data elements have you declared?