ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 03.04.2021
Просмотров: 2352
Скачиваний: 41
Unit Summary
BC430
Unit Summary
You should now be able to:
•
Judge how a view is created from tables with join, projection, and selection
•
Create database views
•
Set up a link between foreign keys and join conditions
•
Use views in programs for data selection
•
Judge when to use maintenance views
•
Recognize the difference between an inner join and an outer join
•
Create a maintenance view
•
Create simple maintenance views
•
Create complex maintenance views
208
© 2007 SAP AG. All rights reserved.
2006/Q2
Unit 8
Search Helps
Unit Overview
In this chapter, you will learn to define and use SAP search helps yourself.
Unit Objectives
After completing this unit, you will be able to:
•
Define an input help process with a search help
•
Define a search help with several alternative search paths
•
Use the different mechanisms for the search help attachment to assign a
search help to a screen field
•
Determine whether a screen field has an input help and determine its form
•
Enhance a collective search help using an append search help without
modifications
•
Program a search help exit
Unit Contents
Lesson: Search Helps..........................................................210
Exercise 13: Search Helps ................................................227
2006/Q2
© 2007 SAP AG. All rights reserved.
209
Unit 8: Search Helps
BC430
Lesson: Search Helps
Lesson Overview
Lesson Objectives
After completing this lesson, you will be able to:
•
Define an input help process with a search help
•
Define a search help with several alternative search paths
•
Use the different mechanisms for the search help attachment to assign a
search help to a screen field
•
Determine whether a screen field has an input help and determine its form
•
Enhance a collective search help using an append search help without
modifications
•
Program a search help exit
Business Example
You want to provide the users in your company with simple input helps on dialogs.
Input helps
Figure 90: SAP Standard Function: Input Help
210
© 2007 SAP AG. All rights reserved.
2006/Q2
BC430
Lesson: Search Helps
The input help (F4 help) is a standard function of the SAP system that permits the
user to display a list of possible values for a screen field. A value can be directly
copied to an input field by list selection.
Fields that have input help are shown in the SAP system by the input help key
to the right of the field. This key appears as soon as the cursor is positioned on
the corresponding screen field. The help can be started either by selecting on this
screen element or with function key F4.
If the number of possible entries for a field is very large, you can limit the set of
displayed values by entering further restrictions.
The display of the possible entries is enhanced with further useful information
about the displayed values. This feature is especially useful if the field requires
the entry of a formal key.
Since the input help is a standard function, it should look and behave the same
throughout the entire SAP system. The development environment therefore
provides tools for assigning a standardized input help to a screen field.
The precise description of the input help for a field is usually defined by its
semantics. For this reason, the input help for a field is normally defined in the
ABAP Dictionary.
Figure 91: Input Help Requirements
2006/Q2
© 2007 SAP AG. All rights reserved.
211
Unit 8: Search Helps
BC430
A number of requirements must be met for the input help of a screen field (
search
field
):
•
Information (about the context) known to the system must be taken into
consideration in the input help. This includes entries the user already made
in the current input template as well as information obtained in previous
dialog steps. Normally the input help uses the context to limit the set of
possible values.
•
The input help must determine the values that can be offered to the user for
selection. The data to be displayed as supplementary information in the
list of possible values must also be determined. When the possible values
are determined, the restrictions resulting from the context and from further
search conditions specified by the user must also be taken into consideration.
•
The input help must hold a dialog with the user. This dialog always contains
the presentation of the possible values (with supplementary information) in
list form and the possibility to select a value from this list. A search template
in which the user can define conditions for the values to be displayed is also
sometimes required .
•
If the user selects a value, the input help must return the value to the search
field. The input template often contains more fields (often only display
fields) containing further explanatory information about the search field. The
input help should also update the contents of these fields in this case.
Figure 92: ABAP Dictionary Object Search Help
The ABAP Dictionary object
search help
is used to describe an input help. The
definition of a search help contains the information the system needs to satisfy the
described requirements.
212
© 2007 SAP AG. All rights reserved.
2006/Q2