Almost before we knew it, we had left the ground. All their equipment and instruments are alive.Mist enveloped the ship three hours out from port. The spectacle before us was indeed sublime.A red flair silhouetted the jagged edge of a wing.
Sales & Service Cloud V2 one record, every deal and case
Win more deals and resolve cases faster on SAP Sales Cloud V2 and Service Cloud V2, connected to S/4HANA and ready for SAP’s AI assistants. We migrate from C4C V1, implement fit-to-standard and run it under SLAs.
Accounts, leads, opportunities and quotes on one record, with pipeline, forecasting and AI deal insights for every seller.
One pipelineEvery region, one forecast
Quote to orderNo re-keying into ERP
AI-readyClean, connected records
What it does
Accounts, contacts, leads and opportunities
Pipeline, forecasting and activities
Mobile selling and AI deal insights
Guided selling with SAP CPQ quotes
How PGC Digital helps
C4C V1 to Sales Cloud V2 migration
Fit-to-standard implementation
Extensions on SAP BTP
Sales assistants on clean data
S/4HANA link Customers, products, prices and order status come in from S/4HANA; won quotes go back as sales orders.
Solid: comes in from S/4HANA. Dashed: goes back to S/4HANA. Through SAP Integration Suite.
Service Cloud V2
Resolve cases faster with the full history
Cases, field service and knowledge in one place, with the customer’s installed base and warranty from S/4HANA.
First-time fixAgents see the equipment
SLA controlRouting and timers
Self-serviceKnowledge reused
What it does
Cases, tickets and service-level tracking
Field service and service orders
Knowledge for agents and self-service
How PGC Digital helps
C4C V1 to Service Cloud V2 migration
Case routing and SLA design
SLA-based support after go-live
S/4HANA link Installed base and warranty come in from S/4HANA; service orders and billing go back.
Solid: comes in from S/4HANA. Dashed: goes back to S/4HANA. Through SAP Integration Suite.
C4C V1 → V2
A move, not an in-place upgrade
What changes
Sales and Service Cloud V2 are new cloud products. Moving from C4C V1 means a new tenant, re-implemented processes, rebuilt extensions and migrated data, and it is licensed separately. Treat it as a project with a pilot, not a patch.
How we run it
Fit-to-standard on V2, PDI code rebuilt as side-by-side extensions on SAP BTP, V1 to V2 data reconciliation by object, and a pilot country before the waves. The full method is in the playbook and programme book below.
Playbook v2.0 · SAP CX modernisation · manufacturing
C4C V1 → Sales & Service Cloud V2. One global template, country by country.
Solution architecture, custom objects and processes, data transfer with sample data and code, rollout data planning, pilot-country selection and cutover, for a multi-country SAP CX programme connected to S/4HANA.
130planning story units8gated delivery stages4rollout waves, pilot firstDTT + APIobject-wise transfer
How to read this playbook
It merges PGC Digital’s V1 → V2 migration playbook and interactive playbook with new sections. SAP tooling facts come from SAP Help and SAP Community. The three company profiles are anonymised, illustrative planning archetypes. All volumes, sample records, dates and code are reference patterns to validate against your tenant and released APIs.
Hard rules
DTT access is restricted and object-specific: raise an SAP case under LOD-LE-MIG-CNS.
No tool auto-converts every V1 custom object, ABSL script, mashup, report or interface.
Never write directly to the V2 database. After cutover, only V2 receives authoritative backend deltas.
Sappy explains
A global rollout is not one migration; it is the same migration done well, many times. Build the factory once in the pilot, then every next country gets faster and safer.
01 · Read it as
One playbook, four lenses
Pick your role. Sappy shows what matters to you first, and where to read next.
Will the business stop, what does it cost, and when do we see value?
No big-bang riskCountries move in waves; V1 and V2 coexist with no dual-write. The last rollback point is 30 hours into cutover, inside a 48-hour window.
Cost that falls wave by waveOne global template carries about 80% of the design; the migration factory, tests and country packs are reused, so later waves cost less.
Compliance built inEach country pack carries its privacy regime (GDPR, DPDP, PDPA, LGPD), data-residency choice and works-council approvals.
AI value you can trustAI briefings switch on per role only after the duplicate-rate gate, so the first answers users see are right.
Pick the pilot by score, not by politics. Each candidate is rated 1–5 on six criteria; the highest total becomes Wave 1 and proves the migration factory before scale-out.
Archetype A · Ingredients & beveragesIllustrative planning scenario
24 / 30 · pilot
Netherlands22 / 30
Poland21 / 30
United States19 / 30
Sponsor · Data quality · Low complexity · Right-size volume · Legal / language · Integration
W1Pilot
W2EUNetherlands, Poland, France, Italy
W3AmericasUSA, Brazil, Mexico
W4APAC & MEASingapore, India, China, Türkiye
Archetype B · HVAC & refrigerationIllustrative planning scenario
A large dealer, installer and warranty network makes this the archetype for a service-heavy rollout, with warranty claims and installed base as custom objects.
Belgium25 / 30 · pilot
20 / 30
Netherlands22 / 30
Türkiye16 / 30
Sponsor · Data quality · Low complexity · Right-size volume · Legal / language · Integration
W1PilotBelgium (+ Luxembourg)
W2Core EUFrance, Italy, Spain, Netherlands
W3North & EastNordics, Poland, Czechia, Türkiye
W4MEA & India
Archetype C · Tyres & mobilityIllustrative planning scenario
Selling through dealers, fleets and OEMs makes this the archetype for account hierarchies, fleet contracts and claim handling as custom processes.
25 / 30 · pilot
19 / 30
Poland21 / 30
United States19 / 30
Sponsor · Data quality · Low complexity · Right-size volume · Legal / language · Integration
W1Pilot
W2France, Benelux, Poland, Italy
W3AmericasUSA, Mexico, Brazil
W4APAC
Pilot selection rules PGC Digital applies
Close to the design authority. The pilot sits near the global process owners, so fit-gap decisions are fast.
Representative, not extreme. Mid-size volume and the core sales and service processes; avoid the most heavily customised country.
Clean data. Duplicate rate under 5% and a named data owner per object.
Simple legal and language. Save right-to-left, multi-script and strict data-residency countries for later waves, once the template is stable.
Integration coverage. The pilot must exercise the S/4HANA master-data, pricing and order interfaces every later country will use.
Freeze window. Avoid fiscal year-end and peak season, such as the HVAC summer or winter-tyre season.
Sappy explains
Think of the pilot as the test kitchen. Choose the kitchen with good ingredients and a chef nearby, not the busiest restaurant. Read how to score it yourself in our pilot-country guide.
03 · Solution architecture
The target landscape, layer by layer
A logical reference architecture. We replace it with your verified systems and tenant-specific APIs in discovery.
ExperienceSales reps · key account managers · service agents · managers · partnersV2 web and mobile, Joule, Outlook and Teams, approved portals. Supported UI extension points only; V1 mashups do not port unchanged.
SAP Business AIAccount synopsis · executive summary · Joule · guided sellingMetered in AI Units; switched on per role after the data-quality gate.
CX applications · one global tenant per landscape
SAP Engagement Cloudcampaigns, consent, journeysSales Cloud V2leads, opportunities, quotes, guided sellingService Cloud V2cases, SLAs, warranty, installed base
L1 Global core · entities, processes, rolesL2 Regional · languages, privacy, calendarsL3 Local · statutory fields, templates
Side-by-side · SAP BTPCAP Node.js/Java services · SAP Build · HANA CloudCustom domains with no V2 fit, with their own lifecycle and tests.
Integration · SAP Integration SuiteCloud Integration · API Management · Event MeshRouting, mapping, idempotency keys, retries, dead-letter store, monitoring.
System of record · SAP S/4HANACustomer · product · price · order · invoice · installed base · warrantyFor manufacturers, the source of truth every country shares.
Source · C4C V1 tenantsRCT → DTT → migration factoryRead-only after cutover, then archived and decommissioned.
Operations
SAP Cloud ALM · Integration Suite monitoring · ITSM / AMS. Correlation IDs, runbooks, severity matrix, SLOs.
Landscape
V2 dev → test → prod tenants, same release
BTP subaccounts per stage
Integration Suite tenant per stage
S/4HANA sandbox paired to V2 test
Identity & security
SAP Cloud Identity Services with your corporate IdP
One technical user per interface, never shared
OAuth client credentials via BTP destinations
PII redaction in logs; retention by country
Non-functional targets
UI p95 under 2 s for core pages
Interface errors under 0.5% a day
Replay within 1 h of a fixed defect
Cutover load inside 48 h
Sappy explains
Read it top to bottom like a building: people at the top, S/4HANA as the foundation. Everything a country adds lives in its own thin layer, so the global core stays clean.
04 · Solution architect decision register
Eight decisions, written down once
Architecture decision records stop the same debate happening in every country.
ADR-01One global V2 tenant per landscape
Decision
Single production tenant with org-based localisation; no country tenants.
Consequence
Simplest global reporting and AI; needs a strict design authority.
ADR-02S/4HANA is the system of record for customer, product and price
Decision
Accounts and products replicate from S/4HANA; V2 never masters them.
Consequence
No duplicate masters; DTT is not used for ERP-owned accounts.
ADR-03Custom objects: V2 first, CAP second
Decision
Use V2 custom objects where the release supports the shape; CAP only for shared, complex domains.
Consequence
Fewer moving parts; CAP adds its own operations cost.
ADR-04No direct database writes
Decision
All loads go through DTT, released V2 APIs or CAP services.
Consequence
Supportable and upgrade-safe; slower bulk loads are accepted.
ADR-05Idempotent upsert on legacy ID
Decision
Every load writes the cross-reference first; reruns update, never duplicate.
Consequence
Safe retries and mock reruns; needs a staging store.
ADR-06Wave-based coexistence, no dual-write
Decision
Each country is authoritative in one tenant; S/4HANA routes by sales organisation.
Consequence
Clean ownership; global reports union V1 and V2 for a while.
ADR-07Validation via external hook, approvals via workflow
Decision
Synchronous checks in a CAP hook; long-running approvals in workflow.
Consequence
Responsive UX; the hook must meet its latency budget.
ADR-08AI features gated on data quality
Decision
Account synopsis is switched on per role only after the duplicate-rate gate.
Consequence
Trustworthy AI output; slight delay to AI value.
05 · Migration & engineering toolchain
Which tool does what
Tooling rule. RCT assesses. DTT transfers supported objects and configuration. Integration Suite integrates systems. CAP on BTP builds custom services. Profiling and reconciliation scripts prove the data.
SAP Readiness Check Tool (RCT)Pre-migration assessmentAssesses V1 objects, extension fields, adaptations and PDI add-ons. Converts nothing.
SAP Data Transfer Tool (DTT)Object-wise V1 → V2 transferRestricted access: open an SAP case under LOD-LE-MIG-CNS. Confirm supported objects, mapping and limits per tenant and release.
SAP Integration SuiteCross-system integrationRebuild flows, mappings, routing, retries and monitoring. Not a universal database copier.
SAP Business Accelerator Hub / V2 API catalogueAPI discovery and contractsVerify entity, operations, fields, filters, paging, auth and rate limits before coding.
SAP Business Application Studio + CAPCustom service developmentSide-by-side services where V2 configuration and APIs fall short. Not a DTT replacement.
SAP HANA Cloud / PostgreSQL stagingStaging and cross-reference storeExtracts, transformed rows, xref and error register; encrypted and access-controlled.
Git + CI/CDSource and deployment governanceVersions CAP services, scripts, mapping specs, country packs and tests.
Postman / Bruno / automated API testsAPI contract and integration testsAuth, happy path, validation, paging, retry, duplicate and replay cases with synthetic data.
SQL / Python profiling scriptsProfiling and reconciliationCounts, keys, relationships, code lists and business totals per country and status.
SAP Cloud ALMImplementation and operationsRequirements, tests, deployment tracking and monitoring where licensed.
Jira / Azure DevOpsBacklog and traceabilityV1 object → disposition → design → build → test → cutover sign-off.
No tool matches that search.
06 · Global template & country packs
Global core, regional layer, local delta
About 80% of the design is global, 12% regional and 8% local. Every country gets a versioned pack instead of a fork.
L1 · Global · ~80%L2 · ~12%L3
L1 · Global · ~80%Owned by the global design authority
Entity model, custom fields, custom objects
Lead → opportunity → quote; case → SLA
Business roles, approvals, AI configuration
S/4HANA integration contract, KPI pack
L2 · Regional · ~12%Owned by regional process leads
Language packs, shared-service routing
Privacy regime: GDPR, DPDP, PDPA, LGPD
Regional SLA calendars, hierarchies
Data-residency choice
L3 · Local · ~8%Owned by country rollout teams
Tax IDs (VAT, GSTIN, CNPJ, TRN)
E-invoice status from S/4HANA
Address formats, consent texts, right-to-left
Holidays, local email templates
Country pack contents · one per country, versioned in Git
countries/DE/config.yamlOrg units, sales areas, territories, currencies, languageCountry lead
countries/DE/fields.yamlLocal custom fields, mandatory rules, code-list valuesFunctional lead
countries/DE/legal.mdRetention, consent, works-council and AI-use approvalsLegal / DPO
countries/DE/data-scope.yamlObjects, history depth, exclusions, volume estimateData lead
countries/DE/training/Persona guides, local champions, scheduleChange lead
Sappy explains
Like a franchise: the recipe is global, the menu language is regional, and the tax receipt is local. Nobody rewrites the recipe for one shop.
07 · Custom objects · how they are redeveloped
Worked example: the V1 warranty claim object
A typical V1 PDI custom object, ZWarrantyClaim (header plus parts items, used by service agents and dealers). Here is how a solution architect decides its V2 target and builds it.
1
Standard V2 entity fits?If case + registered product + custom fields cover the meaning and lifecycle, adopt it.
2
V2 key-user custom object fits?If the tenant release supports custom objects with the needed fields, nodes, associations and API, build it in V2.
3
Shared domain with complex rules?Used by several apps, heavy logic or high volume: build a BTP CAP service with its own persistence.
4
Still needed?If not, retire and archive with retention sign-off.
Chosen for pilotOption A · V2 custom objectHeader and items fit; about 180k records; rules are simple validations; agents need it on the account and case screens.
FallbackOption C · CAP side-by-sideUsed if the release lacks item nodes, or if the dealer portal and S/4HANA warranty both consume it.
Re-implementedBusiness rulesAmounts above $5,000 need approval; failure date not in the future; parts must exist in S/4HANA.
Field mapping · ZWarrantyClaim → WarrantyClaim
V1 fieldV1 typeV2 fieldRule
ClaimIDID (alt key)legacyId + new UUIDKeep the V1 ID immutable in xref; V2 generates its own key
AccountIDBusinessPartnerInternalIDaccountIdResolve via account xref; reject if unmapped
ProductIDProductIDproductIdMust exist in the S/4HANA-replicated product master
Item.PartID / Quantitynode [0,n]items[]Load after header; parent via new header key
Notes, attachmentsTextCollection / AttachmentFolderV2 notes / attachmentsDTT only if the object mapping covers it; else content API
Code lab · custom object Illustrative patterns; field and endpoint names are not asserted SAP standards
// V1 (as-is) — PDI business object definition: ZWarrantyClaim.bo
import AP.Common.GDT as apCommonGDT;
import AP.FO.BusinessPartner.Global;
businessobject ZWarrantyClaim raises MsgApprovalRequired, MsgFutureDate {
message MsgApprovalRequired text "Claims above 5,000 need approval";
message MsgFutureDate text "Failure date cannot be in the future";
[AlternativeKey] [Label("Claim ID")] element ClaimID : ID;
[Label("Account")] element AccountID : BusinessPartnerInternalID;
[Label("Product")] element ProductID : ProductID;
[Label("Claim Amount")] element ClaimAmount : Amount;
[Label("Status")] element Status : ZClaimStatusCode;
[Label("Failure Date")] element FailureDate : Date;
node Item [0,n] {
element PartID : ProductID;
element Quantity : Quantity;
}
association ToAccount to Customer;
}
// ZWarrantyClaim-Root-BeforeSave.absl
import ABSL;
if (this.FailureDate > Context.GetCurrentUserDate()) {
raise MsgFutureDate.Create("E");
}
if (this.ClaimAmount.content > 5000 && this.Status == "01") {
this.Status = "02"; // IN_APPROVAL
raise MsgApprovalRequired.Create("W");
}
// V2 option A — key-user custom object definition (illustrative metadata)
// Created in V2 Extensibility admin where the tenant release supports
// custom objects. Verify supported field types, nodes and generated API.
{
"objectName": "WarrantyClaim",
"label": { "en": "Warranty Claim", "de": "Garantieanspruch" },
"fields": [
{ "name": "legacyId", "type": "TEXT", "length": 40, "unique": true },
{ "name": "accountId", "type": "ASSOCIATION", "target": "Account" },
{ "name": "productId", "type": "ASSOCIATION", "target": "Product" },
{ "name": "amount", "type": "AMOUNT" },
{ "name": "status", "type": "CODE", "codeList": "WarrantyStatus" },
{ "name": "failureDate", "type": "DATE" }
],
"codeLists": {
"WarrantyStatus": ["OPEN","IN_APPROVAL","APPROVED","REJECTED","CLOSED"]
},
"children": [
{ "objectName": "WarrantyClaimItem",
"fields": [
{ "name": "partId", "type": "ASSOCIATION", "target": "Product" },
{ "name": "quantity", "type": "QUANTITY" } ] }
],
"ui": { "showOn": ["Account", "Case", "RegisteredProduct"] },
"validations": [
{ "rule": "failureDate <= TODAY()", "message": "Failure date cannot be in the future" }
]
}
// Amount-based approval is a process, not a field rule: see section 08.
// V2 option C — BTP CAP side-by-side domain: db/warranty.cds
namespace pgc.warranty;
using { cuid, managed, Currency } from '@sap/cds/common';
type Status : String(12) enum { OPEN; IN_APPROVAL; APPROVED; REJECTED; CLOSED; }
entity Claims : cuid, managed {
legacyId : String(40) @assert.unique @mandatory;
accountId : String(36) @mandatory; // V2 account UUID (via xref)
productId : String(40) @mandatory; // S/4 product ID
amount : Decimal(15,2);
currency : Currency;
status : Status default 'OPEN';
failureDate : Date @mandatory;
country : String(2);
items : Composition of many ClaimItems on items.claim = $self;
}
entity ClaimItems : cuid {
claim : Association to Claims;
partId : String(40);
quantity : Decimal(13,3);
}
// srv/warranty-service.cds
using pgc.warranty as db from '../db/warranty';
service WarrantyService @(requires: 'WarrantyAgent') {
entity Claims as projection on db.Claims;
action submitForApproval(claimId: UUID) returns Claims;
}
// srv/warranty-service.js — CAP handlers (Node.js)
const cds = require('@sap/cds');
module.exports = class WarrantyService extends cds.ApplicationService {
init() {
const { Claims } = this.entities;
this.before(['CREATE', 'UPDATE'], Claims, req => {
const { failureDate, amount } = req.data;
if (failureDate && new Date(failureDate) > new Date())
req.error(400, 'Failure date cannot be in the future', 'failureDate');
if (amount != null && amount < 0)
req.error(400, 'Amount must be positive', 'amount');
});
this.after('CREATE', Claims, async claim => {
if (claim.amount > 5000) {
await UPDATE(Claims, claim.ID).with({ status: 'IN_APPROVAL' });
await this.emit('ClaimNeedsApproval', { id: claim.ID, amount: claim.amount });
}
});
this.on('submitForApproval', async req => {
const claim = await SELECT.one.from(Claims, req.data.claimId);
if (!claim) return req.error(404, 'Claim not found');
await UPDATE(Claims, claim.ID).with({ status: 'IN_APPROVAL' });
return SELECT.one.from(Claims, claim.ID);
});
return super.init();
}
};
Sappy explains
Ask four questions in order and stop at the first yes. Most objects end up as standard V2 or a V2 custom object; only a few deserve their own BTP service.
08 · Custom object data · how it transfers
From V1 extract to reconciled V2 records
1ExtractV1 custom OData service (generated for the PDI object) or Data Workbench export, frozen per mock load.
2Stage & validateLand in staging (HANA Cloud or PostgreSQL). Profile, cleanse, apply code-list and xref lookups.
3LoadHeaders, then items, through the V2 custom-object API or CAP service. Idempotent upsert on legacyId.
4ReconcileCounts, keys, links and amounts by country and status. Rejects go to an error register with an owner.
Sample V1 extract · ZWarrantyClaim synthetic
ClaimAccountCountryProductAmountStatusFailure dateLoad result
WC-1002311000457DEHVAC-VRV-12012026-08-14Loaded
WC-1002321000981DEHVAC-SPLT-07022026-09-02Loaded · in approval
Code lab · custom data transfer Run against a sandbox with synthetic data first
# extract_v1_claims.py — pull ZWarrantyClaim from V1 custom OData (illustrative)
# Service name is generated from the PDI BO; confirm in V1 OData Service Explorer.
import os, csv, requests
BASE = os.environ["V1_BASE"] # https://myXXXXXX.crm.ondemand.com
URL = f"{BASE}/sap/c4c/odata/cust/v1/zwarrantyclaim/ZWarrantyClaimRootCollection"
AUTH = (os.environ["V1_USER"], os.environ["V1_PASS"]) # from vault, never in code
PAGE = 1000
def pages():
skip = 0
while True:
r = requests.get(URL, auth=AUTH, timeout=60, params={
"$format": "json", "$top": PAGE, "$skip": skip,
"$expand": "Item",
"$filter": "SalesOrganisationID eq 'DE10' or SalesOrganisationID eq 'DE20'"})
r.raise_for_status()
rows = r.json()["d"]["results"]
if not rows: return
yield rows
skip += PAGE
with open("stage/zwarrantyclaim_DE.csv", "w", newline="") as f:
w = csv.writer(f)
w.writerow(["ClaimID","AccountID","ProductID","Amount","Currency",
"Status","FailureDate","ItemsJSON"])
for batch in pages():
for c in batch:
w.writerow([c["ClaimID"], c["AccountID"], c["ProductID"],
c["ClaimAmount"], c["ClaimAmountcurrencyCode"],
c["Status"], c["FailureDate"],
[ (i["PartID"], i["Quantity"]) for i in c["Item"]["results"] ]])
// load.js — idempotent upsert into V2 (custom-object API or CAP service)
// Endpoint path is a placeholder; take it from the released API spec.
import { getDestination } from './btp-destination.js';
export async function upsertClaim(t, xref, log) {
const dest = await getDestination('V2_CUSTOM_OBJECTS'); // OAuth via BTP
const existing = await xref.lookup('WARRANTY_CLAIM', t.record.legacyId);
const method = existing ? 'PATCH' : 'POST';
const url = existing ? `${dest.url}/warrantyclaims/${existing}`
: `${dest.url}/warrantyclaims`;
const res = await fetchWithRetry(url, {
method,
headers: { ...dest.headers, 'Content-Type': 'application/json',
'X-Correlation-ID': `${t.batchId}:${t.record.legacyId}` },
body: JSON.stringify(t.record)
}, { retries: 3, retryOn: [429, 502, 503, 504] }); // never blind-retry 4xx
if (!res.ok) {
await log.reject(t.record.legacyId, `HTTP_${res.status}`, await res.text());
return;
}
const { id } = await res.json();
await xref.save('WARRANTY_CLAIM', t.record.legacyId, existing ?? id, t.batchId);
for (const item of t.items) { // children after parent
await fetchWithRetry(`${dest.url}/warrantyclaims/${existing ?? id}/items`, {
method: 'POST', headers: dest.headers, body: JSON.stringify(item) });
}
}
async function fetchWithRetry(url, opts, { retries = 0, retryOn = [] } = {}) {
for (let a = 0; ; a++) {
const r = await fetch(url, { ...opts, signal: AbortSignal.timeout(20000) });
if (!retryOn.includes(r.status) || a >= retries) return r;
await new Promise(s => setTimeout(s, 2 ** a * 500)); // bounded backoff
}
}
-- reconcile.sql — run after each mock and at cutover (staging DB)
-- 1. Count completeness by country and status
SELECT s.country, s.status,
COUNT(*) AS source_cnt,
COUNT(x.target_id) AS loaded_cnt,
COUNT(*) - COUNT(x.target_id) AS gap
FROM v1_zwarrantyclaim s
LEFT JOIN xref x ON x.object = 'WARRANTY_CLAIM' AND x.legacy_id = s.claim_id
GROUP BY s.country, s.status
ORDER BY gap DESC;
-- 2. Business total must match exactly
SELECT s.country,
SUM(s.amount) AS v1_amount,
SUM(t.amount) AS v2_amount,
SUM(s.amount) - SUM(t.amount) AS diff
FROM v1_zwarrantyclaim s
JOIN xref x ON x.legacy_id = s.claim_id AND x.object = 'WARRANTY_CLAIM'
JOIN v2_warrantyclaim_extract t ON t.id = x.target_id
GROUP BY s.country;
-- 3. Orphan items (child without migrated parent)
SELECT i.* FROM v1_zwarrantyclaim_item i
LEFT JOIN xref x ON x.object='WARRANTY_CLAIM' AND x.legacy_id = i.claim_id
WHERE x.target_id IS NULL;
-- 4. Reject register summary
SELECT reason, COUNT(*) FROM load_rejects
WHERE batch_id LIKE 'M2-DE-%' GROUP BY reason ORDER BY 2 DESC;
// Integration Suite Groovy step — validate and tag migration rows
import com.sap.gateway.ip.core.customdev.util.Message
import groovy.json.JsonSlurper
import groovy.json.JsonOutput
Message processData(Message message) {
def rows = new JsonSlurper().parseText(message.getBody(String))
def ok = [], bad = []
rows.each { r ->
def id = r.ClaimID?.toString()?.trim()
if (!id || !r.AccountID) { bad << [id: id, reason: 'MISSING_KEY']; return }
if (r.FailureDate > new Date().format('yyyy-MM-dd')) {
bad << [id: id, reason: 'FUTURE_DATE']; return }
ok << r
}
message.setProperty('RejectedCount', bad.size())
message.setProperty('RejectedJson', JsonOutput.toJson(bad)) // to error store
message.setBody(JsonOutput.toJson(ok))
return message
}
Sappy explains
The cross-reference store is the migration’s memory. Because every record remembers where it came from, we can rerun a load ten times and never create a duplicate.
09 · Custom processes · how they are rebuilt in V2
Worked example: discount approval on an opportunity
V1 used ABSL on save to block any discount above 15% until a regional manager approved, plus a job that escalated after 48 hours. In V2 the same outcome is rebuilt from supported pieces, not ported line by line.
V1 · as-is
ABSL BeforeSave validation on the opportunity
Custom field ZDiscountPct, status ZApprovalStatus
V1 workflow rule emails the manager
Mass data run escalates after 48 h
V2 · to-be
Custom fields on the opportunity via key-user extensibility
Synchronous validation via a V2 external hook to a CAP endpoint, or a standard validation rule if it covers the logic
Approval routed by V2 approval capability or SAP Build Process Automation, after a licence check
Escalation as a scheduled CAP job with checkpointing
Process pattern mapping
PatternV1V2Accept when
Simple validationRequired-field or field-combination check in ABSLV2 validation rule if supported; else an external hook to CAP before saveSame accept/reject cases; clear message; no partial save
Derived calculationScore, class or derived fieldStandard calculated capability; else CAP with versioned rulesGolden test vectors; rounding; recalculation
Cross-object transactionABSL updates several objectsOrchestration with idempotent steps and compensationFailure injection; no duplicate side effects
Workflow / approvalV1 workflow routes approvalsV2 approval capability or SAP Build Process Automation (licence check)Routing, delegation, escalation, audit
Scheduled batchMass data run updates recordsScheduled CAP job, paged API, checkpoint and resumeRestartable; volume tested
Mashup / external UIHTML/JS mashupSupported V2 UX extension or standalone BTP appSSO, navigation context, security test
Event triggerV1 event starts a downstream processDocumented V2 events via Event Mesh; else Integration Suite pollingDelivery semantics; replay safe
How custom process data moves
Completed processesMigrate as historyApproved and rejected approvals load as read-only history fields (approver, date, decision). No workflow instance is recreated.
In-flight processesDrain or re-triggerPreferred: drain in V1 before the freeze (deadline T-5 days). The rest load as IN_APPROVAL and a post-load job re-triggers approval once in V2.
Timers & escalationsRecalculateEscalation clocks restart from the original submission date stored in a custom field, so SLAs stay honest.
Audit trailArchiveFull V1 change history exports to the archive; V2 keeps a summary and a link.
OpportunityDiscountV1 statusSubmittedTreatment
OPP-5512018%Approved2026-09-10History fields only
OPP-5518722%In approval2026-10-14Load IN_APPROVAL, re-trigger in V2
OPP-552019%Not required—Standard load
OPP-5523031%Rejected2026-10-01History fields only
Code lab · custom process Illustrative; confirm hook payloads and APIs for your release
// V1 (as-is) — Opportunity-Root-BeforeSave.absl (extension of standard BO)
import ABSL;
import AP.CRM.Global;
var limit = 15; // percent
if (this.ZDiscountPct > limit && this.ZApprovalStatus != "APPROVED") {
this.ZApprovalStatus = "PENDING";
this.ZSubmittedOn = Context.GetCurrentUserDate();
raise MsgDiscountApproval.Create("W", this.ZDiscountPct.ToString());
}
// V2 (to-be) — external hook endpoint on BTP (Express inside CAP)
// V2 calls this synchronously on opportunity save where external hooks are
// supported. Payload/response shape is illustrative: use the release spec.
const express = require('express');
const router = express.Router();
const LIMIT = 15;
router.post('/hooks/opportunity/validate', express.json(), (req, res) => {
const opp = req.body?.currentImage ?? {};
const pct = Number(opp.extensions?.discountPct ?? 0);
const status = opp.extensions?.approvalStatus;
if (pct > LIMIT && status !== 'APPROVED') {
return res.json({
).toISOString() } },
info: [{ code: 'DISCOUNT_APPROVAL',
message: `Discount ${pct}% exceeds ${LIMIT}%. Sent for approval.`,
severity: 'WARNING' }]
});
}
return res.json({ data: {} }); // no change
});
module.exports = router;
// Latency budget: respond < 1 s; no outbound calls in this path.
// Escalation job — replaces V1 mass-data run (scheduled every hour)
const cds = require('@sap/cds');
module.exports = async function escalate() {
const cutoff = new Date(Date.now() - 48 * 3600 * 1000).toISOString();
const stale = await SELECT.from('pgc.approvals.Requests')
.where({ state: 'OPEN', escalated: false })
.and('submittedOn <', cutoff)
.limit(500); // checkpointed batches
for (const r of stale) {
try {
await notifyNextApprover(r); // regional director
await UPDATE('pgc.approvals.Requests', r.ID).with({ escalated: true });
} catch (e) {
console.error('escalation failed', r.opportunityId, e.message); // retried next run
}
}
};
// Migrate in-flight approvals at cutover (runs after opportunity load)
export async function migrateApprovals(rows, xref, v2, wf) {
for (const a of rows) { // from V1 extract
const oppId = await xref.lookup('OPPORTUNITY', a.OpportunityID);
if (!oppId) { await logReject(a, 'OPP_UNMAPPED'); continue; }
// History for every record
await v2.patchOpportunity(oppId, { extensions: {
approvalStatus: map(a.ZApprovalStatus),
submittedOn: a.ZSubmittedOn, approvedBy: a.ZApprovedBy ?? null } });
// Re-trigger only open ones, keeping the original clock
if (a.ZApprovalStatus === 'PENDING') {
await wf.start('pgc.discountApproval', {
opportunityId: oppId, discountPct: a.ZDiscountPct,
submittedOn: a.ZSubmittedOn, migrated: true });
}
}
}
const map = s => ({ PENDING:'PENDING', APPROVED:'APPROVED', REJECTED:'REJECTED' }[s] ?? 'NONE');
Sappy explains
We do not copy the old code; we copy the outcome. The manager still approves big discounts, but now through supported building blocks that survive every SAP release.
10 · Data migration factory
Route data by ownership, then prove it
DataRouteControls
ERP-owned accounts, products, pricingS/4HANA replication via approved integrationNever double-load with DTT; key mapping to S/4HANA IDs
CRM-owned sales recordsDTT where supported; else API or importOwners, status codes, relationships, legacy IDs
Service recordsDTT where supported; confirm case-history behaviourOpen-work continuity; status transitions
Custom object dataV2 custom-object API or CAP service; DTT only if coveredNever write to the database; xref and audit on every row
Notes & attachmentsDTT where the object mapping supports it; else content APIParent links, permissions, file integrity
T-0 18:00Freeze V1 for pilot sales orgs; stop V1 outbound interfacesCutover manager
T+0 19:00Final extract: account deltas, transactions, custom objectsData lead
T+2 hLoad master-data deltas via S/4HANA replicationIntegration
T+6 hDTT runs: contacts, opportunities, casesData lead · SAP
T+14 hCustom objects: headers, items, notes, attachmentsBTP team
T+20 hIn-flight approvals re-triggered; history fields loadedBTP team
T+24 hReconciliation: counts, totals, orphans, rejectsData lead · business
T+28 hSwitch S/4HANA routing for pilot sales orgs to V2; smoke testsIntegration
T+30 hGo/no-go 2: the last rollback pointSteering committee
T+36 hKey-user validation; AI account synopsis on for pilot rolesFunctional lead
T+48 hGo-live communication; four weeks of hypercare startProgramme lead
Go / no-go criteria
M3 reconciled inside thresholds and window
No open critical or high defects
All interfaces smoke-tested in production with V2 routing
Business owners signed off sales, service and custom objects
Rollback decision point and authority confirmed
Rollback
Up to T+30 h: re-point S/4HANA routing to V1, unfreeze V1, discard V2 loads. After T+30 h: fix forward only. V1 stays read-only for 90 days, then archives.
Sappy explains
Friday evening the old system freezes; by Sunday evening the new one is live. The 30-hour mark is the last moment to turn back, and everyone knows who decides.
Weeks 3–62 · Fit-gap & designDisposition every capability; target architecture; ownership; country template; pilot selection.Exit: Fit-gap matrix, ADRs, approved backlog
Weeks 5–83 · Foundation & thin sliceTenants, identity, connectivity, API smoke tests, DTT access, one custom object and process end to end.Exit: Working thin slice, DTT scope confirmed
Weeks 7–14+4 · Build & migrateConfigure, build CAP services and iFlows, M1–M2 loads, automated tests.Exit: Sprint increments, runbooks, defect logs
Weeks 13–18+5 · SIT / regression / UATCross-system journeys, data integrity, access, load, localisation.Exit: Signed UAT, reconciled mock
Business KPIs · baseline → 6-month target illustrative
Account-prep time per callV130 minV215 min
Duplicate account rateV19 %V22 %
Forecast accuracyV172 %V285 %
First-contact resolutionV158 %V268 %
Weekly active usersV161 %V285 %
Interface error rateV12.1 %V20.5 %
Warranty claim cycle timeV114 daysV27 days
AI on every account
Account synopsis and executive summary read the V2 account and its related transactions and write a briefing for reps, key account managers and agents. They are consumed through AI Units, so you switch them on deliberately.
Switch on per business role after the data-quality gate passes
Clean duplicates first: poor data gives poor synopses
Track synopsis views ÷ account visits as the adoption KPI
Combine with guided selling for the next best action
PGC Digital · SAP Sales & Service Cloud · Programme book · 1 Oct 2026
C4C V1 → V2 global programme
Everything in one place for moving a manufacturer's SAP C4C estate to Sales & Service Cloud V2: the product differences, the vision and scope, the pilot-subsidiary and country rollout, and the global template kit with sample configuration, data and code.
2011V1 goes live as Sales OnDemand, later C4C, on the ByDesign stack
2022V2 rebuilt as cloud-native microservices; first projects 2023
0lines of V1 ABSL / PDI code that run in V2 as they are
20–30%share of V1→V2 effort that is data transfer (partner estimate)
Decision to settle first: DTT moves a whole object at a time and needs an empty V2 tenant. If the client runs one global V1 tenant, the pilot subsidiary cannot be transferred on its own. Choose data option A, B or C (Part 02) in discovery and confirm it with SAP before fixing the pilot plan.
PART 01
V1 to V2 field guide
The product background: how V1 and V2 differ as platforms, how code, custom objects and data move, and which modules carry over easily.
Release history
From ByDesign CRM to a rebuilt V2
2007
SAP starts building cloud CRM inside Business ByDesign.
2011
Sales OnDemand launches; the platform that becomes C4C / V1.
2014+
Renamed Cloud for Customer; PDI, KUT, quarterly releases.
2022
V2 rebuilt cloud-native; Service V2 first, no ABSL or SDK.
Nov 2023
Fall 2023 release; first limited-scope go-lives.
H1 2024
SAP's target for V2 to be broadly comparable with V1.
2024–25
RCT and DTT ship in V1's Transition work center; Leads added Feb 2025.
Q4 2025
Digital Service Agent GA; GenAI duplicate check (Q3).
Q1 2026
Joule Studio GA, deal-risk scoring, rebuilt forecasting.
V1 2608: no new business function; DTT adds utilities objects.
Status: V1 is in maintenance mode; Joule, agents and new workspaces ship to V2 only. No public V1 end-of-maintenance date was found; confirm SAP's position before quoting one.
Technology difference
Two platforms, not two versions of one
Layer
V1 (C4C)
V2
Migration impact
Custom code
ABSL in PDI solutions
No ABSL, no SDK; Node.js / Java via CAP on BTP, or SAP Build
Every script rewritten or retired
Custom objects
CBOs inside the tenant, generated OData
Custom Services backed by CAP entities
Re-modelled; data loaded separately
Extension fields
KUT fields
Extension fields in admin extensibility
DTT maps them where supported
Business rules
Workflow rules, ABSL events
Autoflow, External Hooks, custom validation and determination
Rule-by-rule redesign
Integration
OData V2, SOAP, CPI (often Neo)
REST / OData V4, events, Integration Suite packages
Adopt standard, adapt or redesign each iFlow
UI extension
HTML mashups, embedded components
Mashups with permissions, embedded BTP or Build apps
Custom UI redone
Data tools
Data Workbench
Data Import & Export; DTT for V1→V2
DTT for standard objects, files for the rest
AI
Limited, added late
Joule, Joule Studio agents, deal and case intelligence
New value case
Code migration
V1 code runs inside the tenant; V2 calls it on BTP
Illustrative. V2 posts the record; the CAP app replies with changes or none. The approval entity lives in CAP, shown in V2 as a Custom Service.
SAP reports TransforMate at up to 60% conversion accuracy and up to 50% shorter build time; these are SAP's figures, not a guarantee.
Data migration with DTT
CRM data from V1 through DTT; ERP masters from S/4
DTT does well
Standard master and transactional data with configuration, relationships, same IDs and UUIDs, parallel transfers, delta sync, notes, attachments, mapped extension fields.
With restrictions
Leads, appointments, tasks, phone calls, visits, route planning, some activity sub-fields; tickets to cases need case types first.
Not moved by DTT
ABSL logic, workflow rules, CBO structures and data, integrations, UI, reports, personal settings, email templates. No simple rollback of a run.
V1 · Transition → Data Transferillustrative mockup, not an SAP screenshot
Test Data TransferTransfer DataTransfer BCStop DeltaStart Post-ProcessingTransfer History
Organizational Units
Employees
Accounts
Contacts
Leads
Opportunities
Sales Quotes
Tickets → Cases
Premise (Utilities)
Accounts · fields
V1 fieldV2 target
Account IDID (kept)
NameName
ABC ClassificationCode list mapped
Z_Segment (KUT)Extension field
Z_LegacyScore (PDI)No target: exclude
Last run (sample): 18,412 transferred · 37 errors · delta active
Custom objects & custom processes
Where each V1 customisation lands in V2
Custom Business Object (PDI)Stored in the V1 tenant with generated screens and OData
→
Custom Service + CAP entity on BTPEntity-based (up to 15), data in HANA Cloud; records exported, transformed, re-keyed
KUT extension fieldField on a standard object
→
V2 extension fieldCreated in admin, mapped and filled by DTT
Workflow ruleNotification, field update
→
AutoflowEvent-triggered flows, email, calls to services
ABSL BeforeSave / validationSynchronous check
→
Custom validation, or External HookSimple rules in admin; complex rules as a hook to CAP
ABSL AfterModify / web serviceAsync side effect
→
Autoflow → webhook, or event → Integration SuiteLoosely coupled, upgrade-safe
HTML mashupCustom screen in C4C
→
Mashup-based Custom Service or SAP Build appUp to 30 mashup-based services
Ticket assignment rulesManual or simple rules
→
Case types, phases, steps, routingService admins configure without IT
Modules, features and sub-features
What carries over easily, what changes shape
Area
Module
V1 features
V2 features
Ease
Sales
Accounts & contacts
Account, contact, BP relationships, 360 facets
Customer 360 with S/4 metrics, GenAI duplicate check
Selling workspace, Kanban pipeline, next best action, deal risk
Data easy, process redesign
Sales
Quotes & orders
Quote, ERP pricing, order replication
Standard lead-to-cash with S/4HANA
Fit-gap
Sales
Visits & retail
Visit planning, routes, surveys, tours
Retail execution in one stack with sales
Validate restrictions
Sales
Activities
Appointments, tasks, calls, emails
Server-side Outlook & Gmail sync, timeline
DTT w/ restrictions
Sales
Territories
Hierarchy, realignment rules
Territories, assignment; rule depth maturing
Check depth
Sales
Forecasting
Forecast by opportunity
Forecast views rebuilt (Q1 2026)
Rebuild
Service
Ticket → Case
Flat ticket, status fields, SLA
Case types with phases & steps, parent-child, automatic SLA
Re-model
Service
Routing
Assignment rules, queues
Skills-based routing, channel-agnostic inbox
Redesign
Service
Installed base
IB hierarchy, registered products, warranties
Equivalent objects; check DTT per object
Fit-gap
Industry
Utilities
Premise, contract account
Utilities for Service V2; DTT since 2608
DTT
Platform
Workflow
Workflow rules
Autoflow, multi-step approvals
Rebuild
Platform
Extensibility
KUT, PDI, CBOs, ABSL
Extension fields, hooks, Custom Services, CAP, SAP Build
Rebuild
Platform
Analytics
Reports, data sources
Embedded analytics, KPI cards, SAC stories
Rebuild
Platform
Integration
OData V2, SOAP, CPI
REST / OData V4, events, standard packages
Redesign
AI
Joule & agents
None
Joule, Joule Studio, Digital Service Agent
New
UX
Search & workspaces
Enterprise search, work centers
Global search, role workspaces
New
Who does what
SAP tools cover part of the job; the SI owns the transformation
SAP provides
Readiness Check inventory, AssessMate scoring, TransforMate draft code, DTT transfer of standard data and configuration.
SI owns (PGC Digital)
Process workshops, fit-gap, keep / retire / redesign calls, CBO re-models, CAP build, integration redesign, mocks, reconciliation, cutover, hypercare.
Client gets
A clean-core V2 with less custom code, standard S/4 lead-to-cash, Joule and agents, one template for every country.
PART 02
Vision & scope
Vision and objectives
One template, built once, deployed everywhere
Why now. V1 is in maintenance mode: Joule, agents, deal intelligence and case management ship to V2 only, and V1 2608 added transition tooling but no new business function.
One global CX process model for sales and service, with thin, documented regional and local variants.
Clean core: no in-tenant custom code; every extension on SAP BTP, reusable across countries.
Standard lead-to-cash with S/4HANA as master for customers, products and pricing.
A repeatable rollout kit so the second country goes live in well under half the pilot's time.
Users productive on day one: same data, same IDs, a guided workspace.
Open and historic CRM data per country, master data reload from S/4
Closed records older than the retention window
People
Training, change, hypercare per country
Sales organisation redesign
Target solution architecture
One global V2 tenant, extended and integrated only through BTP
S/4HANA stays master for customers, products, pricing and orders. V1 appears only during migration: DTT and delta feed V2 until each country's cutover, then V1 is retired for that country.
Modular view
Every module hangs off the same global masters
Get accounts, products and org units right in the pilot and every later module and country reuses them.
Global and regional templates
One global layer, three thin regional layers, local values only
Element
Global (L1)
Regional (L2)
Local (L3)
Process model
Lead-to-cash, opportunity phases, quote approval, case lifecycle, visits
Distributor vs direct variants
Approval thresholds
Object model
Standard objects + global extension fields
Regional fields (EU VAT ID, US tax exemption)
None
Org structure
Global pattern, sales org logic
Region nodes, regional sales orgs
Offices, territories, teams
Code lists
Phases, loss reasons, case types, priorities
Regional additions
Country values, translations
Roles
Global role catalogue
Regional data restrictions
User assignment
Automation
Autoflows, validations, hooks (one code base)
Parameters
Parameter values
Integration
One S/4 pattern via Integration Suite
Company codes, US tax engine
Country endpoints
Compliance
Consent, audit, retention framework
GDPR, US state privacy, PDPA, PIPL
Local retention periods
Language
English master texts
Regional languages
Local formats
Analytics
Global KPI set
Regional dashboards
Country targets
Every requirement is tested against V2 standard first; deviations need a business case and owner.
No country-specific code: a country difference is a parameter read by the shared BTP extension.
Versioned releases: Template 1.0 at pilot go-live, 1.1 after wave 1, then one per wave.
Tenant strategy to confirm: one global V2 production tenant unless data residency forces a regional tenant for Asia.
Mid-size, uses sales and service, shares the S/4 instance with other countries, has an engaged sponsor, and no major local exceptions.
What a second country does not repeat
Process design, object model, extensions, integration design, test scripts, training content.
Durations in the roadmap are planning assumptions, sized after the Readiness Check and AssessMate.
Cutover command centre
Production is the fourth full load, never the first
Business adoption
Users keep their data; what changes is how they reach it
Role
Keeps
Gains in V2
Must relearn
Sales rep
Accounts, pipeline, history
Guided workspace, next best action, Kanban, Joule, email sync
Workspaces, search, mobile app
Key account manager
Hierarchy, relationships
Customer 360 with S/4 figures, deal risk
Where 360 views sit
Sales manager
Territories, team pipeline
Rebuilt forecasts, KPI cards
Forecast process
Service agent
Tickets (now cases), product history
Phases and steps, SLA timers, AI classification
Case lifecycle and routing
Field rep
Visit plans, routes
Retail execution in the same app
Visit and survey screens
Admin
Code lists, org, users
Admin extensibility, Autoflow, Custom Services
No KUT or PDI
User experience delta
V1 lists records; V2 guides the next step
V1 · Opportunities work centermockup
Home
Customers
Sales
Activities
Service
Analysis
My Open Opportunities (42)NewActions ▾
NameAccountPhaseProb.
Press line retrofitNorthfield FoodsProposal60%
Spare parts dealKestrel PumpsQualify30%
Service contractOrion MetalNegotiate80%
List → detail facets (Overview, Products, Sales Team, Activities). The user decides what to do next.
V2 · Opportunity workspacemockup
Press line retrofitSearch everything…
IdentifyQualifyProposalNegotiateClose
Value1.2M
Close12 Dec
Deal riskMedium
Timeline
Meeting with plant manager
Quote sent from S/4 pricing
Email synced from Outlook
Next best action Add service contract to quote
Joule
Summarise this deal.
Buyer wants volume pricing; competitor in final round.
V1 · Ticket 4711mockup
SubjectHydraulic leak on press 3StatusOpenPriorityHighCategory(agent selects)ProcessorUnassignedDueSLA date field
Flat record; routing by assignment rules; next step depends on agent knowledge.
V2 · Case 4711 · Machine breakdownmockup
TriageDiagnoseResolveClose
Steps in Diagnose
Confirm serial on registered product
Run remote diagnosis
Dispatch technician if needed
Resolution SLA: 3 h 40 m leftRouted to Hydraulics team, EU · Warranty active · AI: category Hydraulics, 3 similar cases, draft reply ready
Area
V1
V2
Users notice first
Navigation
Work centers and views
Role workspaces, global search
Fewer clicks, new menu
Opportunity
List then facets
Stage bar, KPI cards, timeline, next best action, Kanban
Drag deals across stages
Account
Facets
Customer 360 with S/4 orders, contracts, invoices
ERP figures in CRM
Service
Ticket status and SLA fields
Case phases, steps, SLA timers, AI
Screen shows the next step
Email
Outlook add-in
Server-side Outlook and Gmail sync
No add-in
AI
Little or none
Joule summaries, drafting, agents
New habits
Governance, risks and assumptions
A global design authority owns the template
Body
Decides
Cadence
Steering committee
Scope, waves, budget, go / no-go
Monthly + gates
Global design authority
Template changes, deviations, extensions
Weekly
Regional process leads
Regional layer, wave readiness
Weekly per wave
Country cutover board
Cutover go / no-go, sign-off
Daily in cutover week
Risk
Mitigation
DTT can't move one subsidiary from a shared V1 tenant
Decide option A / B / C in discovery; confirm with SAP
Countries on V1 and V2 at once
One system of record per country; switch integrations per wave
Restricted DTT objects
Restriction list per object; file loads for gaps
CBO / ABSL rebuild bigger than estimated
AssessMate on day one; retire before rebuild
No DTT rollback
Three mocks + dress rehearsal
Regional requests erode template
Design authority, deviation budget
Assumptions to confirm: number of V1 and S/4 tenants, users per country, data volumes from the Readiness Check, PDI solutions and CBOs, data residency for Asia, shared sales organisations.
PART 04
Template build kit
What is global versus regional, how the project and code are organised, and sample configuration, data and code. All names, values and code are illustrative; verify payloads and admin paths against SAP Help for the client's V2 release.
Data model
V1 extends inside the object; V2 extends beside it
Aspect
V1
V2
Migration impact
Core structure
BOs with root and child nodes
Entities with sub-entities behind REST / OData V4
Field mapping per object
Identifiers
Object ID + UUID
ID + display ID
DTT keeps V1 IDs and UUIDs
Customer fields
KUT fields on the node
Extension fields in an extensions structure
Recreate, map, transfer
Custom objects
PDI BOs with ABSL
Custom Services on CAP
Re-model, load separately
Change events
Workflow rules, ABSL events
Business events, Autoflow, hooks
Logic rebuilt
API contract
OData V2, SOAP
REST, OData V4, events
Every integration re-pointed
Configuration, medium and large customisation
Push every requirement to the lowest tier that meets it
Requirement
V1 build
V2 tier
V2 build
Competitor mandatory on lost opportunity
ABSL check
Configuration
Mandatory rule / validation
Discount above threshold needs approval
Workflow + ABSL
Configuration
Quote approval
Follow-up task when quote sent
Workflow rule
Configuration
Autoflow
Machine family and plant on opportunity
KUT fields
Medium
Global extension fields
S/4 credit-block check before quoting
ABSL + web service
Medium
External Hook → CAP → S/4
Machine telemetry on registered product
HTML mashup
Medium
Mashup-based Custom Service
Trial machine loan lifecycle
PDI custom BO
Large
Custom Service + CAP, UI in SAP Build
Spare-parts recommendation
PDI logic + UI
Large
CAP service or Joule Studio agent
Object classification
Structure is global, law and market values regional, office values local
Object
Global (L1)
Regional (L2)
Local (L3)
Account
Structure, roles, mandatory and extension fields, duplicate rules
All IDs, names and codes are sample data. Accounts from S/4 keep the BP number; CRM-only records keep V1 IDs through DTT; custom-object records store the V1 ID in legacyId.
Sample code
One CAP app serves every country
// db/schema.cds
namespace mfg.cx;
using { cuid, managed } from '@sap/cds/common';
entity TrialLoans : cuid, managed {
legacyId : String(20);
accountId : String(20) not null;
opportunityId : String(20);
machineSerial : String(40) not null;
loanStart : Date not null;
loanEnd : Date not null;
status : String(10) enum { ACTIVE; RETURNED; CONVERTED; };
country : String(2) not null;
}
// srv/trial-service.cds
using mfg.cx as db from '../db/schema';
@requires: 'authenticated-user'
service TrialLoanService @(path: '/trial-loans') {
entity TrialLoans as projection on db.TrialLoans;
action returnMachine(loanId: UUID) returns TrialLoans;
}
// srv/lib/params.js — global → regional → local
const global = require('../../config/global/params.json')
const regions = { 'R-EU': require('../../config/regional/R-EU.json'),
'R-AM': require('../../config/regional/R-AM.json'),
'R-AS': require('../../config/regional/R-AS.json') }
const countryRegion = { DE: 'R-EU', FR: 'R-EU', US: 'R-AM', IN: 'R-AS' }
const merge = (base, over) => {
const out = { ...base }
for (const [k, v] of Object.entries(over || {})) {
if (!(k in base)) throw new Error(`Key ${k} is not in the template schema`)
out[k] = (v && typeof v === 'object' && !Array.isArray(v)) ? merge(base[k], v) : v
}
return out
}
module.exports.forCountry = (country) => {
const region = countryRegion[country]
if (!region) throw new Error(`Country ${country} is not rolled out yet`)
let local = {}
try { local = require(`../../config/local/${country}.json`) } catch (e) {}
return merge(merge(global, regions[region]), local)
}
// srv/hooks/case-created.js (Autoflow webhook, illustrative)
const cds = require('@sap/cds')
module.exports = (srv) => {
srv.on('caseCreated', async (req) => {
const c = req.data
if (c.caseType !== 'ZBRK') return { status: 'ignored' }
const s4 = await cds.connect.to('S4_SERVICE_ORDER')
await s4.post('/ServiceOrders', {
ServiceOrderType: 'SVO1',
SoldToParty: c.accountId,
ServiceObjectSerial: c.registeredProductSerial,
ExternalReference: c.displayId
})
return { status: 'created' }
})
}
// test/params.test.js
test('Germany overrides the EU threshold', () =>
expect(forCountry('DE').quote.discount_approval_pct).toBe(12))
test('A country not rolled out is rejected', () =>
expect(() => forCountry('JP')).toThrow('not rolled out'))
Conventions and delivery
A name tells you the layer and the release
Item
Pattern
Example
Code-list values
Z + 2 chars
Z01, ZBRK
Extension fields
PascalCase; regional fields EU_ / AM_ / AS_
MachineFamily, EU_VatIdChecked
Business roles
Z + role
ZSALESREP, ZKAM
Org units
Type-country-place
SO-DE01, OF-DE-MUC
Autoflows
Object_trigger_action
OPP_LOST_REQUIRE_REASON
Releases
TPL major.minor
TPL 1.0, TPL 1.1
CI/CD and testing
Pull request: lint, unit tests, parameter-schema check.
Merge: build MTA, deploy to dev, API tests against V2 dev.
Release tag: deploy to test, regression, then production after the change board.
Test layers: unit, configuration, integration, data reconciliation, business UAT, regression per wave.
Rollout kit handed to each new country
Template release notes and global, regional, local config files
Extension-field list and DTT mapping file
Code-list file with translations to fill
Org-model and employee templates
Data templates and reconciliation pack
Integration endpoint checklist for the country's S/4 sales areas
Regression pack plus a blank delta-scenario sheet
Training pack, role cards, super-user guide
Cutover runbook (T-30 to T+7) and go / no-go criteria
PART 05
Global template explorer
How one global template covers most features in nine countries, how regional layers add what law and market require, and what each country actually changes. Use the tabs; the country views compare any two countries side by side.
What the global template provides, module by module
Every country runs the same objects, flows, rules and code. The only thing a country changes is a value, shown in the bottom row of each infographic.
Module 1 of 9 · Accounts, contacts, customers
Customer master
One record per legal entity. Buying customers are mastered in S/4; prospects live in CRM until their first order.
What the global template provides
Roles: prospect, customer, distributor, OEM
Mandatory: name, country, role, owner, industry segment
GenAI duplicate check before save
One tax-ID validator, pattern per country
Consent model and account hierarchy
KPIs: Duplicate rate · % accounts with valid tax ID
LeadPackaging line extensionSourceZ02 Trade fairAccount1000187 AlpentecQualificationHotOwnerE10002Created2026-09-28Escalates if untouched2026-09-30, 17:00 local
Same logic in every country
// Autoflow webhook — identical in all countries
srv.on('leadAging', async (req) => {
const l = req.data, p = forCountry(l.country)
const days = workingDaysSince(l.createdAt, p.holidays_calendar)
if (l.qualification === 'HOT' && days >= p.lead.followup_days) // 2 everywhere
return { action: 'notify', to: l.ownerManagerId, template: 'G_LEAD_ESCALATION' }
return { action: 'none' }
})
Module 3 of 9 · One pipeline, one forecast
Opportunities
Every country sells machines, retrofits, service contracts and spare parts through the same phases, so the global forecast adds up.
Opportunity20000931 Press line retrofitCycleZ02 RetrofitPhaseProposal (60%)ValueClose date2026-12-12MachineFamilyPR-4400Forecast categoryBest case
Same logic in every country
// srv/hooks/opportunity-hook.js — identical in all countries
srv.on('opportunityBeforeSave', async (req) => {
const o = req.data.currentImage, e = []
if (o.probability >= 25 && (!o.extensions?.MachineFamily || !o.expectedValue?.amount))
e.push({ code: 'MFG003', message: 'Machine family and value are required after Qualify.' })
if (o.status === 'LOST' && (!o.lossReason || !o.competitor))
e.push({ code: 'MFG004', message: 'Loss reason and competitor are required.' })
return e.length ? { info: e, severity: 'ERROR' } : { noChanges: true }
})
Module 4 of 9 · S/4 pricing, controlled discounts
Quotes
Quote quickly with prices from S/4 and approve only the discounts that need it.
KPIs: SLA attainment · first-time fix · backlog age
Sample record (same structure in every country)
Case4711TypeZBRK Machine breakdownPriorityP1SubjectHydraulic leak on press 3SerialPR-4400-11871Response due4 business hoursRouted toHydraulics team
Same logic in every country
// srv/hooks/case-hook.js — identical in all countries
const SLA = { P1: 4, P2: 8, P3: 24, P4: 72 } // response hours, global
srv.on('caseBeforeSave', async (req) => {
const c = req.data.currentImage
const cal = forCountry(c.country).case_sla_calendar
const due = addBusinessHours(c.createdAt, SLA[c.priority], cal)
return { data: { responseDueAt: due } }
})
Module 7 of 9 · Machines in the field
Installed base
Every shipped machine is a registered product with warranty and service history, and a source of retrofit business.
What the global template provides
Registered product per serial number
Hierarchy: line, machine, component
Warranty start and end
Retrofit lead at age limit
Trial machine loans (Custom Service)
KPIs: Machines with service contract · retrofit leads created
Sample record (same structure in every country)
SerialPR-4400-11871ProductPress PR-4400Account1000187 AlpentecInstalled2016-03-01Warranty end2018-03-01Age10.6 yearsRetrofit leadCreated in DE (limit 10)
Customers, products, prices and orders come from S/4; CRM never keeps its own copy of ERP truth.
What the global template provides
Business partner and material replication
Price simulation for quotes
Sales order creation and status
Invoice and e-invoice status card
Service order creation from cases
KPIs: Interface errors per day · order creation time
Sample record (same structure in every country)
iFlowMFG_S4_V2_ACCOUNT_GDirectionS/4 → V2TriggerBP change eventKeyBP number = account IDMappingvalue-mapping.csvError handlingretry 3x, then alertOwnerIntegration lead
Same logic in every country
# integration/value-mapping.csv — the only per-country part
v2SalesOrg,s4SalesOrg,distChannel,division
SO-DE01,1010,10,00
SO-FR01,1210,10,00
SO-US01,1710,10,00
SO-IN01,2810,10,00
# adding a country = adding a row; the iFlow is unchanged
Module 9 of 9 · Who sees what, one KPI set
Roles & analytics
The same roles and the same KPI definitions everywhere, filtered by each user's org unit.
Phases, probabilities, loss reasons, forecast categories
Example: "Press line retrofit" in Munich and "Press line retrofit" in Pune both run cycle Z02 with the same five phases; only the approval threshold differs (12% vs 10%).
Phases and steps per case type, SLA model, priorities
Registered product and warranty structure
Example: a breakdown case in Toledo and one in Osaka follow the same Triage → Diagnose → Resolve → Close steps; the SLA calendar comes from the region.
Installed base
Retrofit lead from ageing machines (parameter: age in years)
Trial machine loans (Custom Service on BTP)
Customer data
One tax-ID validator, pattern per country
Consent model with regime per country
Messaging channel + ID (WhatsApp global; WeChat, LINE added in Asia)
Example: a Japanese need (LINE ID) and a Chinese need (WeChat ID) became one global field instead of two local ones.
// srv/hooks/retrofit-lead.js — global code, German parameter
srv.on('registeredProductAged', async (req) => {
const rp = req.data
const p = forCountry(rp.country) // DE → 10, default → 12
const years = (Date.now() - Date.parse(rp.installationDate)) / 3.15576e10
if (years < p.installed_base.retrofit_age_years) return { status: 'too new' }
await leads.post('/leads', {
name: `Retrofit ${rp.productDescription} (${rp.serialId})`,
account: { id: rp.accountId },
sourceCode: 'Z07', // global source: installed base
extensions: { MachineFamily: rp.machineFamily }
})
return { status: 'lead created' }
})
FR · France
France layer
G 52%
R 22%
L 26%
CurrencyLanguagesFrench, EnglishTax IDn° TVA (VAT ID)PrivacyEU GDPRE-invoicingHandled in S/4 with its e-invoicing platform; status in CRMDiscount approval15% (EU)SLA calendarEU business hoursHolidaysFRSales channelDirect, public-sector tendersMessagingEmail, phone
Try the tax-ID check
Example: FR40303265045 · Valid format
Pattern from config: ^FR[0-9A-HJ-NP-Z]{2}\d{9}$
Business use cases
Public-sector tendersGlobal
French quote outputLocal valueEU legal footer plus French texts; only translations are local.
No local overrides on approvalsRegionalFrance inherits the EU 15% threshold: its local file has no quote key.
// srv/hooks/opportunity-hook.js — global tender rule, used most in France
if (opp.salesCycle === 'Z05') {
if (!opp.extensions?.TenderReference)
errors.push({ code: 'MFG010', message: 'Tender reference is required.' })
if (opp.extensions?.TenderDeadline &&
Date.parse(opp.extensions.TenderDeadline) < Date.now())
errors.push({ code: 'MFG011', message: 'Tender deadline is in the past.' })
}
G 55%
R 18%
L 27%
CurrencyLanguagesEnglishTax IDVAT number (GB)PrivacyE-invoicingInvoicing stays in S/4Discount approval15% (EU)SLA calendarHolidaysGB-ENGSales channelDirect, key accountsMessagingEmail, phone
Try the tax-ID check
Example: GB123456789 · Valid format
Pattern from config: ^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$
Business use cases
Operated from the EU regionLocal value
Service contract renewalsGlobalGlobal Autoflow creates a renewal opportunity 90 days before contract end.
Consent checkLocal valueThe shared consent code reads regime UK_GDPR_PECR and applies opt-in for marketing email.
CurrencyUSDLanguagesEnglish, SpanishTax IDEINPrivacyState privacy laws (e.g. California CCPA/CPRA): opt-outE-invoicingNo CRM change; sales tax via tax engineDiscount approval15% (Americas)SLA calendarAmericas, by time zoneHolidaysUS-FEDSales channelDirect + authorised dealersMessagingEmail, phone, SMS
Try the tax-ID check
Example: 12-3456789 · Valid format
Pattern from config: ^\d{2}-?\d{7}$
Business use cases
Dealer deal registrationRegionalDealers (account class A01) register deals as leads with source A02; a regional Autoflow checks the territory to avoid channel conflict.
Tax-exempt customersRegionalAn External Hook blocks a quote when AM_TaxExemptCertificate has expired.
Sales tax on quotesRegionalQuote tax comes from the regional tax-engine integration, not from CRM.
CurrencyLanguagesEnglish, FrenchTax IDBusiness Number (BN)PrivacyPIPEDA, Quebec Law 25, CASL for emailE-invoicingNo CRM change; GST/HST/PST via tax engineDiscount approval15% (Americas)SLA calendarAmericas, by time zoneHolidaysCA-ONSales channelDirect + dealersMessagingEmail, phone
Try the tax-ID check
Example: 123456789RT0001 · Valid format
Pattern from config: ^\d{9}(RT\d{4})?$
Business use cases
CASL email consentLocal value
Bilingual quotesLocal valueQuote language follows the province: Quebec gets French output.
Dealer networkRegionalUses the Americas dealer cycle and territory conflict check.
CurrencyMXNLanguagesSpanishTax IDRFCPrivacyLFPDPPPE-invoicingCFDI stamped in S/4; status shown in CRMDiscount approval15% (Americas)SLA calendarAmericas, by time zoneHolidaysMXSales channelDistributorsMessagingWhatsApp, email
Try the tax-ID check
Example: ABC680524P76 · Valid format
Pattern from config: ^[A-Z&Ñ]{3,4}\d{6}[A-Z0-9]{3}$
Business use cases
CFDI invoice status in Customer 360Local valueThe global invoice-status card shows CFDI status read from S/4 through a Mexico iFlow.
Distributor-led salesRegionalAmericas distributor cycle; distributor is the sold-to party.
WhatsApp as contact channelGlobalGlobal messaging channel Z01 WhatsApp; no local field.
CurrencyINRLanguagesEnglish, HindiTax IDGSTINPrivacyDPDP Act 2023E-invoicingGST e-invoice (IRN) in S/4; status in CRMDiscount approval10% (local)SLA calendarAsia, by country (IST)HolidaysIN-KASales channelDirect + channel partnersMessagingWhatsApp, email
Try the tax-ID check
Example: 29ABCDE1234F1Z5 · Valid format
Pattern from config: ^\d{2}[A-Z]{5}\d{4}[A-Z][1-9A-Z]Z[0-9A-Z]$
Business use cases
GSTIN drives state and officeLocal valueA hook validates the GSTIN and uses its first two digits (state code) to set the sales office.
Trial machine loansGlobalPre-sales demo loans use the global Custom Service mfg-trial-loans.
Tighter discount approvalsLocal valueQuotes above 10% need approval.
// srv/hooks/account-hook.js — GSTIN drives state and sales office
srv.on('accountBeforeSave', async (req) => {
const a = req.data.currentImage
if (a.country !== 'IN' || !a.taxId) return { noChanges: true }
const err = checkTaxId('IN', a.taxId)
if (err) return { info: [err], severity: 'ERROR' }
const state = a.taxId.slice(0, 2) // e.g. 29 = Karnataka
const office = forCountry('IN').gst_state_offices[state]
return office ? { )
CN · China
China · Asia layer
G 42%
R 25%
L 33%
CurrencyCNYLanguagesChinese (Simplified), EnglishTax IDUnified Social Credit CodePrivacyPIPL, data localisation rulesE-invoicingFapiao via S/4 or local system; status in CRMDiscount approval15% (Asia)SLA calendarAsia, by country (CST)HolidaysCNSales channelDistributorsMessagingWeChat
Try the tax-ID check
Example: 91310115MA1H7XKQ3X · Valid format
Pattern from config: ^[0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}$
Business use cases
Data-residency decisionLocal valueChina cannot go live until the tenant and residency question is settled (data option C if required).
WeChat as contact channelRegionalAsia adds code S01 WeChat to the global messaging field.
Distributor salesRegionalAsia partner function for distributors and trading companies.
// Build-time guard: country cannot go live until residency is decided
const p = forCountry('CN')
if (p.data_residency?.personal_data_in_country === 'review')
throw new Error('CN rollout blocked: decide tenant / residency (option C) first')
// Contact payload — global messaging fields, Asian value
{ "lastName": "Wang", "extensions": {
"MessagingChannel": "S01", // WeChat (Asia regional value)
"MessagingId": "wang_li_sh" } }
JP · Japan
Japan · Asia layer
G 42%
R 25%
L 33%
CurrencyJPY (0 decimals)LanguagesJapanese, EnglishTax IDInvoice registration no.PrivacyAPPIE-invoicingQualified invoice system: registration number on invoices from S/4Discount approval15% (Asia)SLA calendarAsia, by country (JST)HolidaysJPSales channelTrading companies + directMessagingLINE
Try the tax-ID check
Example: T1234567890123 · Valid format
Pattern from config: ^T\d{13}$
Business use cases
Trading-company dealsRegionalSales through trading houses use the Asia partner function TRADING_COMPANY.
// srv/hooks/opportunity-hook.js — global tender rule, used most in France
if (opp.salesCycle === 'Z05') {
if (!opp.extensions?.TenderReference)
errors.push({ code: 'MFG010', message: 'Tender reference is required.' })
if (opp.extensions?.TenderDeadline &&
Date.parse(opp.extensions.TenderDeadline) < Date.now())
errors.push({ code: 'MFG011', message: 'Tender deadline is in the past.' })
}
# config/local/GB.yaml
country: GB
region: R-EU # operated from the EU region
currency: GBP # overrides EUR
privacy: { regime: UK_GDPR_PECR }
tax_id: { name: "VAT number", pattern: "^GB(\\d{9}|\\d{12}|GD\\d{3}|HA\\d{3})$" }
holidays_calendar: GB-ENG
languages: [en]
// Build-time guard: country cannot go live until residency is decided
const p = forCountry('CN')
if (p.data_residency?.personal_data_in_country === 'review')
throw new Error('CN rollout blocked: decide tenant / residency (option C) first')
// Contact payload — global messaging fields, Asian value
{ "lastName": "Wang", "extensions": {
"MessagingChannel": "S01", // WeChat (Asia regional value)
"MessagingId": "wang_li_sh" } }