| name | sap-s4-migration |
| description | This skill supports SAP S/4HANA migration projects including approach selection (brownfield, greenfield, bluefield), SAP Readiness Check analysis, simplification item resolution, Business Partner migration, custom code remediation via ATC, Universal Journal migration, and post-cutover validation. Use when user mentions S/4HANA migration, system conversion, greenfield, brownfield, SUM, DMO, readiness check, simplification item, BP migration, custom code, ACDOCA, Clean Core, RISE with SAP, S/4HANA Cloud, selective data transition, H4S4, conversion project.
|
| allowed-tools | Read, Grep |
1. Approach Decision Tree
Q1: Keep existing configuration and historical data?
YES โ System Conversion (Brownfield)
NO โ New Implementation (Greenfield)
SOME โ Selective Data Transition (Bluefield / Shell Conversion)
Q2: Target deployment model?
On-premise โ Full flexibility; custom code with restrictions
RISE (PCE) โ Managed infrastructure; same S/4HANA functionality
S/4HANA Cloud PE โ Clean Core only โ no modifications, no ABAP CBO
Approach Comparison
| Aspect | Brownfield | Greenfield | Bluefield |
|---|
| Data migration | Automatic (SUM/DMO) | Manual (LTMC) | Selective |
| Configuration | Carried over | Redesigned | Mix |
| Custom code | Must remediate | Can replace with standard | Must remediate |
| Project duration | Shorter | Longer | Longest |
| Risk | Medium | Lower (for processes) | High (complex) |
| Best for | Large existing systems | Major transformation | Demerger / consolidation |
2. SAP Readiness Check โ Critical Simplification Items
FI / Accounting
| Item ID | Impact | Description | Resolution |
|---|
| S4TWL_ACDOCA | High | Universal Journal mandatory; BSEG becomes secondary | Ensure New GL active; run Universal Journal migration |
| S4TWL_NEWGL | High | Classic GL not supported โ New GL must be active | Activate New GL in ECC before SUM run |
| S4TWL_ASSETACCTG | High | New Asset Accounting mandatory; Classic AA removed | Run RAALTD01 migration report; verify parallel ledgers |
| S4TWL_MATERIAL_LEDGER | High | Material Ledger is mandatory in S/4HANA | Activate ML in ECC first if possible |
| S4TWL_BP | High | Business Partner mandatory; vendor/customer must become BP | Run BP migration (FLBPD1/FLBPD3) before conversion |
| S4TWL_COFI_RECONCILIATION | Medium | FI-CO reconciliation ledger removed | Ensure no open reconciliation items |
MM / Logistics
| Item ID | Impact | Description | Resolution |
|---|
| S4TWL_INVENTORY | High | Inventory tables restructured; MBEWโACDOCA | No direct MBEW access โ use CDS |
| S4TWL_PLANT | High | Valuation area must equal plant (1:1) | Consolidate if multiple valuation areas per plant |
| S4TWL_CENTRALPURCHORG | Medium | Central purchasing org restrictions | Review org structure |
SD / Revenue
| Item ID | Impact | Description |
|---|
| S4TWL_SD_CRM | Medium | CRM integration changes |
| S4TWL_REVENUE_RECOGNITION | High | VBREVN replaced by IFRS 15 POB approach |
ABAP / Custom Code
| Item ID | Impact | Description |
|---|
| S4TWL_COMPATIBILITY_SCOPE | High | Defines which classic APIs still supported |
3. Business Partner Migration (Mandatory for All Conversions)
Every customer and vendor must be converted to a Business Partner before go-live.
Migration Steps
Step 1: Pre-checks
PREC_CUST โ customer readiness check
PREC_VEND โ vendor readiness check
Fix all errors before proceeding
Step 2: BP configuration
BUPA_PRE_MERGE โ BP grouping and number range configuration
Define BP grouping: customer grouping / vendor grouping
Step 3: Mass creation
FLBPD1 โ vendor โ Business Partner (mass conversion)
FLBPD3 โ customer โ Business Partner (mass conversion)
Step 4: Verification
BP transaction โ check grouping, roles (FLVN00 / FLCU00)
FBL1N / FBL5N โ verify AP/AR still works via BP โ vendor/customer link
Step 5: Post-migration check
BUPA_CHECK โ Business Partner consistency check
Reconcile customer/vendor count vs BP count
Common BP Migration Errors
| Error | Root Cause | Fix |
|---|
| "Duplicate BP for vendor" | Vendor already linked to a BP | Check existing BP link: LFA1-BKVID |
| "Number range not defined" | BP grouping number range missing | BUBA โ maintain number ranges |
| "Missing mandatory field" | BP grouping requires field not in vendor | Map fields in customizing |
4. Custom Code Remediation (ATC โ ABAP Test Cockpit)
Most Common ATC Findings
| Finding | Root Cause | S/4HANA Replacement |
|---|
| SELECT from BSEG | Table no longer primary storage | CDS: I_JournalEntryItem |
| SELECT * from MARA | Performance + table changes | Targeted CDS with specific fields |
| SELECT from MKPF/MSEG | MATDOC is new primary | CDS: I_MaterialDocumentItem |
| SELECT from BSID/BSAD | ACDOCA is source | CDS: I_CustomerLineItem |
| SELECT from BSIK/BSAK | ACDOCA is source | CDS: I_SupplierLineItem |
| CALL TRANSACTION | Compatibility issues | BAPI or RAP action |
| Logical database PNPCE | Deprecated | Direct SELECT + AUTHORITY-CHECK |
| Old BAdI (CL_EXITHANDLER) | Classic BAdI | New BAdI (GET BADI / SE19) |
| Non-Unicode strings | S/4HANA is Unicode-only | String templates |...| |
ATC Check Process
- SE80 / ATC โ run check on custom package
- Filter results: Priority 1 (blocker) and Priority 2 (high) must be fixed
- Priority 3/4: fix before go-live but not hard blockers
- Document findings โ assign to developers โ track remediation
5. Universal Migration Timeline
Phase 1 โ Discover (3โ4 weeks)
โก SAP Readiness Check โ download simplification item report
โก ATC custom code analysis โ categorize findings by priority
โก BP migration pre-checks (PREC_CUST / PREC_VEND)
โก Fit-gap assessment: standard S/4HANA vs current processes
Phase 2 โ Prepare (4โ6 weeks)
โก Solution design per simplification item
โก BP migration configuration (BUPA_PRE_MERGE)
โก Custom code remediation (Priority 1 + 2 items)
โก New GL activation if not already active (ECC)
โก Material Ledger activation if not active (ECC)
Phase 3 โ Realize (12โ16 weeks)
โก DEV system conversion (SUM / DMO tool)
โก Custom code migration and unit testing
โก Integration testing (all modules)
โก Parallel run for financials (if required)
โก User acceptance testing (UAT)
Phase 4 โ Deploy (4โ6 weeks)
โก QAS system conversion
โก QAS regression testing
โก Cutover planning and rehearsal
โก PRD system conversion (go-live weekend)
โก Hypercare (4 weeks minimum)
6. Post-Migration Validation Checklist
FI:
โก Trial balance matches pre-migration (FS10N)
โก AP open items correct (FBL1N โ count and amount)
โก AR open items correct (FBL5N โ count and amount)
โก Asset spot check (AW01N โ 10% sample of assets)
โก ACDOCA reconciliation report clean
MM:
โก Stock quantities match (MB52 pre vs post)
โก Open PO / GR / IR correct (ME2M)
โก Material prices correct (MM03 โ Accounting 1)
SD:
โก Open sales orders correct (VA05)
โก Billing due list correct (VF04)
โก Credit limits migrated (FD32 / UKM_BP)
ABAP:
โก ST22: zero short dumps in first 3 days post go-live
โก SM21: no system error messages
โก Custom reports executed with expected output
โก Background jobs running on schedule (SM37)
7. References
references/simplification-items.md โ top 30 simplification items by module with impact, resolution, effort