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

F4 help for a table field

Former Member
0 Likes
2,839

hai can any one tell me in detail how to create a search help and attach to the field in the custom table

bye

afzal

hai can any one tell me in detail how to create a search help and attach to the field in the custom table

bye

afzal

4 REPLIES 4
Read only

Former Member
0 Likes
1,777

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.

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

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

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 if useful

Regards

Anji

Read only

Former Member
0 Likes
1,777

hi,

Elementary search helps defines a search path where

we will define the table from which the data has to be read and the selection criteria.

Through import and export parameters. Used when we gets the data rom a single table.

Collective search helps:- Combination of elementary search helps.

When we need to fetch data based on multiple selection criteria’s.

More than one tables or Selection from multiple tables

For more help on Search helps ,

Check this http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm

Regards,

Reshma

Read only

former_member196299
Active Contributor
0 Likes
1,777

hi Afzal ,

Here you go with the details of creating a search help and attaching it to the custom table :

Creation of Elementary Search Help:

The creation of an elementary search help is described below with example.

1. Open TCode – SE11 for DDIC objects -> select the radio button for Search helps -> give the name of the search help you want to create, ex – ZSH004.Click on Create .

2. In the next screen select the option “ Elementary search help “ .

3. Now you need to provide the short text for your search help.

4. In the selection method provide the table or view name you want to use for data retrieval. Ex. ZMARA_01.

5. Select the dialog type according to your scope, ex. “ display values immediately’.

6. Then provide the search help parameters i.e. the interface parameters for the search help .

7. The ZMARA_01 table fields MATNR, ERSDA,MHDHB,MHDHT,MHDRZ are provided by selecting the table fields , by doing this the data elements for these fields are automatically copied to the interface from the selection method.

8. Now define the type of parameter ( import or export ) here for the selection and return of values in runtime.

9. Provide the positions to these parameters to specify how they will be arranged in the hit list display.

10. Now save the object in the respective development class and check the same for errors and then activate .Finally the creation of a ESH ( ex: ZSH004 ) is complete and can be used for providing the input help.

You can test the operation of your search help by clicking F8.

The appearance of your search help will be like the fig. provided below

...........

Creation of Collective Search Helps:

The creation of an elementary search help is described below with example.

1. Open TCode – SE11 for DDIC objects -> select the radio button for Search helps -> give the name of the search help you want to create, ex – ZSH005.Click on Create .

2. In the next screen select the option “ Collective search help “ .

3. Now you need to provide the short text for your search help.

4. Select the dialog type according to your scope, ex. “ display values immediately’.

5. Then provide the search help parameters i.e. the interface parameters for the search help .

6. The ZMARA_01 table fields MATNR, ERSDA,MHDHB are provided by selecting the table fields . Define the types for the parameters of a collective search help by assigning a data element. Enter the name of the data element that describes the contents of the search help parameter in the Data element field.

7. In the Definition tab page enter the parameters of the collective search help.

Select the Imp flag if it is an import parameter. Select the Exp flag if it is an export parameter. Optional-You can assign the parameter a default value in the Default value field.

8.

Next, Select the tab “ Included Search help “ and provide the elementary search helps you want to include here . In the current example 2 elementary search helps ZSH004 and ZSH003 are being included.

9. Create a parameter assignment between all the included search helps and the collective search help here ( Note that at-least one of the parameter assignment must be done for linking the includes ) .This can be done by clicking on the tab

10. “Parameter assignment “ .ex. we have done the parameter assignment here by using the MATNR field for both the includes i.e. the selection paths should be based on the provided material number.

11. After performing the steps save the search help and activate for use in the later stage.

...

Regards,

Ranjita

Read only

Former Member
0 Likes
1,777

hi mohammad,

follow these steps.jus

go to se11

give any name starting by z to search help

create it

it will ask for elementry or collective

press radio button which one u waana to create

then ok

u will get a elementry search help creation screen.

put the description.

and in collection method put the table name from where u r going to take entry.

then in search help parameter put the fields name for which u r going to create search help.

tick imp and export

put lpos 1 and spos 1 for first field.

then press enter , after enter your data element will come itself.

well now save and active.

back

go to se11

go into your table in which u wanna to add your search help.

first click on that particular field

then press search help button near to foreign key button .

it will ask search help name.

put that

then ok

jus click on copy button

you will get the search help for your field.

you can check that it is there or not

by pressing entry help check on table disply screen.

hope u enjoy.

regards

vj

rewards