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

regarding search help

Former Member
0 Likes
1,583

hello everyone,

plz tell me , when we create search help in se11 then we define Lpos = 1 & Spos = 2. what is this ?

hi

Check these Threads..

regards,

sreelatha gullapalli.

6 REPLIES 6
Read only

Former Member
0 Likes
1,274

Search help is an object of the ABAP Dictionary with which input helps (F4 helps) can be defined.

You can create it in the Transaction Code SE11, choosing "Search Help" Radio-Button.

There are the following types of search helps:

Elementary search helps implement a search path for determining the possible entries.

Collective search helps contain several elementary search helps. A collective search help therefore provides several alternative search paths for possible entries.

Append search helps can be used to enhance collective search helps delivered by SAP with customer-specific search paths without requiring a modification.

Check step-by-step process for creating elementary search help.

http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm

Also check this thread.

http://www.saptechnical.com/Tutorials/ABAP/SearchHelp/page1.htm

Reward points..

Read only

Former Member
0 Likes
1,274

Hi

Position in the hit list of an elementary search help

Position of the parameter in the hit list.

If the parameter should not appear in the hit list, leave this field empty. No position number may occur more than once in this column, but gaps are allowed. They do not affect the design of the hit list.

Example: An elementary search help contains parameters PAR1, PAR2, PAR3 and PAR4. Field LPos is defined as follows:

Parameter LPos

PAR1 3

PAR2 0 or ' '

PAR3 1

PAR4 7

Parameters PAR3, PAR1 und PAR4 appear in this order in the hit list.

Note: In an elementary search help, at least one parameter should appear in the hit list. The only exception to this rule is the elementary search help, in which the display of the hit list is entirely copied from a search help exit.

Read only

Former Member
0 Likes
1,274

Hi,

PROVIDING F4 FUNCTIONALITY FOR THE INPUT FIELDS IN GUI:

-


SE11 -> Select Search Help radiobutton -> Specify name -> Click on Create -> Select Elementary Search Help -> Continue -> Opens interface -> Enter short description -> In SELECTION METHODS, specify table name -> In SEARCH HELP PARAMETERS, specify field names -> Check IMPORT and EXPORT checkboxes -> Specify values for LPOS and SPOS as 1 and 1 -> Save -> Activate.

Use MATCHCODE OBJECT <Search_help> in PARAMETERS statement as follows:

eg.

PARAMETERS A(10) MATCHCODE OBJECT Z_MY_SEARCH.

LPOS and SPOS parameters are used to specify the positions of fields in the search help screen for the input field.

Regards,

Priya.

Read only

sreelatha_gullapalli
Active Participant
0 Likes
1,274

hi

Check these Threads..

regards,

sreelatha gullapalli.

Read only

Former Member
0 Likes
1,274

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

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

http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm

Search Help Exits:

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

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

https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818

with regards,

sowjanyagosala.

Read only

Former Member
0 Likes
1,274

HI VISHAL,

You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the parameter position in the hit list in LPos. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.

Enter the parameter position in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.

Set the SDis flag if the parameter should be a pure display field in the dialog box for value selection. The user is thus informed that the contents of the parameter restrict the value, but he cannot change this restriction. This makes sense for example when the parameter is an import parameter or if it has a default value.

Reward if helpful.