C_CustomerProjectBilling
Customer Project Billing Document
C_CustomerProjectBilling is a Consumption CDS View that provides data about "Customer Project Billing Document" in SAP S/4HANA. It reads from 1 data source (I_CustomerProject) and exposes 8 fields with key fields CustomerProject, CustomerProjectItem. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerProject | CustomerProject | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillingDocumentItem | _BillingDocumentItem | CustomerProjectItem.CustomerProjectItem = _BillingDocumentItem.SalesDocument |
| [1..1] | I_BillingDocument | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CCUSTPROJBIL | view | |
| EndUserText.label | Customer Project Billing Document | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerProject | I_CustomerProject | CustomerProject | |
| KEY | CustomerProjectItem | CustomerProjectItem | CustomerProjectItem | |
| BillingDocument | BillingDocumentItem | BillingDocument | ||
| CustomerProjectType | I_CustomerProject | CustomerProjectType | ||
| CustomerProjectServiceOrg | I_CustomerProject | CustomerProjectServiceOrg | ||
| EngagementProjectCategory | I_CustomerProject | ProjectType | ||
| _BillingDocumentItem | _BillingDocumentItem | |||
| _BillingDocument | _BillingDocument |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'CCUSTPROJBIL'
@EndUserText.label: 'Customer Project Billing Document'
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.authorizationCheck: #CHECK
define view C_CustomerProjectBilling
as select distinct from I_CustomerProjectItem as CustomerProjectItem
inner join I_CustomerProject as CustomerProject on CustomerProject.CustomerProjectUUID = CustomerProjectItem.CustomerProjectUUID
and CustomerProjectItem.CustomerProjectItemType = '0SOH'
left outer to one join I_BillingDocumentItem as BillingDocumentItem on CustomerProjectItem.CustomerProjectItem = BillingDocumentItem.SalesDocument
association [1..1] to I_BillingDocumentItem as _BillingDocumentItem on CustomerProjectItem.CustomerProjectItem = _BillingDocumentItem.SalesDocument
association [1..1] to I_BillingDocument as _BillingDocument on $projection.BillingDocument = _BillingDocument.BillingDocument
{
key CustomerProject.CustomerProject,
key CustomerProjectItem.CustomerProjectItem as CustomerProjectItem,
BillingDocumentItem.BillingDocument as BillingDocument,
CustomerProject.CustomerProjectType,
CustomerProject.CustomerProjectServiceOrg,
CustomerProject.ProjectType as EngagementProjectCategory,
_BillingDocumentItem,
_BillingDocument
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENTITEM",
"I_CUSTOMERPROJECT",
"I_CUSTOMERPROJECTITEM"
],
"ASSOCIATED":
[
"I_BILLINGDOCUMENT",
"I_BILLINGDOCUMENTITEM"
],
"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