chapter 09 overview of search helps1

20
Overview of Search Helps March-2005 Search Helps | 2.09

Upload: kranthi-kumar

Post on 17-Jun-2015

207 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Chapter 09 overview of search helps1

Overview of Search Helps

March-2005 Search Helps | 2.09

Page 2: Chapter 09 overview of search helps1

Objectives

• The participants will be able to: – Explain the benefits of Search Helps– Describe Elementary Search Helps– Explain Collective Search Helps– Explain Search Help Exits

March-2005 Search Helps | 2.09 2

Page 3: Chapter 09 overview of search helps1

The Benefits of Search Helps

March-2005 Search Helps | 2.09 3

What was Smith’sWhat was Smith’s vendor number, vendor number,

anyway?anyway?

F4F4

Search helps are dictionary objects that we develop to compile a set of valid values for users.

Page 4: Chapter 09 overview of search helps1

Elementary vs. Collective

March-2005 Search Helps | 2.09 4

Collective Search Help : DEBI (It is called when you hit F4 on the Customer Number field e.g. transaction XD01)

Individual Elementary Search Helps that make up the Collective Search Help

Used to scroll the tabs for Elementary

Search Helps

Used to see the full list of Elementary Search Helps

F4

Page 5: Chapter 09 overview of search helps1

Using Search Helps

March-2005 Search Helps | 2.09 5

To see a list of customers starting with ‘S’

Key fields are indicated by

different color1

2

3

4

Page 6: Chapter 09 overview of search helps1

March-2005 Search Helps | 2.09 6

Create search help from Dictionary pushbutton on workbench, or from within Repository Browser.

1

3

2

4

5

Creating an Elementary Search Help

Page 7: Chapter 09 overview of search helps1

March-2005 Search Helps | 2.09 7

Interface Parameters

Optional Exit

Data source for hit list

List Display method

Used to identify search help

Defining an Elementary Search Help

Page 8: Chapter 09 overview of search helps1

March-2005 Search Helps | 2.09 8

Parameters for values you want to send and receive

Declaration of parameters as import and/or export

Position parameterwill be on hit list

Parameter is display only

Position parameter will be on dialog box

Data element associatedwith parameter

Optional defaultfor parameter

Defining an Elementary Search Help – Interface Parameters

Page 9: Chapter 09 overview of search helps1

Assigning an Elementary Search Help - Priority Levels

March-2005 Search Helps | 2.09 9

Field

Table

Data Element

Page 10: Chapter 09 overview of search helps1

Using Elementary Search Helps

March-2005 Search Helps | 2.09 10

F4

Page 11: Chapter 09 overview of search helps1

Demonstration

• Creation of an elementary Search-Help for different employee types (regular, contractor, etc) in an organization and attach it to the employee table created for the previous exercises.

March-2005 Search Helps | 2.09 11

Page 12: Chapter 09 overview of search helps1

Practice

• Creation of an elementary Search-Help for different employee types (regular, contractor, etc) in an organization and attach it to the employee table created for the previous exercises.

March-2005 Search Helps | 2.09 12

Page 13: Chapter 09 overview of search helps1

Defining a Collective Search Help - Interface

March-2005 Search Helps | 2.09 13

Notice there is no selection method. Acollective search help is a set of one or

more elementary search helps.

Page 14: Chapter 09 overview of search helps1

Defining a Collective Search Help -Adding Elementary Search Helps

March-2005 Search Helps | 2.09 14

Don’t forget to assign parameters for each elementary search help.

Page 15: Chapter 09 overview of search helps1

Using a Collective Search Help

March-2005 Search Helps | 2.09 15

F4

Only Difference from before – toggle button

elementary search help

Page 16: Chapter 09 overview of search helps1

Demonstration

• Creation of a Collective Search-Help.

March-2005 Search Helps | 2.09 16

Page 17: Chapter 09 overview of search helps1

Practice

• Creation of a Collective Search-Help.

March-2005 Search Helps | 2.09 17

Page 18: Chapter 09 overview of search helps1

Search Help Exits

March-2005 Search Helps | 2.09 18

Function Module withABAP code

_________ ______ _______ ______ __________

Search HelpProcessing

A search help exit is a function module. Basically, it is extra code that can be included in the processing of the search help at specific times

Page 19: Chapter 09 overview of search helps1

Summary• Search helps are dictionary objects that we develop to compile a set of valid

values for users.

• An elementary search help is exactly one combination of fields that will be used to determine the needed value.

• A collective search help is a combination of elementary search helps.

• When the user hits F4, the system checks to see if there is a search help attached to the field, search help attached to the table is the second type of search help that is checked for, if one is not found, the system checks if a search help is attached to the data element. If one is not found, the system does not use a search help, but will check the domain for valid values. If none exist, then no help is provided.

• A search help exit is a function module. Basically, it is extra code that can be included in the processing of the search help at specific times

March-2005 Search Helps | 2.09 19

Page 20: Chapter 09 overview of search helps1

Questions

• What is a search help ?• What is the difference between an

elementary search help and a collective search help?

• What is a search help exit ?

March-2005 Search Helps | 2.09 20