C_CUSTOMERPROJECTBILLING

CDS View

Customer Project Billing Document

C_CUSTOMERPROJECTBILLING is a CDS View in S/4HANA. Customer Project Billing Document. It contains 3 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_CustomerProjectInvoices view from CONSUMPTION Customer Project Invoices

Fields (3)

KeyField CDS FieldsUsed in Views
KEY BillingDocument BillingDocument 1
KEY CustomerProject CustomerProject 1
KEY CustomerProjectItem CustomerProjectItem 1
@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
}