I_ProjectBillingElementEntrFlw

DDL: I_PROJECTBILLINGELEMENTENTRFLW Type: view_entity BASIC Package: VDM_PROJBILLINGELEMENTENTRY

Entry Flow for Project Billing Element

I_ProjectBillingElementEntrFlw is a Basic CDS View that provides data about "Entry Flow for Project Billing Element" in SAP S/4HANA. It reads from 1 data source (prjblgemtentrflw) and exposes 56 fields with key field ProjBillgElmntEntrItmFlowUUID. It has 16 associations to related views. Part of development package VDM_PROJBILLINGELEMENTENTRY.

Data Sources (1)

SourceAliasJoin Type
prjblgemtentrflw ProjectBillingElementEntryFlow from

Associations (16)

CardinalityTargetAliasCondition
[1..1] I_ProjectBillingElementEntry _ProjectBillingElementEntry $projection.ProjBillgElmntEntrItmUUID = _ProjectBillingElementEntry.ProjBillgElmntEntrItmUUID
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[1..*] I_CurrencyText _TransactionCurrencyText $projection.TransactionCurrency = _TransactionCurrencyText.Currency
[1..1] I_Currency _ProjectCurrency $projection.ProjectCurrency = _ProjectCurrency.Currency
[1..*] I_CurrencyText _ProjectCurrencyText $projection.ProjectCurrency = _ProjectCurrencyText.Currency
[1..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[1..*] I_CurrencyText _GlobalCurrencyText $projection.GlobalCurrency = _GlobalCurrencyText.Currency
[1..1] I_Currency _DocumentCurrency $projection.DocumentCurrency = _DocumentCurrency.Currency
[1..*] I_CurrencyText _DocumentCurrencyText $projection.DocumentCurrency = _DocumentCurrencyText.Currency
[0..1] I_UnitOfMeasure _QuantityUnit $projection.QuantityUnit = _QuantityUnit.UnitOfMeasure
[1..1] I_SDDocumentCategory _SDDocumentCategory $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory
[1..*] I_SDDocumentCategoryText _SDDocumentCategoryText $projection.SDDocumentCategory = _SDDocumentCategoryText.SDDocumentCategory
[1..1] I_BillingDocumentType _BillingDocumentType $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType
[1..*] I_BillingDocumentTypeText _BillingDocumentTypeText $projection.BillingDocumentType = _BillingDocumentTypeText.BillingDocumentType
[1..1] I_PrjBlgElmEntrDocBillgStatus _PrjBlgElmEntrDocBillgStatus $projection.DocumentBillingStatus = _PrjBlgElmEntrDocBillgStatus.DocumentBillingStatus
[1..*] I_PrjBlgElmEntrDocBillgStsTxt _PrjBlgElmEntrDocBillgStsTxt $projection.DocumentBillingStatus = _PrjBlgElmEntrDocBillgStsTxt.DocumentBillingStatus

Annotations (13)

NameValueLevelField
EndUserText.label Entry Flow for Project Billing Element view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
Analytics.dataExtraction.enabled true view
Analytics.technicalName IPRJBLGELMETRFLW view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey ProjBillgElmntEntrItmFlowUUID view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name ProjectBillingElementEntryFlow view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY ProjBillgElmntEntrItmFlowUUID prjblgemtentrflw projbillgelmntentritmflowuuid
ProjBillgElmntEntrItmUUID prjblgemtentrflw projbillgelmntentritmuuid
BillingDocument prjblgemtentrflw billingdocument
BillingDocumentItem prjblgemtentrflw billingdocumentitem
BillingDocumentType prjblgemtentrflw billingdocumenttype
SDDocumentCategory prjblgemtentrflw sddocumentcategory
ProjectBillingRequest prjblgemtentrflw precedingdocument
BillingDocRequestItemReference prjblgemtentrflw precedingdocumentitem
BillingDate prjblgemtentrflw billingdate
DocumentBillingStatus prjblgemtentrflw documentbillingstatus
EnterpriseProjectServiceOrg prjblgemtentrflw enterpriseprojectserviceorg
ProjBillgElmntEntrSrvcExpnCode prjblgemtentrflw serviceexpensecode
TransactionCurrency prjblgemtentrflw transactioncurrency
ProjectCurrency prjblgemtentrflw projectcurrency
GlobalCurrency prjblgemtentrflw globalcurrency
DocumentCurrency prjblgemtentrflw documentcurrency
NetPriceAmountInDocCrcy prjblgemtentrflw netpriceamountindoccrcy
NetPriceQuantity prjblgemtentrflw netpricequantity
NetPriceQuantityUnit prjblgemtentrflw netpricequantityunit
QuantityUnit prjblgemtentrflw quantityunit
BillingRequestedQuantity prjblgemtentrflw billingrequestedquantity
BillgReqdAmtInTransacCrcy prjblgemtentrflw billgreqdamtintransaccrcy
BillgReqdAmtInProjectCrcy prjblgemtentrflw billgreqdamtinprojectcrcy
BillgReqdAmtInGlobalCrcy prjblgemtentrflw billgreqdamtinglobalcrcy
WrittenOffQuantity prjblgemtentrflw writtenoffquantity
WrittenOffAmtInTransacCrcy prjblgemtentrflw writtenoffamtintransaccrcy
WrittenOffAmtInProjectCrcy prjblgemtentrflw writtenoffamtinprojectcrcy
WrittenOffAmtInGlobalCrcy prjblgemtentrflw writtenoffamtinglobalcrcy
PostponedQuantity prjblgemtentrflw postponedquantity
PostponedAmountInTransacCrcy prjblgemtentrflw postponedamountintransaccrcy
PostponedAmountInProjectCrcy prjblgemtentrflw postponedamountinprojectcrcy
PostponedAmountInGlobalCrcy prjblgemtentrflw postponedamountinglobalcrcy
BillgReqdRevenueAmtInDocCrcy prjblgemtentrflw billgreqdrevenueamtindoccrcy
WrittenOffRevenueAmtInDocCrcy prjblgemtentrflw writtenoffrevenueamtindoccrcy
PrjBlgElmEntrFlwCreatedByUser prjblgemtentrflw prjblgelmentrflwcreatedbyuser
PrjBlgElmEntrFlwCrtedAtDteTme prjblgemtentrflw prjblgelmentrflwcrtedatdtetme
PrjBlgElmEntrFlwChangedByUser prjblgemtentrflw prjblgelmentrflwchangedbyuser
PrjBlgElmEntrFlwChgdAtDteTme prjblgemtentrflw prjblgelmentrflwchgdatdtetme
ProjBillingRequestItemLongText prjblgemtentrflw projbillingrequestitemlongtext
WrittenOffReversalDate prjblgemtentrflw writtenoffreversaldate
_ProjectBillingElementEntry _ProjectBillingElementEntry
_TransactionCurrency _TransactionCurrency
_ProjectCurrency _ProjectCurrency
_GlobalCurrency _GlobalCurrency
_DocumentCurrency _DocumentCurrency
_QuantityUnit _QuantityUnit
_SDDocumentCategory _SDDocumentCategory
_PrjBlgElmEntrDocBillgStatus _PrjBlgElmEntrDocBillgStatus
_BillingDocumentType _BillingDocumentType
_TransactionCurrencyText _TransactionCurrencyText
_ProjectCurrencyText _ProjectCurrencyText
_GlobalCurrencyText _GlobalCurrencyText
_DocumentCurrencyText _DocumentCurrencyText
_SDDocumentCategoryText _SDDocumentCategoryText
_BillingDocumentTypeText _BillingDocumentTypeText
_PrjBlgElmEntrDocBillgStsTxt _PrjBlgElmEntrDocBillgStsTxt
@EndUserText.label: 'Entry Flow for Project Billing Element'
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl.authorizationCheck: #CHECK
@Analytics.dataExtraction.enabled: true
@Analytics.dataExtraction.delta.changeDataCapture.mapping: [{
                                                        table: 'PRJBLGEMTENTRFLW',
                                                        role: #MAIN,
                                                        viewElement: ['ProjBillgElmntEntrItmFlowUUID'],
                                                        tableElement: ['projbillgelmntentritmflowuuid']
}]
@Analytics.technicalName: 'IPRJBLGELMETRFLW'
@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: #B
    },
    representativeKey: 'ProjBillgElmntEntrItmFlowUUID'
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.sapObjectNodeType.name: 'ProjectBillingElementEntryFlow'

