I_ProjectBillingRequest

DDL: I_PROJECTBILLINGREQUEST Type: view_entity BASIC Package: VDM_PROJECTBILLINGREQUEST

Project Billing Request

I_ProjectBillingRequest is a Basic CDS View that provides data about "Project Billing Request" in SAP S/4HANA. It reads from 1 data source (projbillgreq) and exposes 23 fields with key field ProjectBillingRequestUUID. It has 11 associations to related views. Part of development package VDM_PROJECTBILLINGREQUEST.

Data Sources (1)

SourceAliasJoin Type
projbillgreq projbillgreq from

Associations (11)

CardinalityTargetAliasCondition
[0..*] I_ProjectBillingRequestItem _ProjectBillingRequestItem $projection.ProjectBillingRequestUUID = _ProjectBillingRequestItem.ProjectBillingRequestUUID
[0..1] I_ProjectBillingRequestStatus _ProjectBillingRequestStatus $projection.ProjectBillingRequestStatus = _ProjectBillingRequestStatus.ProjectBillingRequestStatus
[1..*] I_ProjectBillingReqStatusText _ProjectBillingReqStatusText $projection.ProjectBillingRequestStatus = _ProjectBillingReqStatusText.ProjectBillingRequestStatus
[0..1] I_ProjBillgReqApprovalStatus _ProjBillgReqApprovalStatus $projection.ProjBillgReqApprovalStatus = _ProjBillgReqApprovalStatus.ProjBillgReqApprovalStatus
[1..*] I_ProjBillgReqApprvlStatusText _ProjBillgReqApprvlStatusText $projection.ProjBillgReqApprovalStatus = _ProjBillgReqApprvlStatusText.ProjBillgReqApprovalStatus
[0..1] I_ProjectBillingCategory _ProjectBillingCategory $projection.ProjectBillingCategory = _ProjectBillingCategory.ProjectBillingCategory
[1..*] I_ProjectBillingCategoryText _ProjectBillingCategoryText $projection.ProjectBillingCategory = _ProjectBillingCategoryText.ProjectBillingCategory
[0..1] I_ProjectBillingRequestType _ProjectBillingRequestType $projection.ProjectBillingRequestType = _ProjectBillingRequestType.ProjectBillingRequestType
[1..*] I_ProjectBillingRequestTypeTxt _ProjectBillingRequestTypeTxt $projection.ProjectBillingRequestType = _ProjectBillingRequestTypeTxt.ProjectBillingRequestType
[0..1] I_SalesDocument _SalesDocument $projection.SalesDocument = _SalesDocument.SalesDocument
[1..1] I_EnterpriseProject _EnterpriseProject $projection.ProjectInternalID = _EnterpriseProject.ProjectInternalID

