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
464

Hi,

I want to create my search help depending on certain values only, means i want to show only specific consumers from my own table. How can i make it instead of using existing search helps.

thanks in advance,

5 REPLIES 5
Read only

Former Member
0 Likes
441

Create a view on top of your table to select only the data that you want to show. Create your search help on this view. So only the rows that you choose will be shown in the help.

Read only

former_member150733
Contributor
0 Likes
441

In T.Code. SE11, you can create a z search help and give a default parameter for the search help parameter you want to restrict.

Ex. Give the search help parameter as KUNNR and in the default value you can give a particular customer number.

OR

Use a search help exit

You can copy the standard search help exit and make a z copy of

Function Module : F4IF_SHLP_EXIT

and include in your search help after making the necessary changes. Please checkout for the RECORD-TAB .. how it is getting poulated by the help of a debugger in the z FM.

You can read documentation for FM: F4IF_SHLP_EXIT_EXAMPLE

More details :

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm

http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm

Read only

Former Member
0 Likes
441

i am already in Se11 and making this search help but it doesnt let me give number of consumer or specific consumer restriction

Read only

0 Likes
441

Hi Usman ,

You will have to use search help exit.

Regards

Arun

Read only

Former Member
0 Likes
441

Hi

1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).

2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.

3)An elementary search help defines the standard flow of an input help.

4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.

5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.

6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.

CREATION:

Go to SE11 Tcode

select search help

give the 'z' search help name and create

select the selection method ur table name eg : 'mara'

dialog module 'display value immediately'.

add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.

where left position when displaying and spos = search position

and then save and activate ..

See the links:

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm

https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485

https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619

pls go through this for search help creation

http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

Search Help Exits:

Reward points for useful Answers

Regards

Anji