The Technical Authority on Enterprise Systems 企业级系统技术权威专刊

THE SAP JOURNAL.

VOL. DLX NO. 1 Special Report: The Definitive Guide to Deployment & Change 特别报道:部署与变更的终极指南 2025 EDITION

Section I: Strategic Deployment 第一部分:战略部署

The Deployment Spectrum: From Survival to Fortress 部署谱系:从生存模式到堡垒模式

In SAP infrastructure design, "Architecture" is the physical manifestation of an enterprise's balance between Cost, Agility, and Risk. The decision to deploy 2, 3, or 5 systems is not arbitrary; it dictates the organization's ability to innovate without self-destruction. 在 SAP 基础设施设计中,“架构”是企业在成本、敏捷性和风险之间平衡的物理体现。部署 2 个、3 个还是 5 个系统的决定并非随意的;它决定了组织在不自毁的前提下进行创新的能力。

A. The Lean & Risky (1-Tier / 2-Tier) A. 精益与高风险(单层/双层)

SOLO
100: Dev
800: Prod
DEV+QAS
100: Dev
300: Test
PRD
800: Live

The Rationale决策逻辑

  • 1-Tier (Single Instance): Strictly for training rooms or temporary "Sandbox" environments. Not viable for business due to "zero separation of concerns." Development breaks production instantly. 仅用于培训室或临时“沙箱”环境。因“关注点零分离”而在商业上不可行。开发动作瞬间破坏生产环境。
  • 2-Tier (DEV/QAS Combo + PRD): Common in budget-tight SMEs. The Development and QA environments share one OS/DB (e.g., System ID: D01).
    Logic: Save 33% on hardware/licensing.
    Critical Flaw: "The Noisy Neighbor." A heavy query in Testing slows down Developers. OS patching requires downtime for both.
    常见于预算紧张的中小企业。开发和 QA 环境共享一个 OS/DB(例如系统 ID:D01)。
    逻辑:节省 33% 的硬件/许可成本。
    致命缺陷:“嘈杂的邻居”。测试中的重负载查询会拖慢开发人员。操作系统补丁会导致两者同时停机。

B. The Industry Standard (3-Tier) B. 行业标准(三层架构)

DEV
100: Config
200: Code
QAS
Integration
User Test
PRD
Production
Why This Is The Default为何这是默认选项

It physically isolates the three distinct phases of software lifecycle: Creation (DEV), Validation (QAS), and Operation (PRD).
The Gap: It lacks a safe place for "destructive innovation" (Sandbox) and true "volume simulation" (Pre-Prod). Experiments in DEV often leave behind "junk data" that cannot be transported out, permanently polluting the dev environment.
它物理隔离了软件生命周期的三个不同阶段:创造(DEV)、验证(QAS)和运营(PRD)。
缺憾:缺乏进行“破坏性创新”(沙箱)和真实“容量模拟”(预生产)的安全场所。DEV 中的实验经常留下无法传出的“垃圾数据”,永久污染开发环境。

C. The Fortress (5-Tier / N+1) C. 堡垒模式(五层 / N+1)

SBX
Innovation
DEV
Clean Core
QAS
Functional
PRE
Staging
PRD
Live

Strategic Necessity for S/4HANAS/4HANA 的战略必要性

  • Sandbox (SBX): A "Trashable" system. Crucial for trying out new S/4HANA features without cluttering DEV. No transport path exists from SBX to DEV, enforcing discipline. 一个“可丢弃”的系统。对于在不弄乱 DEV 的情况下试用新的 S/4HANA 功能至关重要。SBX 到 DEV 不存在传输路径,强制执行纪律。
  • Pre-Prod (PRE): A hardware mirror of PRD with full data volume.
    Why? In S/4HANA, memory sizing is critical. QAS usually has small data. Only PRE can predict if a report will cause an Out-Of-Memory (OOM) crash in Production. It is also the only place to accurately time the "Downtime" for upgrades.
    具有全量数据的 PRD 硬件镜像。
    原因?在 S/4HANA 中,内存选型至关重要。QAS 通常数据量小。只有 PRE 能预测报表是否会在生产中导致内存溢出 (OOM) 崩溃。它也是唯一能准确计时升级“停机时间”的地方。

Section II: Change Management 第二部分:变更管理

The Anatomy of Change: What are we actually moving? 变更解剖学:我们到底在移动什么?

"Change" in SAP is often misunderstood. Unlike Java/Python apps where change is code, SAP change is bifurcated into two distinct DNA strands: Workbench (Repository) and Customizing (Configuration). SAP 中的“变更”经常被误解。不同于 Java/Python 应用中变更是代码,SAP 变更分叉为两条截然不同的 DNA 链:工作台(资源库)和定制(配置)。

