P_BillOfOperationRecentHeader

DDL: P_BILLOFOPERATIONRECENTHEADER Type: view_entity COMPOSITE Package: ODATA_PP_WORKCENTER_API

Bill of Operation Recent Header

P_BillOfOperationRecentHeader is a Composite CDS View that provides data about "Bill of Operation Recent Header" in SAP S/4HANA. It reads from 1 data source (I_BillOfOperationsChangeState) and exposes 4 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant. Part of development package ODATA_PP_WORKCENTER_API.

Data Sources (1)

SourceAliasJoin Type
I_BillOfOperationsChangeState I_BillOfOperationsChangeState from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Bill of Operation Recent Header view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType BillOfOperationsType
KEY BillOfOperationsGroup BillOfOperationsGroup
KEY BillOfOperationsVariant BillOfOperationsVariant
ValidityStartDate
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Bill of Operation Recent Header'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #B,
  sizeCategory: #L,
  dataClass: #MASTER
}
@VDM.viewType:#COMPOSITE
@VDM.private:true
define view entity P_BillOfOperationRecentHeader
  as select from I_BillOfOperationsChangeState
{
  key BillOfOperationsType,
  key BillOfOperationsGroup,
  key BillOfOperationsVariant,
      min( ValidityStartDate ) as ValidityStartDate

}
where
       ValidityEndDate      >= $session.system_date
  and(
       BillOfOperationsType = '2'
    or BillOfOperationsType = 'N'
  )
group by
  BillOfOperationsType,
  BillOfOperationsGroup,
  BillOfOperationsVariant;