P_ACCTSERVDOCPROFCENTER
P_ACCTSERVDOCPROFCENTER is a Transactional CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 11 fields. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | I_GLAccountLineItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_Product | _Product | $projection.Product = _Product.Product |
| [1] | I_ProductPlant | _ProductPlant | $projection.Product = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [1] | I_ServiceDocItemCategory | _ServiceDocItemCategory | $projection.servicedocitemcategory = _ServiceDocItemCategory.ServiceDocItemCategory |
| [1] | I_ServiceDocumentType | _ServiceDocumentType | $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PACCSERVDOCPC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ServiceDocument | ServiceDocument | |||
| ServiceDocItemCategory | _ServiceDocumentItem | ServiceDocItemCategory | ||
| ServiceDocumentType | ServiceDocumentType | |||
| DistributionChannel | DistributionChannel | |||
| OrganizationDivision | OrganizationDivision | |||
| Product | Product | |||
| ProfitCenter | ProfitCenter | |||
| Plant | Plant | |||
| SalesOrganization | SalesOrganization | |||
| _Product | _Product | |||
| _ProductPlant | _ProductPlant |
@AbapCatalog.sqlViewName: 'PACCSERVDOCPC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.private:true
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@VDM.viewType: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_ACCTSERVDOCPROFCENTER
as select from I_GLAccountLineItem
association [1] to I_Product as _Product on $projection.Product = _Product.Product
association [1] to I_ProductPlant as _ProductPlant on $projection.Product = _ProductPlant.Product
and $projection.Plant = _ProductPlant.Plant
association [1] to I_ServiceDocItemCategory as _ServiceDocItemCategory on $projection.servicedocitemcategory = _ServiceDocItemCategory.ServiceDocItemCategory
association [1] to I_ServiceDocumentType as _ServiceDocumentType on $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType
{
ServiceDocument,
_ServiceDocumentItem.ServiceDocItemCategory,
ServiceDocumentType,
DistributionChannel,
OrganizationDivision,
Product,
ProfitCenter,
Plant,
SalesOrganization,
_Product,
_ProductPlant
// _ServiceDocItemCategory,
// _ServiceDocumentType Make association public
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_GLACCOUNTLINEITEM",
"I_SRVCDOCITEMBYDOCUMENTTYPE"
],
"ASSOCIATED":
[
"I_PRODUCT",
"I_PRODUCTPLANT",
"I_SERVICEDOCITEMCATEGORY",
"I_SERVICEDOCUMENTTYPE"
],
"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