2. Objectives
• The participants will be able to:
–Explain and use the Repository Information
System.
–Perform Object Searches (FIND).
–Search for SAP Objects using other SAP Objects
(WHERE-USED).
–Search for Objects outside of the ABAP Dictionary.
March-2005
ABAP Repository Information
System | 2.06
2
3. ABAP Repository Info System: Typical
Queries
March-2005
ABAP Repository Information
System | 2.06
3
ABAPABAP
DictionaryDictionary
Find (Object Search)
Find all objects of
type A with
attributes X, Y, Z.
Where-used lists
Find all objects of
type A that use
object B
5. Find: Selection Screen
March-2005
ABAP Repository Information
System | 2.06
5
Enter a single
value for
the search
attributes or
use the arrow
push-buttons
for selection
options
Use the All Selections
pushbutton to limit search criteria
on other object attributes
7. Hit List Options: Standard Options
March-2005
ABAP Repository Information
System | 2.06
7
8. Where-Used List: Selection Screen
March-2005
ABAP Repository Information
System | 2.06
8
Where-Used List
pushbutton
List all programs that
use the table MARA
9. Relationship between Objects Where-
Used and Sub-Objects Lists
March-2005
ABAP Repository Information
System | 2.06
9
Domains
Table
Program
Screen
Data
Elements
10. Demonstration
• Finding of all the tables using a SAP standard
field in the ABAP Dictionary by use of the
Where-used functionality.
March-2005
ABAP Repository Information
System | 2.06
10
11. Practice
• Finding of all the tables using a SAP standard
field in the ABAP Dictionary by use of the
Where-used functionality.
March-2005
ABAP Repository Information
System | 2.06
11
12. ABAP Repository Info System
March-2005
ABAP Repository Information
System | 2.06
12
Modeling
ABAP Dictionary
Programming
Environment
13. Summary
• The ABAP Repository Information System is a
tool which allows you to perform quick
searches for information on all ABAP
development objects
• The two basic functions available in the
Repository Info System are the Find and
Where-used list functions.
• The Find function allows you to search for
objects from a specific object class meeting
selection criteria.March-2005
ABAP Repository Information
System | 2.06
13
14. Questions
• What is the ABAP Repository System ?
• How to use the Where-used-list functionality ?
March-2005
ABAP Repository Information
System | 2.06
14
Editor's Notes
The ABAP Repository Information System is a tool which allows you to perform quick searches for information on all ABAP development objects. The two basic functions available in the Repository Info System are the Find and Where-used list functions.
The Find function allows you to search for objects from a specific object class meeting selection criteria.
The Where-used list function allows you to determine the use of an object in other objects. Both functions produce a list of results which met the specified search criteria.
Typical queries made to the Repository Info System include:
Find (Object searches, e.g.:)
List all domains with a specific data type (char) and length (10)
List all tables changed by user ABAPXXX since 01/01/96
List all data elements that refer to a particular domain (UPENUM)
List all tables containing a specific field (EUNR)
List all indexes for a specific table (UPERS)
Where-used list (e.g.:)
List all views containing a particular base table (UPERS)
List all tables using a particular table (UPERS) as a check table
To access the ABAP Repository from the initial SAP screen, use the following menu path: Tools ABAP Workbench Overview Information System.
Expand any subitems in order to perform a search on a particular object (i.e., perform a search on Tables).
The ABAP Repository Information System can also be accessed via transaction code SE84.
In previous SAP releases, the menu path was: Overview Repository Infosys.
To search for objects via specific attributes by providing the relevant entries in the available search fields. Additional search fields can be used to limit search criteria by using the All Selections icon (Shift-F7) . When the All Selections icon is used, an Additional Selections group box with more object attributes is displayed beneath the standard selections.
Enter a single value in the search attributes, or use the arrow pushbuttons for Multiple-Selections.
The * and + wildcards are available for input in search fields.
* represents any field string.
+ represents one character.
It is possible to list single values as search criteria using the Selection Options screen. Use the Selection Options icon to obtain the list of possible Selection Options.
Use the SELECT and EXCLUDE FROM SELECTION pushbuttons to perform inclusive or exclusive range searches.
On all hit lists, you should see the following common options under the first menu path:
CHANGE: Changes to object's maintenance screen, assuming it is yours to edit.
DISPLAY: Changes to object’s display screen.
CHECK: Checks object for syntax errors.
GENERATE/ACTIVATE: Allows you to activate an object.
TEST/EXECUTE: Lets you run the object.
PRINT: Sends list to printer.
COPY: Allows copying of selected objects .
RENAME: Changes the name of an object, assuming it is yours and doing so will not cause cascading negative effects.
REASSIGN: Change the Package to which an object is assigned.
DELETE: Allows deletion of selected objects in list.
TRANSPORT: Include selected object in a transport request.
EXIT: Return to the Repository Information System.
To create where-used list searches, type in the object name and click on the appropriate radio button. All the different objects in which an object can be used appears in this selection screen.
The output lists of where-used searches are similar to basic output lists of Find object searches. A complete list of attributes is not available.
Where-used searches can also be performed outside the Repository, such as in an ABAP program (i.e., to find the use of variables throughout a program), or in the ABAP Dictionary (i.e., to determine if a particular type group was used in other ABAP programs), or in the Repository Browser, or any of the other Workbench Tools.
The ABAP Repository Information System supports both where-used and sub-objects searches for Dictionary objects. These searches can occur from within lists. Therefore, it is possible to navigate both up and down as well as back and forth through the hierarchy of related objects.
The Repository can also be used to perform searches on other ABAP Workbench objects:
Modeling
Data modeling
Process modeling
Object modeling
Programming
Function builder
Program library (logical database can be found here also!)
Programming environment
Program sub-objects
Environment
Development co-ordination (Packages)
Authorizations (authority objects)
Automatic tests (CATT procedures)