Type Physics of Change Management Scope
Workbench 工作台请求 Cross-Client (MANDT independent). Modifies standard tables (REPOSRC) or DDIC definitions. These are binary/structural changes. 跨客户端(独立于 MANDT)。修改标准表 (REPOSRC) 或 DDIC 定义。这些是二进制/结构性变更。 Global Impact. Changing a report in Client 200 changes it for Client 100/110 on the same server instantly. Requires strict Object Locking (Enqueue) to prevent collisions. 全局影响。在 Client 200 中修改报表会立即改变同一服务器上 Client 100/110 的该报表。需要严格的对象锁定 (Enqueue) 以防止冲突。
Customizing 配置请求 Client-Dependent (MANDT keyed). Modifies business data tables (e.g., T001 Company Codes). This is "Data as Logic". 依赖客户端(以 MANDT 为键)。修改业务数据表(如 T001 公司代码)。这是“数据即逻辑”。 Local Impact. Changing payment terms in Client 200 does NOT affect Client 100. Transporting this essentially generates a "DELETE/INSERT" SQL script for the target DB. 局部影响。在 Client 200 中修改付款条款不会影响 Client 100。传输此请求本质上是为目标数据库生成“DELETE/INSERT” SQL 脚本。
The Cloud Shift: "Clean Core"云端转变:“洁净核心”

In S/4HANA Public Cloud, the "Workbench" concept is deprecated. You cannot modify SAP source code. Change is now managed in two new tiers: 在 S/4HANA 公有云中,“工作台”概念已被弃用。你不能修改 SAP 源代码。变更现在通过两个新层级管理:

  • In-App Extensibility (Key User): Low-code changes (adding fields, UI logic). Managed via "Software Collections" (ATO), not SE09. 低代码变更(添加字段、UI 逻辑)。通过“软件集合”(ATO) 管理,而非 SE09。
  • Side-by-Side (BTP): Custom logic lives on SAP BTP (Java/Node.js). It talks to the core via OData/Events. The core remains untouched ("Clean"), allowing SAP to upgrade the system automatically. 自定义逻辑存在于 SAP BTP(Java/Node.js)上。它通过 OData/Events 与核心对话。核心保持未触动(“洁净”),允许 SAP 自动升级系统。

Section III: Logistics 第三部分:物流机制

Transport Mechanics: Files, Git, and the Cloud 传输机制:文件、Git 与云端

How does code physically move? The technology has evolved from simple file copying to sophisticated Git-based CI/CD pipelines. 代码物理上是如何移动的?技术已从简单的文件复制演变为复杂的基于 Git 的 CI/CD 流水线。

1. The ABAP Era (CTS)

Tools: tp, R3trans, /usr/sap/trans

Philosophy: "Binary Consistency". When you export, R3trans dumps the object from the DB into a binary file (R-file) on the OS. When you import, the EXACT same file is read into the target DB.
Why? It prevents "Environment Drift". Unlike recompiling source code where compiler versions might differ, binary data import guarantees the result is identical to the source.
哲学:“二进制一致性”。导出时,R3trans 将对象从数据库转储到操作系统上的二进制文件(R 文件)。导入时,完全相同的文件被读取到目标数据库。
原因?防止“环境漂移”。与重新编译源代码可能导致编译器版本差异不同,二进制数据导入保证结果与源完全一致。

2. The Hybrid Era (gCTS)

Tools: Git-enabled CTS, GitHub/GitLab

Philosophy: "Distributed Development". ABAP systems are linked to a Git repository. Releasing a transport in SAP triggers a git push of the ABAP code (serialized as text files) to a branch.
Why? It allows ABAP to participate in CI/CD pipelines (Jenkins/Azure DevOps), enabling automated code scanning and branching strategies previously impossible in SE09.
哲学:“分布式开发”。ABAP 系统链接到 Git 仓库。在 SAP 中释放传输会触发 ABAP 代码(序列化为文本文件)的 git push 到分支。
原因?允许 ABAP 参与 CI/CD 流水线(Jenkins/Azure DevOps),实现以前在 SE09 中不可能的自动化代码扫描和分支策略。

3. The Cloud Era (cTMS)

Tools: SAP Cloud Transport Management Service (BTP)

Philosophy: "Orchestration". In a hybrid world (S/4HANA + BTP Apps + API Management), files don't work. cTMS is a cloud service that acts as a logical traffic controller.
Mechanism: It receives artifacts (MTARs, node.js archives) from a CI/CD pipeline and "deploys" them to target BTP subaccounts. It is the spiritual successor to STMS, but for the cloud.
哲学:“编排”。在混合世界(S/4HANA + BTP 应用 + API 管理)中,文件行不通。cTMS 是一个充当逻辑交通指挥官的云服务。
机制:它从 CI/CD 流水线接收工件(MTARs, node.js 归档),并将它们“部署”到目标 BTP 子账户。它是 STMS 的精神继承者,但专为云而生。

GBI · Explore
Global Business InsightHome / 中文首页AI与数字化All reports / SearchAI驱动的智慧能源企业转型蓝图 (基于SAP S/4HANA)石油领域人工智能应用全景交互式报告

Archived report. Check the original dates, sources and forecast assumptions before using figures.

Editorial standardsPrivacy & advertisingReport a correction