C_ServiceDocumentPartner
Service Doc. Partners at Header Level
C_ServiceDocumentPartner is a Consumption CDS View that provides data about "Service Doc. Partners at Header Level" in SAP S/4HANA. It reads from 1 data source (I_CustMgmtPartner) and exposes 13 fields with key fields CustMgmtObjectType, CustMgmtDocument, CustMgmtDocumentItem, CustMgmtPartnerFunction, CustMgmtPartner.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustMgmtPartner | ServiceDocumentPartner | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSRVCDOCPARTNERH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Service Doc. Partners at Header Level | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustMgmtObjectType | CustMgmtObjectType | ||
| KEY | CustMgmtDocument | CustMgmtDocument | ||
| KEY | CustMgmtDocumentItem | CustMgmtDocumentItem | ||
| KEY | CustMgmtPartnerFunction | CustMgmtPartnerFunction | ||
| KEY | CustMgmtPartner | CustMgmtPartner | ||
| KEY | CustMgmtPartnerNumberType | CustMgmtPartnerNumberType | ||
| CustMgmtPartFunctionCategory | CustMgmtPartFunctionCategory | |||
| CustMgmtBusinessPartner | CustMgmtBusinessPartner | Business Partner | ||
| BusinessPartnerName | _BusinessPartner | BusinessPartnerName | ||
| PartnerFunctionName | _PartnerFunction | PartnerFunctionName | Partner Function | |
| _CustMgmtObjectType | _CustMgmtObjectType | |||
| _BusinessPartner | _BusinessPartner | |||
| CustMgmtPartnerIsMainPartner | CustMgmtPartnerIsMainPartner | Main Partner |
@AbapCatalog.sqlViewName: 'CSRVCDOCPARTNERH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@EndUserText.label: 'Service Doc. Partners at Header Level'
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #CONSUMPTION
}
@ObjectModel: {
//representativeKey: 'ServiceDocument',
usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XL
}
}
define view C_ServiceDocumentPartner
as select from I_CustMgmtPartner as ServiceDocumentPartner
{
@UI.hidden: true
key CustMgmtObjectType,
@UI.hidden: true
key CustMgmtDocument,
@UI.hidden: true
key CustMgmtDocumentItem,
@UI.hidden: true
key CustMgmtPartnerFunction,
@UI.hidden: true
key CustMgmtPartner,
@UI.hidden: true
key CustMgmtPartnerNumberType,
@UI.hidden: true
CustMgmtPartFunctionCategory,
@UI.textArrangement: #TEXT_FIRST
@ObjectModel.text.element: ['BusinessPartnerName']
@UI.lineItem.position:20
@EndUserText.label: 'Business Partner'
@EndUserText.quickInfo: 'Business Partner'
CustMgmtBusinessPartner,
@UI.hidden: true
_BusinessPartner.BusinessPartnerName,
@UI.lineItem.position:10
@EndUserText.label: 'Partner Function'
@EndUserText.quickInfo: 'Partner Function'
_PartnerFunction.PartnerFunctionName,
// Association
_CustMgmtObjectType,
// _PartnerFunction,
_BusinessPartner,
@EndUserText.label: 'Main Partner'
@UI.lineItem.position:30
//@UI.hidden: true
CustMgmtPartnerIsMainPartner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_CUSTMGMTPARTNER",
"I_CUSTMGMTPARTNERFUNCTEXT"
],
"ASSOCIATED":
[
"I_BUSINESSOBJTYPE",
"I_BUSINESSPARTNER"
],
"BASE":
[
"I_CUSTMGMTPARTNER"
],
"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