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

Difference between Searh help and Value range

Former Member
0 Likes
1,370

HI ,

what is the Difference between Searh help and Value range. Please give some pointers on this.

Regds

saurabh

5 REPLIES 5
Read only

Former Member
0 Likes
1,000

The value range is defined at the domain level and it's static (until you chagne it manually). It act as search help (withou selection screen).

Consider this example:

r_matnr for mara-matnr.

Filling the range is accomplished by:

r_matnr-low = '000000000000000001'.

r_matnr-low = '000000000000009999'.

r_matnr-option = 'BT'.

r_matnr-sign = 'I'.

APPEND r_matnr.

The selection is then accomplished by:

SELECT * FROM mara WHERE matnt in r_matnr.

A search help will let you search values for a field when hiting F4 in a popup with a little selection screen based on a table or view

http://help.sap.com/saphelp_erp2005/helpdata/en/cb/9d35380779a239e10000009b38f8cf/frameset.htm

Read only

sridharreddy_kondam
Active Contributor
0 Likes
1,000

Hai Saurabh,

when you define a domain that all the fields referring to this domain should be checked against a certain table. This information can be stored in the domain by entering a value table.

The system proposes the value table as check table when you try to define a foreign key for this field. You can override this proposal.

Entering a value table does not implement a check. The check against the value table only takes place when a foreign key is defined

And Search Help Provides user The existing or possible values facility whenever he Presses F4... This can be assigned to particular field in SE11 ...

So if in selection screen if u mention field for selection and if it has a search help then whenever user presses F4 the existing values can be visible to the user..

Regards,

Sridhar

Read only

Former Member
0 Likes
1,000

Hi Saurabh,

<b>Value range</b>: The value range of a domain can be limited by defining fixed values. In this case, only the values entered in the fixed values are possible for all the table fields referring to this domain. The fixed values can be single values or intervals.

You can only define fixed values for domains of data types CHAR, NUMC, DEC, INT1, INT2 and INT4.

<b>Search help</b>: A search help is an object of the ABAP Dictionary with which input helps (F4 helps) can be defined.

There are the following types of search helps:

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

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

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

also have a look at the following link

http://help.sap.com/saphelp_erp2005/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/frameset.htm

I hope you find the answer helpful.

Regards,

Kinshuk

Read only

Former Member
0 Likes
1,000

Hi,

Search Help

Use

With this function you can search for objects, thereby defining and linking different selection conditions for the search help.It is called when F4 button is pressed.

Prerequisites

You can call this function by:

· Selecting Object ® Search... () in the main menu bar of the Integration Builder

· Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)

In this case the software component version is defined as the search criteria.

Features

Defining the Object Type

You can select the object type in a dropdown list in field Object Type.

In the design (Integration Repository) you can

· Select an object type (for example Message Interface)

· Select a cross-object category (for example Interface Objects)

In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.

-

-


CHECK THIS LINK TO CREATE A SEARCH HELP.

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

Value Range

It is maintained at the Domain level.

The Domain can have fixed value or a check table.

The data element using the domain can have only the value specified in the domain

Sameena

Message was edited by: sameena attarwala

Read only

Former Member
0 Likes
1,000

tx