Atlas Diagnostic
SAP key mapping diagnostics
A first-pass structure for finding why objects have different keys across systems, causing duplicates, broken links, or failed replications.
Core idea
In multi-system SAP landscapes, the same business object may have different keys in different systems. Key mapping maintains the relationship between these keys. When mapping is missing, wrong, or inconsistent, replication creates duplicates, interfaces fail, and reporting produces fragmented results. The support goal is to identify which object type is affected, which systems are involved, and whether the gap is in the mapping table, the replication model, or the interface logic.
The first question to answer is whether the object was created directly in the target system. Manual creation is the most common reason a mapping entry is missing.
Common symptoms
- Replication creates a new object in the target system instead of updating the existing one.
- Interface reports 'object not found' even though the object exists under a different key.
- Reporting or analytics shows duplicate records for the same business entity.
- MDG or ALE replication log shows key mapping errors.
- Customer or vendor number in S/4 does not match the corresponding BP number or external system key.
Likely causes
- Missing mapping entry: the object was created directly in the target system without going through the mapping process.
- Wrong mapping entry: the source key is mapped to a different target key than intended.
- Number range conflict: source and target systems use overlapping number ranges, causing collisions.
- Mapping table not maintained for new object type: the interface or replication expects mapping but the object type was recently added and mapping is not set up.
- Manual creation bypass: the object was created manually in the target system, bypassing the mapping logic.
Where to check in SAP
- Key mapping tables — landscape-specific tables that map source keys to target keys.
- MDG key mapping UI — if MDG manages the mapping.
- WE02 — IDoc status for ALE replication to see if key mapping errors are reported.
- Object display in both source and target systems — compare keys and attributes.
- Number range status (SNRO) — check if ranges overlap between systems.
Key tables / transactions / objects
- Key mapping tables — landscape-specific (e.g., USMD1700 for MDG).
- CVI_LINK — CVI link between BP and customer/vendor.
- NRIV — number range intervals.
Diagnostic workflow
- Identify the object type, source system key, target system, and expected target key.
- Check the key mapping table or MDG key mapping UI for an existing entry.
- If no entry exists, determine if the object was created manually in the target system or if the mapping was never maintained.
- If the entry exists but is wrong, trace how the wrong mapping was created.
- Check number ranges in both systems for overlaps or conflicts.
- Verify the interface or replication model uses the correct mapping logic.
Typical fixes or next actions
- Create the missing key mapping entry between source and target systems.
- Correct the wrong mapping entry and evaluate the impact on existing transactions.
- Adjust number ranges to prevent future collisions.
- If duplicates were created, evaluate merge, deactivation, or re-keying options with master data governance.
- Update the interface or replication model to enforce mapping for new object types.
What to capture first
Key mapping issues are usually maintenance gaps or number range conflicts. Capture: object type, source system, source key, target system, expected target key, actual target key, and whether the object was created manually or via replication.
Boundaries and non-goals
This page is a diagnostic frame, not a key mapping configuration guide. It does not cover number range design, MDG key mapping setup, or interface mapping logic. It does not replace SAP's multi-system integration documentation.
This is not official SAP documentation and not a replacement for system-specific analysis.