Add "Source System" to repo settings#291
Merged
Merged
Conversation
larshp
approved these changes
Mar 16, 2026
There was a problem hiding this comment.
Pull request overview
Adds documentation for the new “Source System” repository setting in the .abapgit.xml user guide, explaining how TADIR-SRCSYSTEM is determined by default and how to override it.
Changes:
- Document default
SRCSYSTEMassignment behavior for customer namespaces vs. repair-key-only namespaces. - Explain how configuring a “Source System” affects modifiability after import, with example system IDs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Comment on lines
+172
to
+176
| When importing objects in the default customer namespace (Y- or Z-packages), objects are assigned to the current system (`TADIR-SRCSYSTEM = SY-SYSID`). It works the same way, when importing objects into a namespace that has a producer key. This means you can freely create and modify objects in this namespace. However, if the namespace only has a repair key, abapGit will assign the importing objects to "SAP" (`TADIR-SRCSYSTEM = 'SAP'`). As a result, you will not be able to modify the objects. | ||
|
|
||
| #### Setting a Source System | ||
|
|
||
| If you want to allow modifying objects even if only a repair key is present (or part of the NSPC object in the repo), then you can set the source system in the repository settings to "SID". During import, abapGit will assign objects to the current system (`SY-SYSID`), which makes them modifiable. The typical use case is open-source projects using a namespace. |
|
|
||
| #### Setting a Source System | ||
|
|
||
| If you want to allow modifying objects even if only a repair key is present (or part of the NSPC object in the repo), then you can set the source system in the repository settings to "SID". During import, abapGit will assign objects to the current system (`SY-SYSID`), which makes them modifiable. The typical use case is open-source projects using a namespace. |
|
|
||
| If you want to allow modifying objects even if only a repair key is present (or part of the NSPC object in the repo), then you can set the source system in the repository settings to "SID". During import, abapGit will assign objects to the current system (`SY-SYSID`), which makes them modifiable. The typical use case is open-source projects using a namespace. | ||
|
|
||
| If you want to preserve the original system, you can set the source system accordingly. For example, your repository originates in system "DEV". Set source system in your repository settings to "DEV". When you import the repository to system "ABC" objects will be assigned to "DEV" and therefore will not be modifiable. The typical use case is landscapes with multiple development systems where you want to share common packages (but keep the link to the original). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.