R_SrvcContrPartnerTP
Service Contract Partner - TP
R_SrvcContrPartnerTP is a Transactional CDS View that provides data about "Service Contract Partner - TP" in SAP S/4HANA. It reads from 1 data source (I_CustMgmtPartner) and exposes 8 fields with key fields ServiceContract, CustMgmtPartnerFunction, CustMgmtBusinessPartner. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustMgmtPartner | I_CustMgmtPartner | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CustMgmtPartnerFuncText | _PartnerFunction | $projection.CustMgmtPartnerFunction = _PartnerFunction.PartnerFunction and _PartnerFunction.Language = $session.system_language |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.CustMgmtBusinessPartner = _BusinessPartner.BusinessPartner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Service Contract Partner - TP | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceContract | CustMgmtDocument | ||
| KEY | CustMgmtPartnerFunction | CustMgmtPartnerFunction | ||
| KEY | CustMgmtBusinessPartner | CustMgmtBusinessPartner | ||
| CustMgmtPartFunctionCategory | CustMgmtPartFunctionCategory | |||
| CustMgmtPartnerIsMainPartner | CustMgmtPartnerIsMainPartner | |||
| _PartnerFunction | _PartnerFunction | |||
| _BusinessPartner | _BusinessPartner | |||
| _ServiceContractTP | _ServiceContractTP |
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Service Contract Partner - TP'
@ObjectModel: {
usageType: {dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L}
}
define view entity R_SrvcContrPartnerTP
as select from I_CustMgmtPartner
association to parent R_ServiceContractTP as _ServiceContractTP on $projection.ServiceContract = _ServiceContractTP.ServiceContract
association [0..1] to I_CustMgmtPartnerFuncText as _PartnerFunction on $projection.CustMgmtPartnerFunction = _PartnerFunction.PartnerFunction
and _PartnerFunction.Language = $session.system_language
association [0..1] to I_BusinessPartner as _BusinessPartner on $projection.CustMgmtBusinessPartner = _BusinessPartner.BusinessPartner
{
@ObjectModel.foreignKey.association: '_ServiceContractTP'
key CustMgmtDocument as ServiceContract,
key CustMgmtPartnerFunction,
key CustMgmtBusinessPartner,
CustMgmtPartFunctionCategory,
CustMgmtPartnerIsMainPartner,
//Association
_PartnerFunction,
_BusinessPartner,
_ServiceContractTP
}
where
CustMgmtObjectType = 'BUS2000112' // Service Process
and CustMgmtDocumentItem is initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTMGMTPARTNER"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_CUSTMGMTPARTNERFUNCTEXT",
"R_SERVICECONTRACTTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA