Sub topic 9
How a configuration change lands in a request
This chapter assumes you can move around SAP GUI and the IMG, and that you know the difference between client-dependent and cross-client tables. It also assumes you have read the SCC4 chapter, because the client settings decide most of what happens here. Here you will follow one configuration change from the Save button to an entry in a transport request, and learn why some changes never get recorded.
The working model
When you save a change in an IMG activity, the maintenance dialog does not write to the database and stop. Before the write, the system asks three questions:
- Is this client allowed to record changes? SCC4 answers this.
- Does the table or view take part in recording? The table's delivery class and its maintenance dialog attributes answer this.
- Is there a request to attach the change to? You or the system answers this.
If every answer is yes, the database write and the request entry happen together. If the third answer is "no request yet", you see the dialog Prompt for Customizing request.
Step 1: the client setting
The SCC4 option Changes and Transports for Client-Specific Objects is stored in field CCCORACTIV of table T000. It has four values:
| SCC4 option | Value | Effect on a saved change |
|---|---|---|
| Automatic recording of changes | blank | Change is saved and recorded in a Customizing request |
| Changes without automatic recording | 1 | Change is saved and nothing is recorded |
| No changes allowed | 2 | Maintenance is blocked |
| Changes w/o automatic recording, no transports allowed | 3 | Saved, nothing recorded, and imports into this client are blocked |
A development client normally uses automatic recording. Production normally uses "No changes allowed". Use the report from the SCC4 chapter to check the client you are logged on to. Do this before you spend an hour configuring in a client that records nothing.
Step 2: the table decides how it records
The client setting is only the first gate. The second is the object itself. Maintenance views created through the table maintenance generator carry a Recording routine attribute. The usual value is Standard recording routine, which writes entries into a request. Some objects use a different value, such as no recording or a recording routine of their own. Some tables are not meant to be configured at all. Their delivery class is application data (class A), and nobody maintains them through the IMG.
Cross-client Customizing is a separate case. Its entries are not tied to a client, so SAP records them in a Workbench request instead. Whether you can change them at all depends on the second SCC4 setting, Cross-Client Object Changes (CCNOCLIIND).
Step 3: the request prompt
For client-specific Customizing, the recording dialog offers two choices:
- Pick an existing modifiable Customizing request where you already have a task.
- Create a new request. The system creates the request and, inside it, a task owned by you.
The task is the unit that belongs to a person. The request is the unit that is released and transported. Entries sit in the task and become part of the request when you release the task. The next chapter treats this structure in detail.
Once you have chosen a request, SAP GUI remembers it for the session. Later saves attach to the same task without asking again. If you want a different grouping, for example one request per IMG activity, you have to pick or create a request explicitly.
What the entries look like
After a save through a maintenance view, the task contains an object list. A typical task looks like this:
Request: DEVK900123 (Customizing request)
Owner: CONSULTANT1
Task: DEVK900124
R3TR VDAT V_T001 (view contents, maintained via SM30 or the IMG)
R3TR TABU T001 (table entries, selected by key)VDAT records that you maintained a view. TABU records table content. Under each of these, the system also stores the table keys of the rows you touched. Because of this, the transport carries individual rows and not the whole table, so rows that nobody changed stay untouched in the target.
Reading a request from ABAP
The Transport Organizer (SE09 or SE10) shows the same data. You can also read it from tables. E070 holds request headers. E071 holds object entries. The report below lists everything in a request and its tasks:
REPORT zdemo_request_contents.
PARAMETERS p_trkorr TYPE e070-trkorr OBLIGATORY.
SELECT e070~trkorr, e070~trfunction, e070~trstatus, e070~as4user,
e071~pgmid, e071~object, e071~obj_name
FROM e070
INNER JOIN e071 ON e071~trkorr = e070~trkorr
WHERE e070~trkorr = @p_trkorr
OR e070~strkorr = @p_trkorr
ORDER BY e070~trkorr, e071~object, e071~obj_name
INTO TABLE @DATA(entries).
IF entries IS INITIAL.
WRITE: / 'No entries found for', p_trkorr.
ELSE.
LOOP AT entries INTO DATA(entry).
WRITE: / entry-trkorr, entry-trfunction, entry-trstatus,
entry-as4user, entry-pgmid, entry-object, entry-obj_name.
ENDLOOP.
ENDIF.In E070, STRKORR points from a task to its parent request. TRFUNCTION is W for a Customizing request and K for a Workbench request. TRSTATUS is D while modifiable and R once released.
Common errors
The prompt never appears and nothing is recorded. Check SCC4 first. A client set to "Changes without automatic recording" saves the change without telling you. This is the most common cause of "I configured it, but it is missing in quality".
Changes disappear from the request but exist in the database. Someone edited the table directly, for example through SE16 with debugging, or through a custom report. These writes bypass the maintenance dialog, so no entry is created. Fix it by opening the view in SM30 and using the transport function to include the affected entries, or by adding the objects in the Transport Organizer.
The change landed in the wrong request. The session remembered an earlier request and you did not notice. Move the entries to another task from the Transport Organizer before release. After release, the move is no longer possible.
You can display the view but not change it. The client is locked against changes, or the view is cross-client and CCNOCLIIND blocks it. This is a setting, not an authorization problem, so check SCC4 before involving security.
Someone else's task blocks you. Entries for a key can only sit in one modifiable request. If another request already holds the same table rows, the system warns you and offers to attach yours to that request. Do not ignore the warning. Two open requests holding the same rows are a common reason for wrong import order later.
Summary of the flow
The change is saved through a maintenance view. SCC4 permits recording, the object takes part in recording, and a task owned by you receives VDAT and TABU entries with their keys. The data in the development client is already changed at that point. The request only carries a copy of the instructions for repeating the change elsewhere.
Exercise
A consultant changes the name of a company code in IMG activity "Edit, Copy, Delete, Check Company Code" in client 100 of the development system. The save finishes without any request prompt, and the request list shows no new entry. Name the first two things you check, and say what the SCC4 value of CCCORACTIV would be if your first suspicion is right.
Show answer
First check SCC4 for client 100. If recording is off, CCCORACTIV is 1 (changes without automatic recording) or 3 (no recording and no transports). Second, check whether the change was made through a maintenance dialog that takes part in recording, or by a direct table edit. A direct edit bypasses recording even in a client with automatic recording. Under normal automatic recording the value is blank.