Sub topic 4
Finding your way around the Reference IMG (SPRO)
What you need before this chapter
This chapter assumes you can log on to SAP GUI and start a transaction by its code. It also assumes you know what a client is and what a database table with a key is. You do not need to have configured anything yet. The goal here is to read the Implementation Guide (IMG) tree with confidence, so you can find the right activity and know what it will change.
What the Reference IMG is
The IMG is the tree of configuration activities that ships with an SAP system. You open it with transaction SPRO. Choose SAP Reference IMG on the first screen. The title reads "Display IMG", and the tree below it is the complete guide for every component installed in that system.
The tree is a menu and a guide at the same time. Each leaf is an IMG activity. Most activities do one of three things:
- Open a maintenance dialog for a table or view, for example a company code list.
- Start a transaction or program, for example a copy function.
- Show documentation only, for a step you must do outside the system or by following a procedure.
The activities in the tree are stored once by SAP. The values you enter through them are your own configuration data, which lands in Customizing tables. Those tables are covered in a later chapter. What matters now is that the tree only points to the place where you maintain data. It does not hold the data.
How the tree is organized
The top level follows application areas and technical foundations. The exact list depends on the installed components and release. You will typically see:
- Enterprise Structure
- Cross-Application Components
- Financial Accounting
- Controlling
- Materials Management
- Sales and Distribution
- Production
- SAP NetWeaver or Foundation-type nodes for general settings
Below each area, the tree usually follows the order of work: definitions first, then assignments, then process settings. In Enterprise Structure, for example, a company code is defined before it is assigned to a controlling area or a plant.
A path in the tree is written with > between nodes. This is how documentation and project notes refer to an activity:
SPRO > SAP Reference IMG
> Enterprise Structure
> Definition
> Financial Accounting
> Edit, Copy, Delete, Check Company CodeExecuting the last node gives you a menu of sub-functions. Edit the company code data there, and the system asks for a Customizing request when you save. How that request is created and filled is a later chapter.
Reading the icons beside a node
Each activity row has icons to its left. The set can vary slightly by release, but you will mostly use two.
| Icon | Name | What it does |
|---|---|---|
| Document page | IMG documentation | Opens the explanation of the activity. It is written by SAP and often lists prerequisites and effects. |
| Clock with check mark | Execute | Runs the activity: opens the view, transaction or program. |
Always read the documentation before you execute an activity you do not know. It often tells you whether the activity is client-dependent, whether it needs an earlier step, and whether it is safe to change in a system that already holds business data.
You can also double-click an activity to open its attributes. These can mark an activity as mandatory or critical, assign it to a country, or record a status. Treat these as hints. They help you plan, but they do not enforce anything.
Finding an activity
You will rarely browse the tree from the top. These are the usual ways to reach an activity, from fastest to slowest.
| Method | When to use it | Caveat |
|---|---|---|
| Search in the tree (Find) | You know a word from the activity name, such as "payment terms". | The search only covers the nodes that are loaded. Expand the tree first, or you may get no hits. |
| Direct transaction code | You already know the code of the maintenance transaction. | Many activities have no code of their own. Using a code also skips the documentation. |
| Navigation path from notes or a colleague | You were given a path to follow. | Paths change between releases. Expect small differences. |
| Browsing the tree | You are learning a new area. | Slow, but it teaches you the order of the work. |
Finding out what an activity really changes
Before you execute an activity, work out which table or view it maintains. Two checks help:
- Open the documentation and read what it says about the object.
- After you execute the activity, open the maintenance dialog and check the technical information. For a view maintenance screen, the view name (for example
V_T001) is shown in the dialog header or in the technical information of a field. Put that name intoSM30or the Data Browser (SE16) to look at the contents.
Knowing the table matters for two reasons. It tells you whether the setting is client-dependent, which you will check in the next chapter. It also tells you what to look for later in a transport request.
You can confirm your reading with a small report that lists the company codes the activity maintains. Open SQL reads only the current logon client, so no client condition is needed.
REPORT zdemo_company_codes.
SELECT bukrs, butxt, ort01, waers
FROM t001
ORDER BY bukrs
INTO TABLE @DATA(company_codes).
LOOP AT company_codes INTO DATA(cc).
WRITE: / cc-bukrs, cc-butxt, cc-ort01, cc-waers.
ENDLOOP.Run it before and after you maintain a company code in the IMG, and you will see the effect of that activity in the table.
Common errors when navigating
- Searching a collapsed tree. The search returns nothing, and you assume the activity is missing. Expand all nodes and search again.
- Executing without reading the documentation. Some activities, such as deleting or checking an enterprise structure object, are not harmless in a system with data. Read first.
- Confusing the tree with the data. The tree is the same for every client in the system, because it is SAP-delivered. What you maintain through it is not. Settings made in one client do not appear in another unless the table is cross-client or the data is transported or copied.
- Working in the wrong client or system. Check the client and system ID in the status bar before you save. A change in a sandbox client does not appear in your development client.
- Expecting the same path in every release. Names and positions move between releases and between ERP and S/4HANA. Rely on a search term rather than a memorized path.
Where this leads
The Reference IMG shows everything in the system. In a real project you rarely need all of it. The next steps are to narrow the tree to a project scope, and to use the enterprise structure activities as the first worked example of configuration.
Exercise
You are asked to change the currency of an existing company code. You search the Reference IMG for "company code" and get no result, although you know the activity exists. What is the most likely cause, and how do you check which table the activity maintains once you reach it?
Show answer
The tree was probably not fully expanded, so the search did not cover all nodes. Expand all nodes and search again, or follow Enterprise Structure > Definition > Financial Accounting > Edit, Copy, Delete, Check Company Code. After you execute the activity, check the technical information of the maintenance dialog to get the view name (for example V_T001), then use SM30 or SE16 to see the underlying table contents.
Exercise
Why is it risky to execute an unfamiliar IMG activity without reading its documentation first?
Show answer
The documentation states what the activity changes, which prerequisites apply, and whether the setting is client-dependent. Some activities, such as deleting or checking enterprise structure objects, can affect existing business data. Executing blindly can cause changes that are hard to reverse and may be recorded in a request that you later have to transport.