Before starting a modification, you should ask if it is really necessary to modify the standard programs or if an enhancement can also be done by means of SAP extension techniques (for example, BAdI, appends, user exits, enhancements). Note that the modification may have to be adjusted if SAP delivers this object in a newer version, for example, in an SAP Support Package or during a release change. That will cause additional effort for maintaining the modification.
Before changing any repository object (customer and SAP objects), you have to be registered as a developer in SAP Software Change Registration (SSCR). In case you want to perform a modification (SAP standard object), you have to register each SAP object that you intend to change as well. Registering the object gives you an access key which you apply to the object.
In SAP S/4HANA Server systems, these keys are not necessary. For details, see SAP Note 2309060 – The SSCR license key procedure is not supported in SAP S/4 HANA. For general information concerning these keys, see SAP Note 2501703 – Frequently asked questions about SAP Software Change Registration (SSCR).
When performing a modification, the Transport Organizer prompts you for a transport request in the same way that it does when you make changes to customer-owned objects. Because the object is not an original in your SAP system, it will be assigned to a task of type Repair.
All SAP repository objects are assigned to SAP-defined packages. All new customer repository objects must be assigned to a customer-created package. Packages are used to group objects in the project and transport them along the same transport route.
When the developer releases the task of a transport request, the lock on the object is transferred to the transport request.
At the end of the project development, the transport request is released. This releases all locks and records a version of the changed objects, both SAP and customer objects, in the version database.
Perform the first exercise of this lesson with program ADM325X01.
To support the different levels of modification, SAP provides tools such as the IMG, Business Add-Ins (BAdIs), transaction CMOD (Project Management of SAP Enhancements), and the ABAP development environment.
The Modification Assistant helps you to modify SAP standard delivered objects and to simplify the modification adjustment. When you change SAP objects in an ABAP Workbench editor, you branch into a special modification mode. Originals are initially protected in this mode and are only changed when you click the corresponding buttons (see the figure above).
The Modification Assistant logs all modifications that are made to the object. The log is easy to read and dramatically reduces the amount of effort needed for a modification adjustment.
In addition, the Modification Assistant works with the most commonly used ABAP development tools such as ABAP Editor, Screen Painter, Menu Painter and Text Elements maintenance.
The Modification Assistant is not used for changes made to dictionary objects, objects such as global interfaces and classes and their components. These objects need to be adjusted manually during modification adjustment.
A list of all modified objects in the SAP system can be shown with the Modification Browser (transaction SE95).
If a new version of a modified SAP repository object is imported into the customer SAP system, as part of an SAP Support Package or an SAP system upgrade, adjustments must be made to the modified SAP object.
Before applying an SAP Support Package or SAP enhancement package or performing an SAP system upgrade, all open repairs must be confirmed and released. This check is performed by the update / upgrade check routines of the SAP Support Package Manager / SAP Software Update Manager.
To adjust the ABAP Dictionary repository objects, use transaction SPDD. To adjust other repository objects, use transaction SPAU.
Caution
Th adjustment of modifications is neither automatic nor trivial. Customers must decide which development efforts and modifications they wish to retain, bearing in mind that the new SAP functions may quite possibly make retaining the modification unnecessary.