Sub topic 1
Customizing and Workbench: two kinds of change
Prerequisites
This chapter assumes you can navigate SAP GUI and call transaction codes. You should also know what an ERP system does, have heard of the SAP client concept, and understand database tables and keys.
Two kinds of change
An SAP system changes in two ways.
- Customizing is configuration. You set values in tables, such as company codes, payment terms or number ranges. You make these changes through the Implementation Guide (IMG), which you open with transaction SPRO. The program code stays the same. Only the table content changes.
- Workbench changes are development. You create or modify repository objects such as reports, classes, function modules, data dictionary objects and screens. You make these changes in tools like the ABAP Workbench (SE80) or ABAP Development Tools.
Both kinds of change begin in the development system. Both must reach quality assurance and production in a controlled way. Transport requests carry them there.
How they differ
| Aspect | Customizing | Workbench |
|---|---|---|
| What changes | Table entries and view contents | Repository objects (source code, definitions) |
| Typical tool | SPRO, SM30 | SE80, SE38, SE11 |
| Request type | Customizing request | Workbench request |
| Typical object entries | R3TR TABU, R3TR VDAT | R3TR PROG, R3TR CLAS, R3TR TABL |
| Scope | Usually one client | Cross-client |
The scope row matters most. Repository objects exist once per system and apply to every client. Most Customizing data belongs to a single client. Later chapters cover clients and client dependency in detail.
Seeing the difference in code
A report is a Workbench object. The report below reads Customizing data from table T001, which holds company codes defined in the IMG.
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.Saving this report records it in a Workbench request. Adding a new company code in the IMG changes the contents of T001. That change goes into a Customizing request. The report is the same in every client, but its output can differ from client to client, because Open SQL returns only rows for the current logon client.
Common errors
- Treating a configuration change as development, or the reverse. This puts changes into the wrong request type.
- Assuming a Workbench transport carries the configuration that the new code depends on. A new report that needs a new table entry requires both a Workbench request and a Customizing request.
- Importing the code but forgetting the matching Customizing request. The code then runs in the target system without the data it expects.
Exercise
A developer creates a report that reads a new payment term. A consultant adds that payment term in the IMG. How many request types are needed to move the complete change, and why?
Show answer
Two. The report is a Workbench object and goes into a Workbench request. The payment term is a table entry created through the IMG and goes into a Customizing request. Both must be imported into the target system for the report to work as intended.