Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search Help

Former Member
0 Likes
474

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
455

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?

4 REPLIES 4
Read only

Former Member
0 Likes
455

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.

Read only

Former Member
0 Likes
455

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.

Read only

Former Member
0 Likes
455

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.

Read only

Former Member
0 Likes
456

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?