---
# API: Service Contract - Notification
# File: CO_CRMS4_SC_NOTIFY_OUT.md
# Version: 1.1.0
# Status: ACTIVE
# Protocol: SOAP (Outbound)
# Source URL: https://api.sap.com/api/CO_CRMS4_SC_NOTIFY_OUT/overview
# Generated: 2026-07-23 14:17:02
---

# Service Contract - Notification / 服务合同 - 通知处理 API

> **API 版本:** 1.1.0 | **状态:** ACTIVE | **协议:** SOAP  
> **技术名称:** `CO_CRMS4_SC_NOTIFY_OUT`  
> **WSDL 绑定:** `/sap/bc/srt/wsdl/flv_10002A111AD1/bndr_url/sap/bc/srt/rfc/sap/co_crms4_sc_notify_out/100/co_crms4_sc_notify_out/binding`  
> **SAP 通信场景:** `SAP_COM_0110`

## 概述 / Overview

该 SOAP 出站服务用于将服务合同通知从 SAP S/4HANA 发送到外部系统。支持合同创建、变更、取消等事件的通知处理。

This SOAP outbound service sends service contract notifications from SAP S/4HANA to external systems. It supports notification handling for contract creation, change, and cancellation events.

**API 业务加速器中心:** [https://api.sap.com/api/CO_CRMS4_SC_NOTIFY_OUT/overview](https://api.sap.com/api/CO_CRMS4_SC_NOTIFY_OUT/overview)

---

## 消息结构 / Message Structure

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `ServiceContractNotificationRequest` | Service Contract Notification Request | 服务合同通知请求 |
| 2 | `ServiceContractNotificationResponse` | Service Contract Notification Response | 服务合同通知响应 |

---

## 1. 请求结构: ServiceContractNotificationRequest / 服务合同通知请求

**命名空间:** `urn:sap-com:document:sap:soap:functions:mc-style`

| # | 字段名称 | 类型 | 描述 (EN) | 描述 (CN) | 必填 |
|---|----------|------|-----------|-----------|------|
| 1 | `ContractID` | CHAR(10) | Service Contract ID | 服务合同编号 | 是 |
| 2 | `NotificationType` | CHAR(1) | Notification Type (C-create/U-change/D-cancel) | 通知类型 (C-创建/U-变更/D-取消) | 是 |
| 3 | `ContractType` | CHAR(3) | Contract Type | 合同类型 | 是 |
| 4 | `Description` | CHAR(40) | Description | 描述 | 否 |
| 5 | `ValidityStartDate` | DATE | Validity Start Date | 有效期开始日期 | 是 |
| 6 | `ValidityEndDate` | DATE | Validity End Date | 有效期结束日期 | 是 |
| 7 | `CustomerID` | CHAR(10) | Customer ID | 客户编号 | 是 |
| 8 | `SalesOrganisation` | CHAR(4) | Sales Organisation | 销售组织 | 是 |
| 9 | `DistributionChannel` | CHAR(2) | Distribution Channel | 分销渠道 | 是 |
| 10 | `Division` | CHAR(2) | Division | 产品组 | 是 |
| 11 | `ServiceTeam` | CHAR(20) | Service Team | 服务团队 | 否 |
| 12 | `Priority` | CHAR(1) | Priority | 优先级 | 否 |
| 13 | `Status` | CHAR(2) | Status | 状态 | 否 |
| 14 | `ChangedByUser` | CHAR(12) | Changed By | 修改者 | 否 |
| 15 | `ChangedAt` | DATETIME | Changed At | 修改时间 | 否 |

---

## 2. 响应结构: ServiceContractNotificationResponse / 服务合同通知响应

**命名空间:** `urn:sap-com:document:sap:soap:functions:mc-style`

| # | 字段名称 | 类型 | 描述 (EN) | 描述 (CN) | 必填 |
|---|----------|------|-----------|-----------|------|
| 1 | `ContractID` | CHAR(10) | Service Contract ID | 服务合同编号 | 是 |
| 2 | `Status` | CHAR(1) | Status (S-success/E-error) | 状态 (S-成功/E-错误) | 是 |
| 3 | `Message` | CHAR(200) | Message | 消息 | 否 |

---

## SOAP XML 示例 / SOAP XML Example

### 请求 / Request

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
  <soap:Header/>
  <soap:Body>
    <urn:ServiceContractNotificationRequest>
      <ContractID>SC-100001</ContractID>
      <NotificationType>C</NotificationType>
      <ContractType>ZSV</ContractType>
      <Description>Annual Maintenance Contract</Description>
      <ValidityStartDate>2026-01-01</ValidityStartDate>
      <ValidityEndDate>2026-12-31</ValidityEndDate>
      <CustomerID>CU-10001</CustomerID>
      <SalesOrganisation>1000</SalesOrganisation>
      <DistributionChannel>10</DistributionChannel>
      <Division>00</Division>
      <ServiceTeam>TEAM-A</ServiceTeam>
      <Priority>1</Priority>
      <Status>AC</Status>
      <ChangedByUser>API_USER</ChangedByUser>
      <ChangedAt>2026-07-23T14:00:00</ChangedAt>
    </urn:ServiceContractNotificationRequest>
  </soap:Body>
</soap:Envelope>
```

### 响应 / Response

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
  <soap:Header/>
  <soap:Body>
    <urn:ServiceContractNotificationResponse>
      <ContractID>SC-100001</ContractID>
      <Status>S</Status>
      <Message>Notification processed successfully</Message>
    </urn:ServiceContractNotificationResponse>
  </soap:Body>
</soap:Envelope>
```

---

## 变更记录 / Change Log

| 版本 | 日期 | 描述 |
|------|------|------|
| 1.1.0 | 2026-07-23 | 初始版本 / Initial version |