define view entity I_ProjectBillingElementEntrFlw
  as select from           prjblgemtentrflw as ProjectBillingElementEntryFlow
    left outer to one join projbillgreq     as _ProjectBillingRequest on  ProjectBillingElementEntryFlow.precedingdocument = _ProjectBillingRequest.projectbillingrequest
                                                                      and ProjectBillingElementEntryFlow.precedingdocument is not initial
  //left outer to one join projbillgreqitem as _ProjectBillingRequestItem on  _ProjectBillingRequest.projectbillingrequestuuid         = _ProjectBillingRequestItem.projectbillingrequestuuid

  //                                                                      and ProjectBillingElementEntryFlow.projbillgelmntentritmuuid = _ProjectBillingRequestItem.projbillgelmntentritmuuid


  association [1..1] to I_ProjectBillingElementEntry  as _ProjectBillingElementEntry  on $projection.ProjBillgElmntEntrItmUUID = _ProjectBillingElementEntry.ProjBillgElmntEntrItmUUID

  association [1..1] to I_Currency                    as _TransactionCurrency         on $projection.TransactionCurrency = _TransactionCurrency.Currency

  association [1..*] to I_CurrencyText                as _TransactionCurrencyText     on $projection.TransactionCurrency = _TransactionCurrencyText.Currency

  association [1..1] to I_Currency                    as _ProjectCurrency             on $projection.ProjectCurrency = _ProjectCurrency.Currency

  association [1..*] to I_CurrencyText                as _ProjectCurrencyText         on $projection.ProjectCurrency = _ProjectCurrencyText.Currency

  association [1..1] to I_Currency                    as _GlobalCurrency              on $projection.GlobalCurrency = _GlobalCurrency.Currency

  association [1..*] to I_CurrencyText                as _GlobalCurrencyText          on $projection.GlobalCurrency = _GlobalCurrencyText.Currency

  association [1..1] to I_Currency                    as _DocumentCurrency            on $projection.DocumentCurrency = _DocumentCurrency.Currency

  association [1..*] to I_CurrencyText                as _DocumentCurrencyText        on $projection.DocumentCurrency = _DocumentCurrencyText.Currency

  association [0..1] to I_UnitOfMeasure               as _QuantityUnit                on $projection.QuantityUnit = _QuantityUnit.UnitOfMeasure

  association [1..1] to I_SDDocumentCategory          as _SDDocumentCategory          on $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory

  association [1..*] to I_SDDocumentCategoryText      as _SDDocumentCategoryText      on $projection.SDDocumentCategory = _SDDocumentCategoryText.SDDocumentCategory

  association [1..1] to I_BillingDocumentType         as _BillingDocumentType         on $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType

  association [1..*] to I_BillingDocumentTypeText     as _BillingDocumentTypeText     on $projection.BillingDocumentType = _BillingDocumentTypeText.BillingDocumentType

  association [1..1] to I_PrjBlgElmEntrDocBillgStatus as _PrjBlgElmEntrDocBillgStatus on $projection.DocumentBillingStatus = _PrjBlgElmEntrDocBillgStatus.DocumentBillingStatus

  association [1..*] to I_PrjBlgElmEntrDocBillgStsTxt as _PrjBlgElmEntrDocBillgStsTxt on $projection.DocumentBillingStatus = _PrjBlgElmEntrDocBillgStsTxt.DocumentBillingStatus

