?---
# API: Real Estate Contract (A2X)
# File: API_RECONTRACT_0001.md
# Version: 1.2.1
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/API_RECONTRACT_0001/overview
# Generated: 2026-07-23 14:17:02
---

# Real Estate Contract (A2X) / 房地产合?API

> **API 版本:** 1.2.1 | **状** ACTIVE | **协议:** OData V4  
> **技术名** `API_RECONTRACT_0001`  
> **服务根路** `/sap/opu/odata4/sap/api_recontract/srvd_a2x/sap/recontract/0001/`

## 概述 / Overview

该服务支持对房地产合同主数据进行创建、读取、更新和删除（CRUD）操作，包括合同抬头、合同项目和合同伙伴数据?
This synchronous inbound OData V4 service enables CRUD operations on Real Estate Contract master data, including contract header, contract item, and contract partner data.

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_REContract` | Real Estate Contract Header | 房地产合同抬?| `ContractID` |
| 2 | `A_REContractItem` | Real Estate Contract Item | 房地产合同项?| `ContractID`, `ContractItem` |
| 3 | `A_REContractPartner` | Real Estate Contract Partner | 房地产合同伙?| `ContractID`, `PartnerID` |

---

## 1. A_REContract ?房地产合同抬?
**实体集合路径:** `A_REContract`  
**主键 (Key):** `ContractID` (CHAR 20)  
**ETag:** 支持

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ContractID` | CHAR | 20 | Contract ID | 合同编号 |
| `CompanyCode` | CHAR | 4 | Company Code | 公司代码 |
| `ContractType` | CHAR | 4 | Contract Type | 合同类型 |
| `BusinessPartner` | CHAR | 10 | Business Partner | 业务伙伴 |
| `Property` | CHAR | 20 | Property | 房产编号 |
| `Building` | CHAR | 20 | Building | 建筑物编?|
| `Unit` | CHAR | 20 | Rental Unit | 租赁单元编号 |
| `StartDate` | DATS | 8 | Contract Start Date | 合同开始日?|
| `EndDate` | DATS | 8 | Contract End Date | 合同结束日期 |
| `NoticeDate` | DATS | 8 | Notice Date | 通知日期 |
| `ContractStatus` | CHAR | 2 | Contract Status | 合同状?|
| `TotalNetAmount` | DEC | 23 | Total Net Amount | 总净?|
| `Currency` | CUKY | 5 | Currency | 货币 |
| `PaymentTerms` | CHAR | 4 | Payment Terms | 付款条件 |
| `CashDiscount` | DEC | 5 | Cash Discount Percentage | 现金折扣百分?|
| `CreatedByUser` | CHAR | 12 | Created By User | 创建用户 |
| `CreationDate` | DATS | 8 | Creation Date | 创建日期 |
| `LastChangedByUser` | CHAR | 12 | Last Changed By User | 最后更改用?|
| `LastChangeDate` | DATS | 8 | Last Change Date | 最后更改日?|

---

## 2. A_REContractItem ?房地产合同项?
**实体集合路径:** `A_REContractItem`  
**主键 (Key):** `ContractID`, `ContractItem`

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ContractID` | CHAR | 20 | Contract ID | 合同编号 |
| `ContractItem` | CHAR | 4 | Contract Item Number | 合同项目编号 |
| `ConditionType` | CHAR | 4 | Condition Type | 条件类型 |
| `Amount` | DEC | 23 | Amount | 金额 |
| `Currency` | CUKY | 5 | Currency | 货币 |
| `StartDate` | DATS | 8 | Item Start Date | 项目开始日?|
| `EndDate` | DATS | 8 | Item End Date | 项目结束日期 |
| `Frequency` | CHAR | 3 | Posting Frequency | 过账频率 |
| `PaymentTerms` | CHAR | 4 | Payment Terms | 付款条件 |

---

## 3. A_REContractPartner ?房地产合同伙?
**实体集合路径:** `A_REContractPartner`  
**主键 (Key):** `ContractID`, `PartnerID`

### 字段列表 / Field List

| 字段?| 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `ContractID` | CHAR | 20 | Contract ID | 合同编号 |
| `PartnerID` | CHAR | 10 | Partner Business Partner | 伙伴业务伙伴编号 |
| `PartnerFunction` | CHAR | 6 | Partner Function | 伙伴功能 |
| `BusinessPartner` | CHAR | 10 | Business Partner | 业务伙伴 |
| `ValidityStartDate` | DATS | 8 | Validity Start Date | 有效期开始日?|
| `ValidityEndDate` | DATS | 8 | Validity End Date | 有效期结束日?|