Annotations (13)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Project Billing Request view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey ProjectBillingRequestUUID view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name ProjectBillingRequest view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ProjectBillingRequestUUID projectbillingrequestuuid
ProjectBillingRequest projectbillingrequest
ProjectBillingRequestStatus projectbillingrequeststatus
ProjBillgReqApprovalStatus projbillgreqapprovalstatus
ProjectBillingRequestType projectbillingrequesttype
SalesDocument salesdocument
ProjectBillingCategory projectbillingcategory
ProjBillgReqLastChgdBy projbillgreqlastchgdby
ProjBillgReqLastChgdAtDteTme projbillgreqlastchgdatdtetme
ProjBillgReqCreatedBy projbillgreqcreatedby
ProjBillgReqCreatedAtDteTme projbillgreqcreatedatdtetme
ProjectInternalID projectinternalid
_EnterpriseProject _EnterpriseProject
_ProjectBillingRequestItem _ProjectBillingRequestItem
_ProjectBillingRequestType _ProjectBillingRequestType
_ProjectBillingRequestStatus _ProjectBillingRequestStatus
_ProjBillgReqApprovalStatus _ProjBillgReqApprovalStatus
_SalesDocument _SalesDocument
_ProjectBillingCategory _ProjectBillingCategory
_ProjectBillingReqStatusText _ProjectBillingReqStatusText
_ProjBillgReqApprvlStatusText _ProjBillgReqApprvlStatusText
_ProjectBillingCategoryText _ProjectBillingCategoryText
_ProjectBillingRequestTypeTxt _ProjectBillingRequestTypeTxt
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'Project Billing Request'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #MANDATORY
@Analytics.dataExtraction.enabled: true
@Analytics.dataExtraction.delta.changeDataCapture.automatic: true
@ObjectModel: {
    modelingPattern: #ANALYTICAL_DIMENSION,
    supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION, #EXTRACTION_DATA_SOURCE, #UI_PROVIDER_PROJECTION_SOURCE ],
    usageType: {
        sizeCategory: #L,
        dataClass:  #TRANSACTIONAL,
        serviceQuality: #A
    },
    representativeKey: 'ProjectBillingRequestUUID'
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.sapObjectNodeType.name: 'ProjectBillingRequest'

define view entity I_ProjectBillingRequest
  as select from projbillgreq
  association [0..*] to I_ProjectBillingRequestItem    as _ProjectBillingRequestItem    on $projection.ProjectBillingRequestUUID = _ProjectBillingRequestItem.ProjectBillingRequestUUID
  association [0..1] to I_ProjectBillingRequestStatus  as _ProjectBillingRequestStatus  on $projection.ProjectBillingRequestStatus = _ProjectBillingRequestStatus.ProjectBillingRequestStatus
  association [1..*] to I_ProjectBillingReqStatusText  as _ProjectBillingReqStatusText  on $projection.ProjectBillingRequestStatus = _ProjectBillingReqStatusText.ProjectBillingRequestStatus
  association [0..1] to I_ProjBillgReqApprovalStatus   as _ProjBillgReqApprovalStatus   on $projection.ProjBillgReqApprovalStatus = _ProjBillgReqApprovalStatus.ProjBillgReqApprovalStatus
  association [1..*] to I_ProjBillgReqApprvlStatusText as _ProjBillgReqApprvlStatusText on $projection.ProjBillgReqApprovalStatus = _ProjBillgReqApprvlStatusText.ProjBillgReqApprovalStatus
  association [0..1] to I_ProjectBillingCategory       as _ProjectBillingCategory       on $projection.ProjectBillingCategory = _ProjectBillingCategory.ProjectBillingCategory
  association [1..*] to I_ProjectBillingCategoryText   as _ProjectBillingCategoryText   on $projection.ProjectBillingCategory = _ProjectBillingCategoryText.ProjectBillingCategory
  association [0..1] to I_ProjectBillingRequestType    as _ProjectBillingRequestType    on $projection.ProjectBillingRequestType = _ProjectBillingRequestType.ProjectBillingRequestType
  association [1..*] to I_ProjectBillingRequestTypeTxt as _ProjectBillingRequestTypeTxt on $projection.ProjectBillingRequestType = _ProjectBillingRequestTypeTxt.ProjectBillingRequestType
  association [0..1] to I_SalesDocument                as _SalesDocument                on $projection.SalesDocument = _SalesDocument.SalesDocument
  association [1..1] to I_EnterpriseProject            as _EnterpriseProject            on $projection.ProjectInternalID = _EnterpriseProject.ProjectInternalID
//association [1..1] to I_ProjectBasicData             as _ProjectBasicData             on $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID

{ 
  key projectbillingrequestuuid                                   as ProjectBillingRequestUUID,
      projectbillingrequest                                       as ProjectBillingRequest,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_ProjectBillingRequestStatus',
             element: 'ProjectBillingRequestStatus' }
      }]
      @ObjectModel.foreignKey.association: '_ProjectBillingRequestStatus'
      projectbillingrequeststatus                                 as ProjectBillingRequestStatus,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_ProjBillgReqApprovalStatus',
             element: 'ProjBillgReqApprovalStatus' }
      }]
      @ObjectModel.foreignKey.association: '_ProjBillgReqApprovalStatus'
      projbillgreqapprovalstatus                                  as ProjBillgReqApprovalStatus,
      @Consumption.valueHelpDefinition: [
       { entity:  { name:    'I_ProjectBillingRequestType',
                   element: 'ProjectBillingRequestType' }
      }]
      @ObjectModel.foreignKey.association: '_ProjectBillingRequestType'
      projectbillingrequesttype                                   as ProjectBillingRequestType,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_SalesDocumentStdVH',
                     element: 'SalesDocument' }
        }]
      @ObjectModel.foreignKey.association: '_SalesDocument'
      salesdocument                                               as SalesDocument,
      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_ProjectBillingCategory',
                   element: 'ProjectBillingCategory' }
      }]
      @ObjectModel.foreignKey.association: '_ProjectBillingCategory'
      projectbillingcategory                                      as ProjectBillingCategory,
      @Semantics.user.lastChangedBy: true
      projbillgreqlastchgdby                                      as ProjBillgReqLastChgdBy,
      @Semantics.systemDateTime.lastChangedAt: true
      projbillgreqlastchgdatdtetme                                as ProjBillgReqLastChgdAtDteTme,
      @Semantics.user.createdBy: true
      projbillgreqcreatedby                                       as ProjBillgReqCreatedBy,
      @Semantics.systemDateTime.createdAt: true
      projbillgreqcreatedatdtetme                                 as ProjBillgReqCreatedAtDteTme,
      projectinternalid                                           as ProjectInternalID,
//    projectbasicdata                                            as ProjectBasicData,

      _EnterpriseProject,
      
      _ProjectBillingRequestItem,
      _ProjectBillingRequestType,
      _ProjectBillingRequestStatus,
      _ProjBillgReqApprovalStatus,
      _SalesDocument,
      _ProjectBillingCategory,
      @Consumption.hidden: true
      _ProjectBillingReqStatusText,
      @Consumption.hidden: true
      _ProjBillgReqApprvlStatusText,
      @Consumption.hidden: true
      _ProjectBillingCategoryText,
      @Consumption.hidden: true
      _ProjectBillingRequestTypeTxt
//      _ProjectInternalID,

//     @Consumption.hidden: true

//      _ProjectInternalID._ProjectShortText.LanguageBasedShortText as ProjectInternalIDText,

//      _ProjectBasicData

      
}