ERPClimb logoERPClimb
Mapping Techniques Deep Dive
Integration Suite & Cloud Integration (CPI)intermediate 5 min read

CPI Mapping Part 3: Value Mappings, Lookups and Reference Data

Preview · a free account unlocks the full lesson

Key takeaway

Translate codes between systems with value mappings, choose between value mappings and runtime lookups, handle missing values, and manage reference data across tenants without code changes.

Visual overview

CPI Mapping Part 3: Value Mappings, Lookups and Reference Data — learning sheetFlow: Code list need → Value mapping artifact → Missing-value strategy → Runtime lookup for large data → Ownership and transport. Key ideas: VALUE MAPPING BASICS; MAINTENANCE; MISSING VALUES; RUNTIME LOOKUPS. Watch out: Silent defaults for unknown codes hide data quality problems.ERPClimb.com / CPI / LESSON 6/15 / LEARNING SHEETCPI Mapping Part 3: Value Mappings, Lookups and ReferenceData1 · HOW IT FLOWS1Code listneed2Valuemappingartifact3Missing-valuestrategy4Runtimelookup forlarge data5Ownershipandtransport2 · KEY IDEAS EXPLAINEDValue Mapping BasicsA value mapping artifact holds bidirectional pairsdefined by source agency and identifier and targetagency and identifier, for example SAP unit 'ST'…MaintenanceValue mappings are maintained as their ownartifacts and deployed independently, so adding anew code doesn't require changing the iFlow…Missing ValuesDecide what happens when a code is not found: usea default, keep the original value or raise anerror. For data that affects business processing…Runtime LookupsWhen reference data is large or changes daily,such as customer numbers, look it up at runtimefrom the master system via OData or RFC, possibly…3 · REMEMBER · WATCH OUTRememberValue mappings translate codes, e.g. unit or plant codes, betweenagencies and identifiers.Value mapping artifacts are maintained separately from mappings andcan be updated without changing iFlows.Missing-value behaviour must be defined: default value, pass-throughor error.!Watch outSilent defaults for unknown codeshide data quality problems.4 · IN A REAL PROJECTA partner's new unit of measure was silently mapped to a default 'EA' for weeks, causing incorrect quantitiesin billing. Changing the missing-value behaviour to raise an error with the unknown code made new codesvisible on day one.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

This final mapping part is about reference data.

Value mapping basics: a value mapping artifact holds bidirectional pairs defined by a source agency and identifier and a target agency and identifier, for example SAP unit 'ST' mapped to a partner's unit 'PCE'. Message mappings call the value mapping function directly, and Groovy scripts can use the value mapping API to look up the same pairs programmatically.

Maintenance: value mappings are maintained as their own artifacts, separate from the message mapping or iFlow that uses them, and deployed independently. This means adding a new code pair does not require touching, retesting or redeploying the iFlow itself. Business or support users can be given a controlled process to request and validate new entries without needing developer involvement for every change.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.