---
# API: PRA Contract Marketing Cost
# File: CE_PRACONTRACTMARKETING_0001.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/CE_PRACONTRACTMARKETING_0001/overview
# Generated: 2026-07-23 14:17:02
---

# PRA Contract Marketing Cost / PRA 合同营销成本 API

> **API 版本:** 1.0.0 | **状态:** ACTIVE | **协议:** OData V4
> **技术名称:** `CE_PRACONTRACTMARKETING_0001`
> **服务根路径:** `/sap/opu/odata4/sap/CE_PRACONTRACTMARKETING_0001/srvd_a2x/sap/pra_contractmarketingcost/0001`
> **SAP 通信场景:** `SAP_COM_0185`

## 概述 / Overview

该 OData V4 服务提供对 PRA（石油权益分配）合同营销成本主数据的读取访问。支持按合同和合资企业维度查询营销成本金额，用于上游油气收入分配计算。

This OData V4 service provides read access to PRA (Production Revenue Accounting) contract marketing cost master data. It supports querying marketing cost amounts by contract and joint venture dimensions for upstream oil and gas revenue distribution calculations.

**API 业务加速器中心:** https://api.sap.com/api/CE_PRACONTRACTMARKETING_0001/overview

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_PRAContractMarketingCost` | PRA Contract Marketing Cost | PRA 合同营销成本 | `PRAContractMarketingCost` |

---

## 1. A_PRAContractMarketingCost — PRA 合同营销成本

**实体集合路径:** `A_PRAContractMarketingCost`
**主键 (Key):** `PRAContractMarketingCost` (RAW 16)
**ETag:** 不支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PRAContractMarketingCost` | RAW | 16 | Key: PRA Contract Marketing Cost UUID | 键：PRA 合同营销成本 UUID |
| `JointVenture` | CHAR | 10 | Joint Venture Code | 合资企业代码 |
| `JointVentureName` | CHAR | 40 | Joint Venture Description | 合资企业描述 |
| `Contract` | CHAR | 20 | Contract Number | 合同编号 |
| `ContractName` | CHAR | 40 | Contract Description | 合同描述 |
| `MarketingCostAmount` | DEC | 23(2) | Marketing Cost Amount | 营销成本金额 |
| `Currency` | CUKY | 5 | Currency Code | 货币代码 |
| `CostPeriodStart` | DATS | 8 | Cost Period Start Date | 成本期间开始日期 |
| `CostPeriodEnd` | DATS | 8 | Cost Period End Date | 成本期间结束日期 |
| `FiscalYear` | NUMC | 4 | Fiscal Year | 会计年度 |
| `AccountingPeriod` | NUMC | 3 | Accounting Period | 会计期间 |
| `LastModifiedDateTime` | EDTM | - | Last Modified Date/Time | 最后修改日期/时间 |
| `CostType` | CHAR | 4 | Cost Category | 成本类别 |
| `CostCategoryText` | CHAR | 60 | Cost Category Description | 成本类别描述 |
| `CreationDate` | DATS | 8 | Record Creation Date | 记录创建日期 |
| `CreatedByUser` | CHAR | 12 | Created By User | 创建用户 |

### 示例请求 / Sample Request

```
GET /sap/opu/odata4/sap/CE_PRACONTRACTMARKETING_0001/srvd_a2x/sap/pra_contractmarketingcost/0001/A_PRAContractMarketingCost?$top=10
Accept: application/json
```

### 示例响应 / Sample Response

```json
{
  "d": {
    "results": [
      {
        "PRAContractMarketingCost": "3f8a9b2c-1d4e-5f6a-7b8c-9d0e1f2a3b4c",
        "JointVenture": "JV001",
        "Contract": "CTR00001234",
        "MarketingCostAmount": "150000.00",
        "Currency": "USD"
      }
    ]
  }
}
```