{
  key ProjectBillingElementEntryFlow.projbillgelmntentritmflowuuid  as ProjBillgElmntEntrItmFlowUUID,
      ProjectBillingElementEntryFlow.projbillgelmntentritmuuid      as ProjBillgElmntEntrItmUUID,
      ProjectBillingElementEntryFlow.billingdocument                as BillingDocument,
      ProjectBillingElementEntryFlow.billingdocumentitem            as BillingDocumentItem,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_BillingDocumentTypeStdVH',
                     element: 'BillingDocumentType' }
        }]
      @ObjectModel.foreignKey.association: '_BillingDocumentType'
      ProjectBillingElementEntryFlow.billingdocumenttype            as BillingDocumentType,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_SDDocumentCategory',
                     element: 'SDDocumentCategory' }
        }]
      @ObjectModel.foreignKey.association: '_SDDocumentCategory'
      ProjectBillingElementEntryFlow.sddocumentcategory             as SDDocumentCategory,
      ProjectBillingElementEntryFlow.precedingdocument              as ProjectBillingRequest,
      ProjectBillingElementEntryFlow.precedingdocumentitem          as BillingDocRequestItemReference,
      ProjectBillingElementEntryFlow.billingdate                    as BillingDate,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_PrjBlgElmEntrDocBillgStatus',
                     element: 'DocumentBillingStatus' }
        }]
      @ObjectModel.foreignKey.association: '_PrjBlgElmEntrDocBillgStatus'
      ProjectBillingElementEntryFlow.documentbillingstatus          as DocumentBillingStatus,
      ProjectBillingElementEntryFlow.enterpriseprojectserviceorg    as EnterpriseProjectServiceOrg,
      ProjectBillingElementEntryFlow.serviceexpensecode             as ProjBillgElmntEntrSrvcExpnCode,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CurrencyStdVH',
                     element: 'Currency' }
        }]
      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      //_ProjectBillingElementEntry.TransactionCurrency              as TransactionCurrency,

      ProjectBillingElementEntryFlow.transactioncurrency            as TransactionCurrency,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CurrencyStdVH',
                     element: 'Currency' }
        }]
      @ObjectModel.foreignKey.association: '_ProjectCurrency'
      //_ProjectBillingElementEntry.ProjectCurrency                  as ProjectCurrency,

      ProjectBillingElementEntryFlow.projectcurrency                as ProjectCurrency,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CurrencyStdVH',
                     element: 'Currency' }
        }]
      @ObjectModel.foreignKey.association: '_GlobalCurrency'
      //_ProjectBillingElementEntry.GlobalCurrency                   as GlobalCurrency,

      ProjectBillingElementEntryFlow.globalcurrency                 as GlobalCurrency,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CurrencyStdVH',
                     element: 'Currency' }
        }]
      @ObjectModel.foreignKey.association: '_DocumentCurrency'
      //_ProjectBillingElementEntry.DocumentCurrency                 as DocumentCurrency,

      ProjectBillingElementEntryFlow.documentcurrency               as DocumentCurrency,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      ProjectBillingElementEntryFlow.netpriceamountindoccrcy        as NetPriceAmountInDocCrcy,
      @Semantics.quantity.unitOfMeasure: 'NetPriceQuantityUnit'
      ProjectBillingElementEntryFlow.netpricequantity               as NetPriceQuantity,
      ProjectBillingElementEntryFlow.netpricequantityunit           as NetPriceQuantityUnit,
      @Consumption.valueHelpDefinition: [
         { entity:  { name:    'I_UnitOfMeasureStdVH',
                      element: 'UnitOfMeasure' }
         }]
      @ObjectModel.foreignKey.association: '_QuantityUnit'
      //_ProjectBillingElementEntry.QuantityUnit                     as QuantityUnit,

      ProjectBillingElementEntryFlow.quantityunit                   as QuantityUnit,
      @Semantics.quantity.unitOfMeasure: 'QuantityUnit'
      ProjectBillingElementEntryFlow.billingrequestedquantity       as BillingRequestedQuantity,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      ProjectBillingElementEntryFlow.billgreqdamtintransaccrcy      as BillgReqdAmtInTransacCrcy,
      @Semantics.amount.currencyCode: 'ProjectCurrency'
      ProjectBillingElementEntryFlow.billgreqdamtinprojectcrcy      as BillgReqdAmtInProjectCrcy,
      @Semantics.amount.currencyCode: 'GlobalCurrency'
      ProjectBillingElementEntryFlow.billgreqdamtinglobalcrcy       as BillgReqdAmtInGlobalCrcy,
      @Semantics.quantity.unitOfMeasure: 'QuantityUnit'
      ProjectBillingElementEntryFlow.writtenoffquantity             as WrittenOffQuantity,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      ProjectBillingElementEntryFlow.writtenoffamtintransaccrcy     as WrittenOffAmtInTransacCrcy,
      @Semantics.amount.currencyCode: 'ProjectCurrency'
      ProjectBillingElementEntryFlow.writtenoffamtinprojectcrcy     as WrittenOffAmtInProjectCrcy,
      @Semantics.amount.currencyCode: 'GlobalCurrency'
      ProjectBillingElementEntryFlow.writtenoffamtinglobalcrcy      as WrittenOffAmtInGlobalCrcy,
      @Semantics.quantity.unitOfMeasure: 'QuantityUnit'
      ProjectBillingElementEntryFlow.postponedquantity              as PostponedQuantity,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      ProjectBillingElementEntryFlow.postponedamountintransaccrcy   as PostponedAmountInTransacCrcy,
      @Semantics.amount.currencyCode: 'ProjectCurrency'
      ProjectBillingElementEntryFlow.postponedamountinprojectcrcy   as PostponedAmountInProjectCrcy,
      @Semantics.amount.currencyCode: 'GlobalCurrency'
      ProjectBillingElementEntryFlow.postponedamountinglobalcrcy    as PostponedAmountInGlobalCrcy,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      ProjectBillingElementEntryFlow.billgreqdrevenueamtindoccrcy   as BillgReqdRevenueAmtInDocCrcy,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      ProjectBillingElementEntryFlow.writtenoffrevenueamtindoccrcy  as WrittenOffRevenueAmtInDocCrcy,

      @Semantics.user.createdBy: true
      ProjectBillingElementEntryFlow.prjblgelmentrflwcreatedbyuser  as PrjBlgElmEntrFlwCreatedByUser,
      @Semantics.systemDateTime.createdAt: true
      ProjectBillingElementEntryFlow.prjblgelmentrflwcrtedatdtetme  as PrjBlgElmEntrFlwCrtedAtDteTme,
      @Semantics.user.lastChangedBy: true
      ProjectBillingElementEntryFlow.prjblgelmentrflwchangedbyuser  as PrjBlgElmEntrFlwChangedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      ProjectBillingElementEntryFlow.prjblgelmentrflwchgdatdtetme   as PrjBlgElmEntrFlwChgdAtDteTme,
      //_ProjectBillingRequestItem.projbillingrequestitemlongtext    as ProjBillingRequestItemLongText,

      ProjectBillingElementEntryFlow.projbillingrequestitemlongtext as ProjBillingRequestItemLongText,
      ProjectBillingElementEntryFlow.writtenoffreversaldate         as WrittenOffReversalDate,

      //Associations

      _ProjectBillingElementEntry,
      _TransactionCurrency,
      _ProjectCurrency,
      _GlobalCurrency,
      _DocumentCurrency,
      _QuantityUnit,
      _SDDocumentCategory,
      _PrjBlgElmEntrDocBillgStatus,
      _BillingDocumentType,
      @Consumption.hidden: true
      _TransactionCurrencyText,
      @Consumption.hidden: true
      _ProjectCurrencyText,
      @Consumption.hidden: true
      _GlobalCurrencyText,
      @Consumption.hidden: true
      _DocumentCurrencyText,
      @Consumption.hidden: true
      _SDDocumentCategoryText,
      @Consumption.hidden: true
      _BillingDocumentTypeText,
      @Consumption.hidden: true
      _PrjBlgElmEntrDocBillgStsTxt

}